In Camel 4 (4.5.0) I like to get events for each step (like StepStarted and StepCompleted). I expected that wherever I use a step that these events are triggered. Currently when I use this:
<routes> <route id="1"> <from uri="timer://foo?fixedRate=true&period=10000&repeatCount=1"/> <step id="1"> <to uri="mock:x"/> <to uri="direct:ID_2"/> </step> </route> <route id="2"> <from uri="direct:ID_2"/> <step id="2"> <to uri="mock:x"/> <to uri="direct:ID_3"/> </step> </route> <route id="3"> <from uri="direct:ID_3"/> <step id="3"> <to uri="mock:x"/> <to uri="log:myLog"/> </step> </route> </routes> This works and I get an event for every step. However when I use the following (Same routes without the mock steps): <routes> <route id="1"> <from uri="timer://foo?fixedRate=true&period=10000&repeatCount=1"/> <step id="1"> <to uri="direct:ID_2"/> </step> </route> <route id="2"> <from uri="direct:ID_2"/> <step id="2"> <to uri="direct:ID_3"/> </step> </route> <route id="3"> <from uri="direct:ID_3"/> <step id="3"> <to uri="log:myLog"/> </step> </route> </routes> I don't get any events. Is this by design, or should I also get the events with seconds routes? Regards, Raymond