This week's book giveaway is in the Object Relational Mapping forum.
We're giving away four copies of Pro JPA 2: Mastering the Java Persistence API and have Mike Keith and Merrick Schincariol on-line!
See this thread for details.
[Logo] JavaRanch » JavaRanch Saloon
  Search | FAQ | Recent Topics | Hot Topics
Register / Login


Reply Bookmark it! Watch this topic JavaRanch » Forums » Products » JBoss
 
RSS feed
 
New topic
Author

JBoss with ActiveMQ

Jothi Shankar Kumar
Ranch Hand

Joined: Sep 26, 2006
Messages: 7039

Guys,

I need some ideas on integrating JBoss with ActiveMQ. Any suggestion? Is the integration straight forward? I have a requirement wherein I have to send emails asynchronously and after some research, I decided to use ActiveMQ for my purpose. Now I have a JBoss instance already running with an EJB application deployed and this application has a MDB which will get triggered when an email needs to be sent. This MDB will actually fetch any additional information from the database and form the appropriate message, connect to the MQ server to a Queue and dispatch the message. The second part is, I also have to set up an email server which will listen to this Queue and pick up any messages that arrive at this destination and send the emails accordingly. There are two essential things that I would like to know. One is how to integrate the ActiveMQ with JBoss and the second is on how to integrate ActiveMQ with a third party email server. I would also like to have some recommendations on which email server to use? Suggestions please!

SCJP 1.4, SCWCD 1.4 - Hints for you, SCBCD Hints - Demnachst, SCDJWS - Auch Demnachst
Did a rm -R / to find out that I lost my entire Linux installation!
Peter Johnson
author
Bartender

Joined: May 14, 2008
Messages: 2334

Regarding JBoss AS + ActiveMQ integration, Google came up with a lot of hits, including the following:
http://community.jboss.org/wiki/IntegratingActiveMQWithJBoss
http://activemq.apache.org/integrating-apache-activemq-with-jboss.html

JBoss In Action
Jothi Shankar Kumar
Ranch Hand

Joined: Sep 26, 2006
Messages: 7039

Thanks!

SCJP 1.4, SCWCD 1.4 - Hints for you, SCBCD Hints - Demnachst, SCDJWS - Auch Demnachst
Did a rm -R / to find out that I lost my entire Linux installation!
 
 
 
Reply Bookmark it! Watch this topic JavaRanch » Forums » Products » JBoss
 
RSS feed
 
New topic
IntelliJ open source

.