camel-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nicky Sandhu <>
Subject Callback on Exchange for closing out streams, result set cursors
Date Mon, 01 Oct 2007 16:51:01 GMT

Hi folks,
 I see a number of commits based on async callback discussion
I am wondering if it applies to this usecase as well.
 For stream oriented or cursor oriented message bodies it is necessary to
have a callback so that cleanup such as closing out the
stream/resource/cursor can be done...else there would be leaks.
 So if a process does something like
 process(new Processor(){...
    ResourceStream stream;
    process(Exchange ex){ 
      setBody(stream = new ResourceStream());

  Any chance this kinda support is going to be able to make it to 1.2
release ?
View this message in context:
Sent from the Camel - Development mailing list archive at

View raw message