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.

Reply via email to