Re: Push or poll

2008-10-29 Thread Lars Eirik Rønning
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

Re: Push or poll

2008-10-29 Thread Marco Buss
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

Re: Push or poll

2008-10-24 Thread Gary Tully
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/

Push or poll

2008-10-24 Thread Lars Eirik Rønning
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