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

HTML/CSS - Automatically set height width from background image? -

php - Mysql Show Process - Sleep Commands and what to do -

c - What is the address of buf (the local variable in the main function)? -