camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Xavier Coulon <xcou...@gmail.com>
Subject Re: NullPointerException in SedaConsumer
Date Tue, 15 Mar 2011 10:51:10 GMT
Ooops, it was to be my entire fault :-/

I my test case, I had the following MockEndpoint declaration:

from("seda:incoming.stocks").to(mockStocks);


With that extra endpoint consumer, the result of
endpoint.getConsumers().size() in the SedaEndpoint.sendToConsumers(..)
method was 2 and not 1, hence the attempt to use a MultiCastProcessor.

Sorry...
/xavier 

--
View this message in context: http://camel.465427.n5.nabble.com/NullPointerException-in-SedaConsumer-tp3696144p3696766.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Mime
View raw message