camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Willem Jiang <>
Subject Re: a MinaExchange suddenly becomes a DefaultExchange?
Date Wed, 24 Dec 2008 03:03:10 GMT

I don't think remove the IoSession from exchange of Mina will save the
copy of messages. The copied exchange just hold the reference of the
For the user , they may use more than one processors to handle the
MinaExchange to make up a response message. I'd like to revert the
custom exchange changes in Camel 2.0.

Any thought?

Trevv wrote:
> James.Strachan wrote:
>> In trunk we've removed alot of the custom Exchange implementations (as it
>> was resulting in an extra copy of messages). So no I don't think its bug.
> I forgot to mention that I'm using version 1.5, not the 2.0 trunk.
> In 1.5, this does appear to be a bug.
> In this 3rd-party manual:
> I found this advice:
> The newInstance() method is overridden, to ensure that the
> DefaultExchange.copy() method works properly.
> I followed that advice, and it solved my problem.
> Patch available here:

View raw message