August 15, 2023

Scenario 2: Setting up a JMS local transaction – Docs for ESB 6.x

Scenario 2: Setting up a JMS local transaction

This scenario applies only to a Talend solution with ESB.

In this scenario, a local transaction with three steps is performed to send, test and
consume a JMS message:

  1. The first Route is used to send a “hello
    message to feed the queue.hello JMS queue.

  2. The second Route is used to test the received JMS message. This message is
    redelivered six times to the queue.hello
    queue and is then moved to the Dead Letter
    JMS queue. The Route is programmed to throw an exception every time an exchange
    is processed by the Route.

  3. The last Route is used to consume the “hello
    message from the Dead
    JMS queue.

In this use case, we use the local ActiveMQ server to handle messages between
different Routes. The ActiveMQ server need to be started before executing the Routes.
For more information on installing and launching ActiveMQ server, see the Apache Web

Document get from Talend
Thank you for watching.
Notify of
Inline Feedbacks
View all comments
Would love your thoughts, please comment.x