Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


How to rollback transaction in apache camel dsl?



How to rollback transaction in apache camel dsl?..

Answer / Shanuvendra Kumar Prasad

To rollback a transaction in Apache Camel DSL, you can use the exception strategy and set the `onException` clause to handle exceptions and perform rollback actions using a `transactionTemplate`. For example: `onException(Exception.class) .useOriginalTransaction() .transacted().rollback();`

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Apache Camel Interview Questions

What is apache camel used for?

1 Answers  


How is a camel exchange created?

1 Answers  


Enlist few good uses for apache camel?

1 Answers  


Have you used apache camel with spring boot?

1 Answers  


What is redelivery policy in apache camel?

1 Answers  


What jars do I need?

1 Answers  


How camel handles multiple parameter binding in bean method?

1 Answers  


Can we call camel an esb (enterprise service bus)?

1 Answers  


What is Stream component in camel?

1 Answers  


How to start the execution of routes apache camel?

1 Answers  


What is Out message in camel?

1 Answers  


What is difference between routing slip and dynamic router?

1 Answers  


Categories