MSGSELECTION

Determines whether message selection is done by the IBM MQ classes for JMS or by the broker. If TRANSPORT has the value DIRECT, message selection is always done by the broker and the value of MSGSELECTION is ignored. Message selection by the broker is not supported when BROKERVER has the value V1.


Applicable Objects

ConnectionFactory, TopicConnectionFactory, XAConnectionFactory, XATopicConnectionFactory

JMS administration tool long name: MSGSELECTION

JMS administration tool short name: MSEL


Programmatic access

Setters/getters

  • MQConnectionFactory.setMessageSelection()
  • MQConnectionFactory.getMessageSelection()


Values

    CLIENT
    Message selection is done by IBM MQ classes for JMS. This is the default value.

    BROKER
    Message selection is done by the broker.