Hi,

recently I have experienced a nondeterministic problem while using wireTap
in my route (Camel 2.13.0).

I assume that wireTap should be transparent to main Route proccessing (
http://www.enterpriseintegrationpatterns.com/WireTap.html).

from("direct:route1").routeId("route1")
            .setExchangePattern(ExchangePattern.InOut).streamCaching()
            .marshal().json(JsonLibrary.Jackson)

.wireTap("direct:logIt").to("direct:httpsCall").wireTap("direct:logItAfter")....

Wiretap Route:

 
from("direct:logIt").setExchangePattern(ExchangePattern.InOnly).streamCaching().convertBodyTo(String.class).to("file:serverCall/request?autoCreate=true");


The problem appears as I try to call the route several times with the same
data - sometimes after wireTap the *body is null *causing errors on called
server.

It's a bug in Camel or I'm doing something wrong?

Thanks in advance for Your support,

Best regards,
Stanislaw Kus

Reply via email to