How to configure spring JMS listener to receive messages asynchronously?
Issue
- Configured the
JMS
connection 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 asynchronously
and 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 message
and 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, tools, and much more.