java - How to pass exchange ID and originating route ID to a bean? -
exchange
getExchangeId ()
Gives the exchange. Is there any way of passing this value for the method of bean by any method of bean?
The same question is about the ID of a route that was generated from an exchange. This value is given by the getFromRouteId ()
method exchange
interface.
I know that I can pass the Exchange
object completely but it is undesirable to force beans from the camel API in my case.
you some links < / P> @ sample ("exchange id") string id, @ simple ("route") String Marg Id, Object Body) {Simple Announcement Bean Parameter Binding
public void foo (@imple).}
Comments
Post a Comment