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 of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.