Make sure that your brokerName property for Queue 2 is set to "queue2" and
not "queue1". 

<broker brokerName="queue2" useJmx="true" persistent="true"
dataDirectory="/data/activemq">

Joe
Get a free ActiveMQ user guide @ http://www.ttmsolutions.com



jpoloney wrote:
> 
> I've been trying to figure out how to get the store and forward to work,
> and I don't think it's working. I have 2 queues (ActiveMQ 5.1.0). Queue 1
> has an IP of 10.17.48.91 and Queue 2 has an IP of 10.17.48.92. I've
> attached my activemq.xml file for Queue 1. Queue 2 is using the same
> configuration except the IP address in the <networkConnector> has the
> other IP in it.
> 
> I've tried multicast, adding 1 IP address to the <networkConnector>,
> adding both IP addresses to the <networkConnector>, etc. I've tried
> everything I could think of. Nothing seems to work. Is there something
> that I'm doing wrong?
> 
> I can tell it's not working because I have pending messages on 1 of the
> queues and a consumer on the other, and it's not sending the messages
> (this is how it's supposed to work, correct?).
> 
> Thanks,
> 
> -- Joel
> 
>  http://www.nabble.com/file/p19937282/queue1.xml queue1.xml 
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Store-and-forward-not-working--tp19937282p19947627.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Reply via email to