How to configure transactions for a Switchyard service with jca-bindings in FSW 6.0?
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 ] | V 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
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.