Hi

Can you double check the logs as Camel should report invalid options.

On Fri, Jan 9, 2015 at 3:14 PM, Chris Melikian <ch...@melikian.net> wrote:
> Hi,
>
> I'm running 2.14.0 and I had a route which I'd changed from the seda to
> direct endpoint. I left a "?concurrentConsumers=2" on the URI using the Java
> DSL.
>
> When I started camel the application would start but would shut down again
> immediately. It took me a while to realise that there was a parameter on the
> URI which was not valid for the direct component.
>
> Camel didn't report an error in the logs at all but just failed silently.
> Would be good to throw an exception or add some sort of message to highlight
> the issue.
>
> To recreate, use:-
>
>  @Override
>  public void configure() throws Exception {
>     from("direct:willFail?concurrentConsumers=2")
>       .to("mock:wontReachHere");
>  }
>
> Cheers, Chris.
>
>
>
>
>
> --
> View this message in context: 
> http://camel.465427.n5.nabble.com/feature-request-Reporting-startup-failure-tp5761531.html
> Sent from the Camel - Users mailing list archive at Nabble.com.



-- 
Claus Ibsen
-----------------
Red Hat, Inc.
Email: cib...@redhat.com
Twitter: davsclaus
Blog: http://davsclaus.com
Author of Camel in Action: http://www.manning.com/ibsen
hawtio: http://hawt.io/
fabric8: http://fabric8.io/

Reply via email to