Hello,

I'd like to use the camel tracer functionality - in our application -  to 
produce logging data, which I'd like to take as input data for a process mining 
tool.
For this it's basically necessary to produce per event an entry in the protocol 
structure (works as shown in the trace example). Per Case, each event should 
get the same(!!!) CaseID and some event dependent information.

My first thought was to use the provided Exchange-ID as my valid case-id. But 
as my tests has shown, the exchange id is not stable in one single case (e.g. 
using a splitter and aggregator). Now I'm wondering if camel is able to provide 
me a valid case-id for the events of an case?

Could anyone gives me a hint?

Actually I've implemented a appropriate  TraceEventHandler and 
TraceEventMessage. As temporary solution I've implemented a routine which puts 
a case-id in the header of the message if no correlation-id is known or use the 
case-id if there is a correlation-id. My tests has shown that the first message 
has no correlation-id (incrementing a class variable), all following has one. 
I'm not sure if this rule for every possible situation holds.


Thank you in advance.
Thomas

Reply via email to