ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » IBM MQ Java / JMS » Change temporary queue from persistence to non-persistence

Post new topic  Reply to topic
 Change temporary queue from persistence to non-persistence « View previous topic :: View next topic » 
Author Message
jrjoe
PostPosted: Wed Aug 27, 2003 9:51 am    Post subject: Change temporary queue from persistence to non-persistence Reply with quote

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;

System.out.println("replyQ name " + dest);
replyQ name queue://MSSDVL/AMQ.3F4CCC8720001901?persistence=1

How do I change this to non-persistence?

Thanks
Joe
Back to top
View user's profile Send private message
bower5932
PostPosted: Wed Aug 27, 2003 11:03 am    Post subject: Reply with quote

Jedi Knight

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.
Back to top
View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger
kingdon
PostPosted: Fri Aug 29, 2003 1:50 am    Post subject: Reply with quote

Acolyte

Joined: 14 Jan 2002
Posts: 63
Location: UK

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.

Regards,
James.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » IBM MQ Java / JMS » Change temporary queue from persistence to non-persistence
Jump to:  



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
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.