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 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.