How to configure spring JMS listener to receive messages asynchronously?

Solution Verified - Updated -

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 to configure 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 to send 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.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content