You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@activemq.apache.org by fjjiaboming <fj...@yahoo.com.cn> on 2011/07/28 04:09:33 UTC

AMQ consumers consume immediately or after some interval ?

I'm confused with MQ consumers consume immediately or after some interval . 

Can the consumers get the messages immediately , 
when the client of consumers connected with the Activemq and the Activemq
get messages from producers. 

Like , 
1. producer send message at 20110726 10:22:20 
2. the activemq get msg at 20110726 10:22:20 
3. Can the consumers get msg at 20110726 10:22:21  or 20110726 10:22:20
?????? 

Activemq clustering servers use 
                <networkConnectors>
                        <networkConnector 
                               
uri="static:(tcp://10.20.221.211:61616,tcp://10.20.221.226:61616)" 
                                duplex="true" userName="system"
password="manager" />
                </networkConnectors> . 
And Client consumers use
failover:(tcp://10.20.221.211:61616,tcp://10.20.221.226:61616) 
in <property name="brokerURL">.. 



Thanks~

--
View this message in context: http://activemq.2283324.n4.nabble.com/AMQ-consumers-consume-immediately-or-after-some-interval-tp3700234p3700234.html
Sent from the ActiveMQ - Dev mailing list archive at Nabble.com.