RE: How to use InterceptSendToEndpoint from Java DSL
Is there no way to do it without attaching it to specific routes the way we did it in the blueprint DSL?
We want to have the interceptor fire whenever someone sends a message to one of the queues regardless of which route they use. Attaching it to a specific route does not accomplish that.
Perhaps camelContext.addEndpoint() with some InterceptSendToEndpoint construction?