Thanks for helping.
I have sofar used the mesasgelistener , ut will probably move to
receive(long) method to have the client poll for messages
On Wed, Oct 29, 2008 at 8:59 AM, Marco Buss <[EMAIL PROTECTED]> wrote:
> Lars Eirik Rønning schrieb:
>
> Hi.
>> Is there a way for my client application
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
jms.MessageConsumer, receive(timeout) or receiveNoWait?
http://java.sun.com/javaee/5/docs/api/javax/jms/MessageConsumer.html#receive(long)
http://java.sun.com/javaee/5/docs/api/javax/jms/MessageConsumer.html#receiveNoWait()
and http://activemq.apache.org/what-is-the-prefetch-limit-for.html
2008/
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