Posted: Wed Aug 27, 2003 9:51 am Post subject: Change temporary queue from persistence to non-persistence
Acolyte
Joined: 20 Jan 2003 Posts: 60
I have a JMS application that I am senting a request and creating a temporary queue to receive it. The temporary queue is showing persistence and I need it to be non-persistence.
TemporaryQueue qTemp = session.createTemporaryQueue();
qReceiver = session.createReceiver(qTemp);
dest = (Destination)qTemp;
Joined: 27 Aug 2001 Posts: 3023 Location: Dallas, TX, USA
I would guess that this is being caused by the fact that the TEMPMODEL property of your QCF is using a queue that has its persistence (DEFPSIST) set on.
The persistence=1 on the end of the Destination.toString() means non-persistent. The values used are those defined by Sun in the DeliveryMode interface, and it happens that they chose to use 1 for non-persistent and 2 for persistent.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum