Sets 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;
The use of a byte[] value for JMSCorrelationID is non-portable.
Gets the correlation ID as an array of bytes for the message.
The use of a byte[] value for JMSCorrelationID is non-portable.
Assembly: Kaazing.JMS (in Kaazing.JMS.dll)
Syntax
| Visual Basic |
|---|
Property JMSCorrelationIDAsBytes As Byte() Get Set |
| C# |
|---|
byte[] JMSCorrelationIDAsBytes { get; set; } |
| Visual C++ |
|---|
property array<unsigned char>^ JMSCorrelationIDAsBytes { array<unsigned char>^ get (); void set (array<unsigned char>^ value); } |
Return Value
the correlation ID of a message as an array of bytes
Exceptions
| Exception | Condition |
|---|---|
| Kaazing.JMS..::..JMSException | if the JMS provider fails to set the correlation ID due to some internal error. |
| Kaazing.JMS..::..JMSException | if the JMS provider fails to get the correlation ID due to some internal error. |
See Also
IMessage..::..JMSCorrelationIDAsBytes
[!:Kaazing.JMS.IMessage.SetJMSCorrelationID(String)]
IMessage..::..JMSCorrelationIDAsBytes