I have to create a consumer that consumes feeds from an Atom service. The feeds should be consumed as and when anything is published on the atom server.
Currently I am using camel-atom protocol which polls the atom server every 60 seconds by default (this polling time can be reduced). Is any way (using any API) that I can just subscribe to the atom server and receive updates whenever they are posted?
Atom servers are not pushing changes to subscribers. Published feeds (RSS and Atom) are a way to enable clients to automatically check for updates.
There is no option to configure camel-atom other than
consumer.delay
, which sets the polling interval.