On 8/23/06, Naveen Rawat <[EMAIL PROTECTED]> wrote:
Hi James and Arshad,
I am following this discussion and have some weird things to tell.
* - It has been said that a temporary queue vanishes along with the
creating client. But I am getting this unwanted privilge of having it even
after my client ends. How it could be possible?
The Destination object doesn't disappear but you will be unable to
send messages to it after the client which created it disappears (once
the broker detects its gone).
* - And then my server's
MessageProducer.send(destination, message);
statements gives an exception like -
INFO Service - Sync error occurred:
javax.jms.JMSException: The destination
temp-queue://e849faa0-746f-4258-a650-ea04231a1082:1 does not exist.
javax.jms.JMSException: The destination
temp-queue://e849faa0-746f-4258-a650-ea04231a1082:1 does not exist.
at
org.apache.activemq.broker.region.AbstractRegion.lookup(AbstractRegion.java:249)
See above, the destination cannot be used as the client has disconnected
--
James
-------
http://radio.weblogs.com/0112098/