Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Open queue in browse and input mode simultaneously #8

Closed
abrahamb opened this Issue · 3 comments

2 participants

@abrahamb

Is there any way to open a queue in both modes, browse and input? I need to browse all messages in the queue and process and delete one especific message, for example in java it's possible to do this:

int openOptions = MQC.MQOO_FAIL_IF_QUIESCING | MQC.MQOO_INPUT_SHARED | MQC.MQOO_BROWSE;
outputQueue=mQMgr.accessQueue(remoteQueue, openInputOptions);

Thanks for your reply

@reidmorrison

Yes, instead of supplying :mode when you open the queue, supply the open options you want use :options.

  :options => WMQ::MQOO_INPUT_SHARED | WMQ::MQOO_BROWSE | WMQ::MQOO_FAIL_IF_QUIESCING
@abrahamb

NICE....... THANKS A LOT!!!

@abrahamb abrahamb closed this
@abrahamb abrahamb reopened this
@abrahamb

it was :open_options

Regards

@abrahamb abrahamb closed this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.