We tried your solution and worked fine. Thank you very much
Gert Vanthienen <gert.vanthienen skynet.be>
Gert Vanthienen
Asunto:
Re: I lose my property when using EIP content-based router
Eduardo,
Currently, only properties that are set on the
NormalizedMessage are
being forwarded in the content-based router. The properties
on the
MessageExchange are mainly used by the NMR itself so I'm not
convinced
it's a good idea to copy them (synchronous/asynchronous,
correlation, ...)
Is it an option to set your property on the
NormalizedMessage instead of
the MessageExchange?
Gert
eduardo.ortiz telvent.abengoa.com wrote:
> Hi, I'm developing under ServiceMix 3.1.1-incubating
and I experience
this
> problem:
>
> We set a property to the MessageExchange to be
recovered later, but when
> the MessageExchange goes through content-based router,
the
MessageExchange
> is copied into another MessageExchange without copying
it's properties,
so
> we lose ours. We tried to debug into the code, but we
aren't sure wether
> this is a correct behaviour or not, or if there's any
chance we could
get
> our property to get through.
>
> Any help would be greatly appreciated. Thanks !
|