How to configure transactions for a Switchyard service with jca-bindings in FSW 6.0?

Solution Unverified - Updated -


We have a routing-service (camel-component) that routes messages from queue A to queue B and C.

Service with JCA-Binding (for Queue A) [transacted set to true ]
     Camel Component the routes messages to 
        |                              |
        V                              V
Reference with JCA-Binding      Reference with JCA-Binding
   (for Queue A)                   (for Queue B)

We have not set any values for Transaction Policy on the Camel Component .

Now we have run some test to check transaction handling. When the Camel Component has routed messages to the references we throws a Runtime exception, this causes some retries and then the message in queue A is sent to DLQ. This is the expected behavior.

Now to the question - is this config enough to guarantee that no messages will not be lost? Do we need to specify a TransactionPolicy in the reference beans?


  • Red Hat JBoss Fuse Service Works
    • 6.0.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