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 @ sample ("exchange id") string id, @ simple ("route") String Marg Id, Object Body) {Simple Announcement Bean Parameter Binding

  public void foo (@imple).}  

some links < / P>


Comments

Popular posts from this blog

apache - 504 Gateway Time-out The server didn't respond in time. How to fix it? -

c# - .net WebSocket: CloseOutputAsync vs CloseAsync -

c++ - How to properly scale qgroupbox title with stylesheet for high resolution display? -