Hi,
I noticed the breadcrumbId is null after i use transacted. Is this by
design?
See example route below.
from("step4"))
.routeId("route-step4")
.onCompletion().onCompleteOnly().bean(loggingProcessor,
LoggingProcessor.AUDIT)
.end()
.onException(IllegalArgumentException.class)
.bean(loggingProcessor, LoggingProcessor.GENERAL_FAILURE)
.to("errorStep")
.end()
// HERE exchange.in.header.breadcrumbId == filled. OK
.transacted("requiredJta")
.to(toEndpoint)
// HERE exchange.in.header.breadcrumbId == null
.process(updateQueryBuilder)
.to(dataSource)
.bean(checkDatabaseUpdate);
I noticed the breadcrumbId is null after i use transacted. Is this by
design?
See example route below.
from("step4"))
.routeId("route-step4")
.onCompletion().onCompleteOnly().bean(loggingProcessor,
LoggingProcessor.AUDIT)
.end()
.onException(IllegalArgumentException.class)
.bean(loggingProcessor, LoggingProcessor.GENERAL_FAILURE)
.to("errorStep")
.end()
// HERE exchange.in.header.breadcrumbId == filled. OK
.transacted("requiredJta")
.to(toEndpoint)
// HERE exchange.in.header.breadcrumbId == null
.process(updateQueryBuilder)
.to(dataSource)
.bean(checkDatabaseUpdate);