activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sk92129 <sk92...@gmail.com>
Subject Re: Pausing messages consuming
Date Tue, 21 Aug 2012 23:40:01 GMT
I would like to jump into this thread and ask a related question.

I would like to pause message from being consumed selectively, meaning that
I would like to pause message #2 and #4.  But all messages to be consumed. 
And then let message #2 and #4 to be consumed later.

I think this would create a case where the message order preservation can be
exercised, to allow the consumer to handle cases where messages are coming
off the queue in an order unlike the the order placed into the queue by the
producer.

Basically, I want to be able to force messages to transported from a bridge
of brokers (broker A and broker B), where broker A is being used by the
producer, and broker B is being used by the consumer.  The two brokers would
be on separate machines (and VMs), and only tied together by a bridge.

broker B would have this:
        <networkConnectors>
            <networkConnector uri="static:(ssl://centos-test1:61616)"
duplex="true"/>
        </networkConnectors>

broker A would have an empty networkConnector:
   <networkConnectors>
        </networkConnectors>





--
View this message in context: http://activemq.2283324.n4.nabble.com/Pausing-messages-consuming-tp4653866p4655405.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Mime
View raw message