No the sample does not stop routing it only just pick X out of Y and route that in the sample
After the wire tap is done it will continue in the original route. However if you dont want this synchronous to happen you can configure wire tap how you want it to do if the queue is full, such as reject, wait etc. On Wed, Nov 9, 2016 at 6:19 PM, James Green <[email protected]> wrote: > The thought occurred to me that I could use a wiretap on a route to send an > exchange both to the original destination and to a route that logs what is > happening. > > The "logger" route would start with a sampler to reduce the logging output. > > However, if the wiretap thread pool is full, wiretap would call the > "logger" route synchronously, according to "Wiretap Thread Pool" here: > http://camel.apache.org/wire-tap.html > > Doesn't that infer that with a sampler, some exchanges might not eventually > reach their original destination? Or do I have my mental image of things > incorrect? > > Thanks, > > James -- Claus Ibsen ----------------- http://davsclaus.com @davsclaus Camel in Action 2: https://www.manning.com/ibsen2
