Applications that are not suitable for use with shared queues
Some features of IBM MQ are not supported when you are using shared queues, so applications that use these features are not suitable for the shared queue environment.
Consider the following points when designing your shared-queue applications:- Queue indexing is limited for shared queues. If you want to use the message identifier or correlation identifier to select the message to get from the queue, the queue should be indexed with the correct value. If you are selecting messages by message identifier alone, the queue needs an index type of MQIT_MSG_ID (although we can also use MQIT_NONE). If you are selecting messages by correlation identifier alone, the queue must have an index type of MQIT_CORREL_ID.
- We cannot use temporary dynamic queues as shared queues. However, we can use permanent dynamic queues. The models for shared dynamic queues have a DEFTYPE of SHAREDYN (shared dynamic) although they are created and destroyed in the same way as PERMDYN (permanent dynamic) queues.