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 » General Discussion » Need some info about openOptions in MQSeries

Post new topic  Reply to topic
 Need some info about openOptions in MQSeries « View previous topic :: View next topic » 
Author Message
starki78
PostPosted: Mon Oct 05, 2009 2:47 am    Post subject: Need some info about openOptions in MQSeries Reply with quote

Acolyte

Joined: 24 Sep 2007
Posts: 53

Hello,

I made some research in the internet but was not lucky to understand openOptions.

Has somebody a good link?

Let's assume I use in the first case
int openOptions = MQC.MQOO_INPUT_SHARED | MQC.MQOO_FAIL_IF_QUIESCING | MQC.MQOO_INQUIRE;

and in the second case:

MQC.MQOO_INQUIRE | MQC.MQOO_INPUT_AS_Q_DEF | MQC.MQOO_SET | MQC.MQOO_SET_ALL_CONTEXT | MQC.MQOO_OUTPUT;



What are usecases/advantages/disadvantages?
Is there any security hole when using too many openOptions?

Thanks in advance for any pointer

Christian
Back to top
View user's profile Send private message
crossland
PostPosted: Mon Oct 05, 2009 3:10 am    Post subject: Reply with quote

Master

Joined: 26 Jun 2001
Posts: 248

Try and only use those options that you need.

In terms of security holes (hopefully) your security will only permit you to use those options which are necessary to meet your business requirements and adding additional options beyond that will result in an authorisation error.

Tim Crossland
http://www.inspirotechnic.com
Back to top
View user's profile Send private message
zpat
PostPosted: Mon Oct 05, 2009 3:42 am    Post subject: Reply with quote

Jedi Council

Joined: 19 May 2001
Posts: 5866
Location: UK

Usually it is not a good idea to open the same queue for both input and output.

Typically a program will do one or the other, not both, on the same queue.

Opening a output queue for input prevents a remote queue being used.

Also requires more access rights than needed.
Back to top
View user's profile Send private message
starki78
PostPosted: Mon Oct 05, 2009 3:45 am    Post subject: Reply with quote

Acolyte

Joined: 24 Sep 2007
Posts: 53

thanks for your feedback,
this brought some light in it.

Cheers
Christian
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 » General Discussion » Need some info about openOptions in MQSeries
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.