Re: unit test advicewith sql-stored

2018-05-21 Thread Mary Cochran
Found the issue. My route being tested is pretty large, so there are multiple route builders and routeids along the way. I needed to use a different routeId for the advice with. Thanks, Mary Mary Cochran Red Hat Consulting mcoch...@redhat.com (419) 543-0531 On Fri, May 18, 2018 at 2:18 AM, Cl

DynamicRouter annotation with Consume annotation -- still need a route to consume messages?

2018-05-21 Thread Steve973
Hello, everyone. I am using camel 2.19.2. If I have a class like this: public class MyDynamicRouter { @DynamicRouter @Consume(uri = "direct-vm:start") public String route() { ... routing logic goes here ... } } Do I still need to add a route that consumes from "direct-vm

Dynamic router behavior question - why route automatically back to the router?

2018-05-21 Thread Steve973
Why does dynamic router continually and automatically re-route the same message unless "null" is returned from the dynamic routing method? The EIP certainly does not specify this as the behavior for a dynamic router. The only connection from the potential recipients back into the router is by the