camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christopher Gardner <>
Subject Conditional Wiretapping
Date Wed, 28 Aug 2013 19:26:28 GMT
Is there a spring and/or Java DSL way to conditionally wiretap? Example
would be if a header has one value, I'd like to wiretap to "direct:a", if
it has another value to "direct:b".  The only thing I can think of now is
to wiretap to "direct:determineWhereToWiretap", which includes a processor
on the route to actually check such a header value and route accordingly.

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message