activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rpratt <>
Subject Network of Brokers, Temp Queue problem
Date Sat, 19 Jul 2008 22:27:27 GMT

I have seen several other posts that are somewhat like my problem, but none
directly address my issue...hopefully someone can help me out here.

I have configured two brokers on separate machines as a network of brokers.
The connectors between them is:

            <networkConnector name="${}" networkTTL="2"
dynamicOnly="true" uri="${connector.uri}" conduitSubscriptions="false"/>

the connector.uri value is static://(tcp://host2:61616) on host1 and
static://(tcp://host1:61616) on host2

the name is devconnector for both.

I have several producers and consumers connected with the uri

I have a service listening on known queue name (actually the service has 10
threads each receiving on that queue name). When a service thread receives a
message it produces a result and sends it back to the replyTo destination
set on the incoming message. The replyTo destination is a temporary queue
set up by the sender. I often get the following error when the service is
trying to send the reply:

javax.jms.InvalidDestinationException: Cannot publish to a deleted
Destination: temp-queue://ID:oslchi6ddev13-53619-1216502331985-0:6081:1

If I shut down one of the brokers this error goes away, so it seems like it
has something to do with the network of brokers.

Is this a known issue? If so is there a workaround? Or am I just doing
something that is not supposed to work with a network of brokers?  Thanks

Ryan P
View this message in context:
Sent from the ActiveMQ - User mailing list archive at

View raw message