in the documentation 

/The id of the transaction for transacted exchanges. Note the id is not
unique, but its the id of the transaction template that marks the
transaction boundary for the given transaction. Hence we decided to name the
key transactionKey and not transactionID to point out this fact./

Does this mean that

       getContext().setUseMDCLogging(true);

        from("direct:mainroute")
                .transacted()
                .routeId("ROUTEID_MAINROUTE")
                .log(LoggingLevel.INFO, "main route")
                .split(...).streaming()
                   .to("seda:subroute")
                .end;

        from("seda:subroute")
                .transacted("PROPAGATION_REQUIRES_NEW")
                .routeId("ROUTEID_SUBROUTE")
                .log(LoggingLevel.INFO, "subroute route")
                ....;

that the transaction key (example when logging) in "subroute route" is
always the same or different for each time it is called.

When are they same?

Regards
Erik Romson




--
View this message in context: 
http://camel.465427.n5.nabble.com/what-does-camel-transactionKey-actually-mean-tp5795067.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to