How to configure spring JMS listener to receive messages asynchronously?
Issue
- Configured the
JMSconnection factory and the destination as per the documentation Also tested sending/ receiving the message to/from the queue synchronously. Would like toconfigure a listener using Spring to receive messages asynchronouslyand would like to deploy it as a jar.
Is this possible? Don't use ESBs here. Also please provide some samples? Instead of a text message, have tosend a domain object in the messageand retrieve the same from the queue, what should to do?
Environment
- Red Hat JBoss Enterprise Application Platform (EAP)
- 6.3
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
