Hi Aleksey,

IMHO CAMEL-4605 was another story than CAMEL-4650 where there's a misuse of
the Java-DSL API causing the NPE as a side effect. You can take a look at
[1] for the comments I attached for that ticket.

Today camel *catches* the case where one tries to consume from the *exactly*
the same endpoint URI in the same camel context by two different routes,
however it seems that if one of those routes has the noAutoStarup() option
enabled then camel-core doesn't realize that anymore, causing some side
effects, in this case it was a NPE. In [1] I reused one of the camel's own
Testcases to reproduce the behaviour Tarjei  suffered from by his
application.

Maybe it's a good idea to improve camel to *catch* the case where there's a
"noAutoStarup()" option enabled by one of those routes consuming from the
same URI by it's from() clause.

[1] https://issues.apache.org/jira/browse/CAMEL-4650

Regards, Babak

--
View this message in context: 
http://camel.465427.n5.nabble.com/NPE-when-using-SEDA-queue-tp4973626p4983701.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to