activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Marco Buss <>
Subject Re: Push or poll
Date Wed, 29 Oct 2008 07:59:28 GMT
Lars Eirik Rønning schrieb:
> Hi.
> Is there a way for my client application to poll at regular intervals?
> I understand that by default activemq uses push to distrubte messages.. Am i
> right or wrong?
> I would prefer having polling , but I do not run a webserver so i cannot use
> servlets
> Thanks.
> Lars
why you think you need servlets to use push? You can register a 
MessageListener on a MessageConsumer to use the push. If you want to 
pull the message by your own the you must use the receive-Methods from 
the MessageConsumer.


View raw message