Spring and container features for JMS on the Tomcat 5
Spring users and authors,
I would like to describe the JMS related problem to you all, and then ask you for a suggestion if and how can Spring help us with the solution.
Description of the problem:
We plan to use JMS (1.0.1) compliant MQ product between two applications running Tomcat 5 as a web app. container. Both applications are clustered with at least 2 boxes.
We would like to have publish-subscribe, asynchronous transaction going
between two apps. App A issues a messages requesting some info from the application B. App B is subscribed and it asynchronously picks up messages, processes them and responds to the reply queue (topic.) App B is subscribed to the reply queue (topic), and handles the responses.
Pretty straightforward, typical asynch. queue based integration.
I could do this easily in JBoss utilizing the Message beans. Clustering, tx demarcation and pooling would be handled by the EJB container, and JMS.
My question is:
Can I get the similar JMS related services on the Tomcat, but instead of utilizing the JBoss' EJB cluster enabled container services use Spring's container services. If yes - please tell me what, and if possible give me some direction on how?
Thanks advance,
Edmon Begoli
P.S.
Tomcat 5 is the key word in this architecture, because Tomcat 5 fits our bill 100% in every other aspect of our application, and we would really like to continue using it even for this solution if anyhow possible.