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.
| Exception Type | Condition |
|---|---|
| MessageException | if the JMS provider fails to set the correlation ID due to some internal error. |
IMessage Interface | WebLogic.Messaging Namespace