Can you send the actual xml configuration for all three brokers ?
On Dec 21, 2007, at 5:04 AM, Lephix wrote:


hi rajdavies:
i just using wildcards to filter the messages for my destinations.
but in the Environment i said before.
i found there are still messages sent to the destinations i don't want to.
the content of my xml below:
=================================================
<excludedDestinations>
        <queue physicalName="R.01007041000000000000"/>
</excludedDestinations>
<dynamicallyIncludedDestinations>
        <queue physicalName=""/>
</dynamicallyIncludedDestinations>
=================================================
said in  the website of AMQ.
dynamicallyIncludedDestinations:destinations that match this list will be forwarded across the network n.b. an empty list means all destinations not
in the exluded list will be forwarded

so i think i get the right way to filter the messages. but the result is not
like what i want....

SW: WINDOWS 2003 sp1 . AMQ 4.1.1. JDK 1.4.2_04.


rajdavies wrote:

Yes - wild cards are supported!

On Dec 20, 2007, at 3:37 PM, Lephix wrote:


thank you rajdavies. i searched the solution for my problem. and
solved it.
and one more question.
can i just hard code for the queue name?
could i type the queue name like <queue name="RECEIVE.QUEUE1.*"> ?

thank you very much.



rajdavies wrote:

The way to do this is to set excludedDestinations on the network
connections between 192.9.105.141 and 192.9.105.142
see http://activemq.apache.org/networks-of-brokers.html

On Dec 20, 2007, at 1:26 PM, Lephix wrote:


i got 3 machines and each of one got a AMQ on it.
IP are 192.9.105.140, 192.9.105.141, 192.9.105.142
i write the setting to make 3 AMQs connected using the code below:
=================================================================
 <networkConnectors>
                <networkConnector name="MQ01007000000000000000"
                        uri="static://(tcp://192.9.105.141:61616)" 
failover="false"/>
                <networkConnector name="MQ01007040000000000000"
                        uri="static://(tcp://192.9.105.142:61616)" 
failover="false"/>
 </networkConnectors>
=================================================================
this is one of the XML content. others are nearly the same to
connect
another 2 AMQs.

but i use producer to create about 5 messages in a queue named
FOO.BAR at
192.9.105.140.
192.9.105.141 and 192.9.105.142 get 4 and 5 messages each one.

how can i set the queue FOO.BAR at 192.9.105.140 just delivery the
message
to 192.9.105.141?

Best regards.


--
View this message in context:
http://www.nabble.com/how-to-set-the-message-distination-of-Networks-of-Broker.-tp14436327s2354p14436327.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.





--
View this message in context:
http://www.nabble.com/how-to-set-the-message-distination-of-Networks-of-Broker.-tp14436327s2354p14438888.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.





--
View this message in context: 
http://www.nabble.com/how-to-set-the-message-distination-of-Networks-of-Broker.-tp14436327s2354p14450406.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.


Reply via email to