You can set the message header properties for both inbound or outbound JMS messages. These property nodes are shown in the following figure, as they appear in the user interface. These same properties are also available for the output node in the receiveWait operation. When you set these properties in a Java based Collaboration Definition, they are used only by the Collaboration that uses that specific Collaboration Definition.
The following table shows the allowed values for the properties and the JMS methods used when you set a property in a Collaboration Definition. The methods that are exposed for your use are cross-referenced to the appropriate description. The methods that are not cross-referenced are automatically assigned, and not exposed.
Property |
Values |
Equivalent JMS Methods |
---|---|---|
CorrelationID |
Correlation ID |
getJMSCorrelationID() setJMSCorrelationID(string) |
CorrelationIDAsBytes |
Correlation ID |
getCorrelationIDAsBytes setCorrelationIDAsBytes(byte[]) |
DeliveryMode |
Persistent, nonpersistent (default = persistent) | |
Destination |
Destination (default = message destination as configured in Connectivity Map) | |
Expiration |
Number in milliseconds (default = 0 ms = never expire) | |
MessageID |
Message ID |
getJMSMessageID() setJMSMessageID(string) |
Priority |
0 - 9 where 9 is the highest priority (default = 4) | |
Redelivered |
True, false |
getJMSRedelivered() setJMSRedelivered(boolean) |
ReplyTo |
Destination |
getJMSReplyTo() setJMSReplyTo(destination) |
Timestamp |
Number in milliseconds |
getJMSTimestamp() setJMSTimestamp(long) |
Type |
Text, Bytes, Map, Stream |