WebLogic Messaging API Class Library

IMessage.JMSCorrelationIDAsBytes Property

Gets the correlation ID as an array of bytes for the message.

The array is copied before the method returns, so future modifications to the array will not alter this message header.

If a provider supports the native concept of correlation ID, a JMS client may need to assign specific JMSCorrelationID values to match those expected by native messaging clients. JMS providers without native correlation ID values are not required to support this method and its corresponding get method; their implementation may throw a System.NotSupportedException .

The use of a byte[] value for JMSCorrelationID is non-portable.

 JMSCorrelationIDAsBytes {get;}

Exceptions

Exception TypeCondition
MessageExceptionif the JMS provider fails to set the correlation ID due to some internal error.

See Also

IMessage Interface | WebLogic.Messaging Namespace