camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Claus Ibsen <>
Subject Re: Using transacted() in routes and disposing Body
Date Thu, 01 Apr 2010 12:10:23 GMT
Do you need to call dispose at the end of the route?

You could just add a .process step and invoke it from java code?

Or maybe use onCompletion to abstract that into its own route?

On Thu, Apr 1, 2010 at 1:52 PM, Norman Maurer <> wrote:
> Hi all,
> I'm using transacted() on many routes which works very well so far.
> But to be sure all resources are recycled I need to call a dispose()
> method on my object which is hold in the Body of the Message of the
> Exchange. How would I configure camel to call the method on the Body
> and then just continue to use thr TransactionErrorHandler ?
> Is it possible ?
> Thx,
> Norman

Claus Ibsen
Apache Camel Committer

Author of Camel in Action:
Open Source Integration:

View raw message