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 » How to set specific queue open options in JMS createQueue

Post new topic  Reply to topic
 How to set specific queue open options in JMS createQueue « View previous topic :: View next topic » 
Author Message
vsathyan
PostPosted: Wed Jan 07, 2015 1:06 am    Post subject: How to set specific queue open options in JMS createQueue Reply with quote

Centurion

Joined: 10 Mar 2014
Posts: 121

Hi,

while creating/opening a websphere MQ queue using JMS, how can I specify the queue open options I want.

Say, by default the JMS create queue is opening the queue for both - read and write (MQOO_OUTPUT and MQOO_INPUT_AS_Q_DEF), I do not want this to happen because, if I'm using a remote queue, if the createQueue opens it for read, i'll face a MQRC 2045.

Is it possible in JMS to do this? If yes, how?

Thanks in advance.
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Wed Jan 07, 2015 6:17 am    Post subject: Re: How to set specific queue open options in JMS createQueu Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20696
Location: LI,NY

vsathyan wrote:
Hi,

while creating/opening a websphere MQ queue using JMS, how can I specify the queue open options I want.

Say, by default the JMS create queue is opening the queue for both - read and write (MQOO_OUTPUT and MQOO_INPUT_AS_Q_DEF), I do not want this to happen because, if I'm using a remote queue, if the createQueue opens it for read, i'll face a MQRC 2045.

Is it possible in JMS to do this? If yes, how?

Thanks in advance.

JMS sets the open options depending on the usage (consumer, producer).
If you want to use a remote queue make sure you never use it with a (message) consumer...
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » IBM MQ Java / JMS » How to set specific queue open options in JMS createQueue
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.