Quantcast
Channel: Apache Timeline
Viewing all articles
Browse latest Browse all 5648

BreadcrumbId is null after using transacted

$
0
0
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);

Viewing all articles
Browse latest Browse all 5648

Latest Images

Trending Articles



Latest Images