You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@activemq.apache.org by anuhbava <an...@aol.com> on 2011/06/21 07:23:28 UTC

javax.jms.JMSException: The destination temp-queue does not exist

Hi Gary,

Many thanks for all your help in the past for ActivemQ related issues. But I
have one more :)

I am facing exactly same issue on my end as mentioned in this thread: 
http://activemq.2283324.n4.nabble.com/jira-Created-AMQ-3336-Temporary-Destination-errors-on-H-A-failover-in-broker-network-with-Failover-tt-td3551034.html#a3612738 
http://activemq.2283324.n4.nabble.com/jira-Created-AMQ-3336-Temporary-Destination-errors-on-H-A-failover-in-broker-network-with-Failover-tt-td3551034.html#a3612738  

Whenever I restarted an arbitrary broker in my network, I was getting many
errors like this in my Consumer application log while trying to send reply
to a temporary queue:

<code>
javax.jms.InvalidDestinationException: Cannot publish to a deleted
Destination: temp-queue://ID:...
</code>

Then I saw you response here suggesting to use
jms.watchTopicAdvisories=false

as a url param on the client brokerURL. I promptly changed my client broker
URLs with this additional parameter. However now I am seeing error like this
when I restart my brokers in network for this failover testing:

<code>
javax.jms.JMSException: The destination
temp-queue://ID:client.host-65070-1308610734958-2:1:1 does not exist.
</code>

I am using active 5.5 version. And my client broker URL looks like this:

<code>
failover:(tcp://amq-host1:61616,tcp://amq-host2.tred.aol.com:61616,tcp://amq-host3:61616,tcp://amq-host4:61616)?jms.useAsyncSend=true&timeout=5000&jms.watchTopicAdvisories=false
</code> 

Additionally here is my activemq config XML for one of the 4 brokers:
http://activemq.2283324.n4.nabble.com/file/n3612738/amq1.xml amq1.xml 

Can you please look into this problem and suggest me what mistake I am
making in this setup.

Thanks,
Anubhava 

--
View this message in context: http://activemq.2283324.n4.nabble.com/javax-jms-JMSException-The-destination-temp-queue-does-not-exist-tp3613224p3613224.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.