RESCANINT

When a message consumer in the point-to-point domain uses a message selector to select which messages it wants to receive, IBM MQ classes for JMS search the IBM MQ queue for suitable messages in the sequence determined by the MsgDeliverySequence attribute of the queue.

After IBM MQ classes for JMS find a suitable message and deliver it to the consumer, IBM MQ classes for JMS resume the search for the next suitable message from its current position in the queue. IBM MQ classes for JMS continue to search the queue in this way until it reaches the end of the queue, or until the interval of time in milliseconds, as determined by the value of this property, has expired. In each case, IBM MQ classes for JMS return to the beginning of the queue to continue the search, and a new time interval commences.


Applicable Objects

ConnectionFactory, QueueConnectionFactory, XAConnectionFactory, XAQueueConnectionFactory

JMS administration tool long name: RESCANINT

JMS administration tool short name: RINT


Programmatic access

Setters/getters

  • MQConnectionFactory.setRescanInterval()
  • MQConnectionFactory.getRescanInterval()


Values

    5000
    Any positive integer can be the default value.

Parent topic: Properties of IBM MQ classes for JMS objects