Have a look here:
https://github.com/muellerc/camel-in-transaction/blob/master/src/test/java/org/apache/cmueller/camel/samples/camelone/tx/JmsAndJdbcCompensationTransactionSampleTest.java

Hope this helps,

Christian
-----------------

Software Integration Specialist

Apache Member
V.P. Apache Camel | Apache Camel PMC Member | Apache Camel committer
Apache Incubator PMC Member

https://www.linkedin.com/pub/christian-mueller/11/551/642

On Thu, Aug 20, 2015 at 3:52 PM, kishoreJ <kishore00...@gmail.com> wrote:

> Hi claus
>
> But in that transactional client it is not specifying anything about what i
> need .
>
>
> I have to update a database if the message is sent successfully to a queue
> ,
> if one fails then i have to roll back both the transactions.
> Here i am dealing with a database transaction and a camel transaction.
>
> If any of one fails i have to roll back both the transactions there is
> nothing mentioned about rolling back both database transaction and camel
> transaction at a time in that article.
>
>
>
>
>
>
> --
> View this message in context:
> http://camel.465427.n5.nabble.com/Apache-Camel-XA-transaction-tp5770836p5770855.html
> Sent from the Camel - Users mailing list archive at Nabble.com.
>

Reply via email to