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/10/24 Lars Eirik Rønning <[EMAIL PROTECTED]>:
> 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
>

Reply via email to