Yeah, this is a needed feature.
I wanted to do that to be able to see the flow of exchanges
correlated to a given request coming from a binding component
(an http request for example). See [1] for a related thread.

The idea I had in mind was that every binding component would create
this correlation id when an incoming request comes in.  All components
acting as a provider and a consumer should forward this correlation id
on the exchange they create.  I guess this is what you did.

Please rais a JIRA and attach your patch.

[1] http://www.nabble.com/Flow-tracing-problem-tf2197129s12049.html#a6081587



On 11/20/06, Gianfranco Boccalon <[EMAIL PROTECTED]> wrote:
Hi all,
in some service assembly I need to trace to which "process instance" the
message exchanges belongs to.
To do this, I need to add a "process correlation id" to the message
exchanges and to modify the components that I use, to propagate this
correlation id in all Message Exchanges sent.

Actually I need only the following components:
- HTTP binding component: here I added the code to generate the
correlation Id and set it in the Message Exchange
- Splitter
- Router (the lightweight component)

I changed these components to made them aware of the correlation Id. In
future may be that I need other components that I'll change in a similar
way.
How can I contribute with the modified code ?
Is there a plan to support this requirements in future releases of
ServiceMix ?

Thanks
Gianfranco Boccalon



--
Cheers,
Guillaume Nodet

Reply via email to