camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jean-Pierre Bergamin <>
Subject Intercept send to beanRef endpoint
Date Thu, 05 May 2011 07:19:23 GMT
Hello camel users

We are trying to intercept calls from being sent to a bean endpoint in a 
route that is declared as:
   from("...").beanRef("myBean", "myMethod")

The interception is declared as 
interceptSendToEndpoint("bean:myBean?method=myMethod"), but calls to 
myBean are not intercepted. When changing the route to
the interception works.

Is there a way to use interceptSendToEndpoint together with beanRef() 
instead of "bean:myBean..."?

Best regards,
Jean-Pierre Bergamin

View raw message