JMS Connector Examples - Mule 4

To fully benefit from using Anypoint Connector for JMS (JMS Connector), see the following examples of configuring the connector operations:

  • Configure an ActiveMQ Connection
    Configure JMS Connector to connect to ActiveMQ.

  • Manage Message Acknowledgements
    Configure JMS Connector to manage different acknowledgment configurations, such as automatic acknowledgment on success, immediate acknowledgment, and manual acknowledgment.

  • Listen for New Messages
    Configure the On New Message source to listen for new messages as they arrive to the destination.

  • Publish New Messages
    Configure the Publish operation to create a new message and send it to the specified destination.

  • Consume Messages
    Configure the Consume operation to consume a message at any given time in the flow, from any given destination.

  • Publish Messages and Listen for Replies
    Configure the Publish consume operation to publish a message to any destination, and then wait for a reply on a different destination.

  • Publish and Consume Messages Within Flows
    Configure the Publish consume operation to publish and consume messages within two flows, and use a correlation ID to ensure that the incoming messages are replies to a specific outgoing message.

  • Manage Transactions
    Configure JMS Connector to execute a series of operations that are performed only when the transaction is committed.

  • Configure Topic Subscription
    Configure topics subscriptions in JMS Connector to control how subscriptions behave regarding consumers connections and also how these consumers interact with each other.

Was this article helpful? Thanks for your feedback!
View on GitHub