|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
How to set specific queue open options in JMS createQueue |
« View previous topic :: View next topic » |
Author |
Message
|
vsathyan |
Posted: Wed Jan 07, 2015 1:06 am Post subject: How to set specific queue open options in JMS createQueue |
|
|
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 |
|
 |
fjb_saper |
Posted: Wed Jan 07, 2015 6:17 am Post subject: Re: How to set specific queue open options in JMS createQueu |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 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 |
|
 |
|
|
 |
|
Page 1 of 1 |
|
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
|
|
|
|