title: How to get number of consumers connected to Websphere MQ queue from Java
body: <p>I am trying to get the number of consumers of a particular Websphere MQ queue from Java? I need to know whether someone is going to consume the messages before placing them on the queue.</p>