Copyright © TIBCO Software Inc. All Rights Reserved
Copyright © TIBCO Software Inc. All Rights Reserved


Chapter 2 Messages : Headers

Headers
Headers associate a fixed set of header field names with values. Clients and providers use headers to identify and route messages.
Programs can access header values using the function calls in Table 4.
However, programs can effectively set only three message header properties—Reply To, Correlation ID and Type. For all other header properties, the provider ignores or overwrites values set by client programs.
Message ID  A message ID is a unique string that the provider assigns to a message. Programs can use these IDs to correlate messages. For example, a program can link a response to a request by setting the correlation ID of a response message to the message ID of the corresponding request message.
Message ID strings begin with the prefix ID: (which is reserved for this purpose).
String  Programs can also correlate messages using arbitrary strings, with semantics determined by the application.
These strings must not begin with the prefix ID: (which is reserved for message IDs).
Byte Array  This implementation does not support byte array values for the correlation ID property. The JMS specification does not require support.
All message ID values start with the 3-character prefix ID: (which is reserved for this purpose).
false—The server has not previously attempted to deliver this message to the consumer.
true—It is likely (but not guaranteed) that the server has previously attempted to deliver this message to the consumer, but the consumer did not return timely acknowledgement.

Copyright © TIBCO Software Inc. All Rights Reserved
Copyright © TIBCO Software Inc. All Rights Reserved