You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@camel.apache.org by Christoph Emmersberger <ce...@googlemail.com> on 2013/08/08 11:54:58 UTC

Re: Which Component of camel is used for subscriptions or polling?

Hi Kannaiah,

sorry for the late reply, ... are you still having any issues?

One of the good examples getting started can be found within the TestCases where a File is being polled. However, you should be able to adjust the example for triggering your CXF client.

        PollingConsumer consumer = context.getEndpoint(${YOUR_CONSUMER_ROUTE}).createPollingConsumer();
        consumer.start();
        Exchange exchange = consumer.receive(5000);

Hope this might help, ...

- Christoph

On Jul 23, 2013, at 11:41 AM, cannykanna wrote:

> Hi Christopher,
> The Document link you sent was very helpful.
> Thank you so much :)
> Does the Camel has any component that supports polling other than EIPs?
> Do you have any example where polling is executed?
> 
> Regards
> Kannaiah
> 
> 
> 
> --
> View this message in context: http://camel.465427.n5.nabble.com/Which-Component-of-camel-is-used-for-subscriptions-or-polling-tp5735709p5736100.html
> Sent from the Camel - Users mailing list archive at Nabble.com.