activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gary Tully" <gary.tu...@gmail.com>
Subject Re: Push or poll
Date Fri, 24 Oct 2008 09:56:21 GMT
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 <larseirik@gmail.com>:
> 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
>

Mime
View raw message