Hello Claus, Sorry missed a tiny detail we are using Aries Blueprint instead of Spring...Please let me know if it would still work
Regards, -Yogesh On Sun, Jun 14, 2015 at 9:13 PM, Claus Ibsen-2 [via Camel] < [email protected]> wrote: > Hi > > You can do onException and handled = false, then the TX will still > rollback but you can do certain tasks when the exception happens. > > Its the spring tx manager that is used, so you can use that with osgi. > > On Fri, Jun 12, 2015 at 7:07 AM, yogu13 <[hidden email] > <http:///user/SendEmail.jtp?type=node&node=5768210&i=0>> wrote: > > > Hi, > > > > I went through earlier posts on this and it looks like the > > TransactionErrorHandler is not supported as it uses Spring Tx in Osgi > > Blueprint (not sure if this holds true for the latest version). It is > also > > assumed that in a transacted route onException wouldn't be used as any > > exceptions are raised then the transactions has to be rolledback. If > this > > is true, how can i handle certainly tasks which needs to be done if a > > particular type of exception is thrown and rollback the transactions as > > well? > > > > Regards, > > -Yogesh > > > > > > > > -- > > View this message in context: > http://camel.465427.n5.nabble.com/using-TransactionErrorHandler-with-Camel-and-Karaf-tp5768124.html > > Sent from the Camel - Users mailing list archive at Nabble.com. > > > > -- > Claus Ibsen > ----------------- > Red Hat, Inc. > Email: [hidden email] > <http:///user/SendEmail.jtp?type=node&node=5768210&i=1> > Twitter: davsclaus > Blog: http://davsclaus.com > Author of Camel in Action: http://www.manning.com/ibsen > hawtio: http://hawt.io/ > fabric8: http://fabric8.io/ > > > ------------------------------ > If you reply to this email, your message will be added to the discussion > below: > > http://camel.465427.n5.nabble.com/using-TransactionErrorHandler-with-Camel-and-Karaf-tp5768124p5768210.html > To unsubscribe from using TransactionErrorHandler with Camel and Karaf, click > here > <http://camel.465427.n5.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=5768124&code=eW9ndTEzQGdtYWlsLmNvbXw1NzY4MTI0fC04ODQzODQxMjM=> > . > NAML > <http://camel.465427.n5.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml> > -- View this message in context: http://camel.465427.n5.nabble.com/using-TransactionErrorHandler-with-Camel-and-Karaf-tp5768124p5768212.html Sent from the Camel - Users mailing list archive at Nabble.com.
