How to implement transactional JMS consumer in fuse

Solution Verified - Updated -

Issue

I have a camel route that consumes messages from ActiveMQ broker as below.

            <from uri="activemq:queue:some-queue.in" />
            <log message="Received msg Body : ${body}" />
            <process ref="testProcessor" />

I want to make this to support transactions so that if any problem occur during processing of the route, the message will be reverted back to the queue.

Environment

  • Red Hat JBoss Fuse
    • 6.2.1
    • 6.3.0

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