camelContext.hasEndpoint() returns null when endpoint (apparently) exists

2014-10-22 Thread Aida
Hello, I'm working with Camel 2.12.3 I have three routebuilders that consist of consuming messages from a seda queue and sending them to a destination endpoint, like this: from("seda:syncronizedMyQueue") .to("myDestinationEndpoint"); When a message must be sent to one of these queues, I use

Re: camelContext.hasEndpoint() returns null when endpoint (apparently) exists

2014-10-27 Thread Claus Ibsen
Hi Maybe you hit the upper limit on the endpoint cache. You can set a higher endpoint cache size http://camel.apache.org/how-do-i-configure-the-maximum-endpoint-cache-size-for-camelcontext.html Though we should likely improve Camel to keep the endpoints from the routes in the cache as they are i

Re: camelContext.hasEndpoint() returns null when endpoint (apparently) exists

2014-10-27 Thread Aida
Thank you Claus, I'm doing some tests but what you said has to be the problem. I have routes that many times per day use the consumerTemplate for reading files (each file = one endpoint), so these endpoints must have been updating the endpoint cache periodically. I fear that in this case increas