+

Search Tips | Advanced Search

Use JMS 2.0 functionality

JMS 2.0 introduces several new areas of functionality to the IBM MQ classes for JMS.

When we are developing a JMS application for IBM MQ Version 8.0 or later, you might need to consider the impact of this functionality on your queue manager.

  • JMS 2.0 delivery delay
    With JMS 2.0, we can specify a delivery delay when sending a message. The queue manager does not deliver the message until after the specified delivery delay has elapsed.
  • Cloned and shared subscriptions
    In IBM MQ Version 8.0 or later, there are two methods for giving multiple consumers access to the same subscription. These two methods are by using cloned subscriptions, or by using shared subscriptions.
  • SupportMQExtensions property
    The JMS 2.0 specification introduces changes to the way certain behaviors work. IBM MQ Version 8.0 and later includes the property com.ibm.mq.jms.SupportMQExtensions, which can be set to TRUE, to revert these changed behaviors back to previous implementations.
  • Use shared subscriptions in JMS 2.0
    JMS 2.0 introduces the concept of shared subscriptions, where a single subscription is shared among multiple consumers, with only one of the consumers receiving a publication at any point in time. IBM MQ classes for JMS.

Parent topic: Writing IBM MQ classes for JMS applications


Related information

Last updated: 2020-10-04