"Since message IDs take some effort to create and increase a message’s size, some JMS providers may be able to optimize message overhead if they are given a hint that message ID is not used by an application. JMS Message Producer provides a hint to disable message ID."
Message Queue implementation: Product does not disable Message ID
generation (any setDisableMessageID
() call in MessageProducer
is
ignored). All messages will contain a valid MessageID
value.