Hi Claus,
The route was a bit simplified too much ;-)
from("step4") should be: from("direct:step4")
Basically we're trying to put a message on the queue (toEndPoint ==
amq:queue:jadajada)
,update a record in the database and check if the database record was indeed
updated
- all in a transaction!
We are using Fuse 6.1, so that is Camel 2.12.0 i think.
BTW: i can work around this by saving the breadcrumbId before the transacted
and restore the breadcrumbId after it, but it feels odd.
Example:
// before / backup:
String breadcrumbId = exchange.getIn().getHeader("breadcrumbId",
String.class);
exchange.setProperty("breadcrumbIdBackup", breadcrumbId);
// after / restore it:
String breadcrumbIdBackup =
exchange.getProperty("breadcrumbIdBackup", String.class);
exchange.getIn().setHeader("breadcrumbId", breadcrumbIdBackup);
Regards
Rino
--
View this message in context:
http://camel.465427.n5.nabble.com/BreadcrumbId-is-null-after-using-transacted-tp5755210p5755701.html
Sent from the Camel - Users mailing list archive at Nabble.com.