git.net

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How can I include common behavior in several routes?


Thanks, everyone.  I did get an answer on SO, and it was also what Quinn
Stevenson suggested.  I am creating a custom RoutePolicy class that extends
from RoutePolicySupport.  In onExchangeBegin and onExchangeDone, I am
creating a new exchange and sending it to the status endpoints via a fluent
producer template.  If this sounds bad to anyone, please let me know.

On Thu, May 10, 2018 at 3:14 PM, Jan Bednář <mail@xxxxxxxxxxxx> wrote:

> Steve already got answer on SO. https://stackoverflow.com/ques
> tions/50275601/how-can-i-include-common-behavior-in-several-
> apache-camel-routes
>
>


( ! ) Warning: include(msgfooter.php): failed to open stream: No such file or directory in /var/www/git/apache-camel-users/msg03297.html on line 81
Call Stack
#TimeMemoryFunctionLocation
10.0015363064{main}( ).../msg03297.html:0

( ! ) Warning: include(): Failed opening 'msgfooter.php' for inclusion (include_path='.:/var/www/git') in /var/www/git/apache-camel-users/msg03297.html on line 81
Call Stack
#TimeMemoryFunctionLocation
10.0015363064{main}( ).../msg03297.html:0