SPARSESUBS

Controls the message retrieval policy of a TopicSubscriber object.


Applicable Objects

ConnectionFactory, TopicConnectionFactory

JMS administration tool long name: SPARSESUBS

JMS administration tool short name: SSUBS


Programmatic access

Setters/getters

  • MQConnectionFactory.setSparseSubscriptions()
  • MQConnectionFactory.getSparseSubscriptions()


Values

    NO
    Subscriptions receive frequent matching messages. This is the default value for administrative tools.
    For programs, use false.

    YES
    Subscriptions receive infrequent matching messages. This value requires that the subscription queue can be opened for browse.
    For programs, use true.

Parent topic: Properties of IBM MQ classes for JMS objects