Hello Christian,
Thanks for the reply.
I went through the docs and the examples. I was kind of confused if the code
snippet below can be called from a producer endpoint:
Endpoint endpoint = context.getEndpoint("activemq:my.queue");
PollingConsumer consumer = endpoint.createPollingConsumer();
Exchange exchange = consumer.receive();
so what I am trying to do is implement the recieve method, so that the
control blocks till I get expected results and proceed once the results are
out. I plan to create a custom endpoint, and the route has a .from as quartz
endpoint, something like this:
from(quartz//cron expression)
.to(autosysCustomEndpoint)
.process(further processing)
The requirement is that the customer producer endpoint should be able to
invoke the recieve method to block till I get expected results and then
proceed with rest of the route.
Thank you,
Regards
Vaibhav A. Karkhanis
--
View this message in context:
http://camel.465427.n5.nabble.com/PollingConsumerSupport-tp5734359p5734415.html
Sent from the Camel - Users mailing list archive at Nabble.com.