OSDir


[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
>
>