You can use Uniform Resource Identifiers to designate queues and to establish or modify values for those queues. You do this when specifying values for the connector specific properties that define queues.
To set queue URIs, do the following:
Queue URI syntax: The URI for a queue begins with the sequence queue:// followed by:
For example, the following URI connects to queue IN on queue manager crossworlds.queue.manager and causes all messages to be sent as WebSphere MQ messages with priority 5.
queue://crossworlds.queue.manager/IN?targetClient=1&persistence=5
Table 11 shows property names for queue URIs.
Table 11. WebSphere Business Integration Message Broker queue URI properties
Property name | Description | Values |
---|---|---|
expiry | Lifetime of the message in milliseconds. | 0 = unlimited.
positive integers = timeout (in ms). |
priority | Priority of the message. | 0-9, where 1 is the highest priority. A value of -1 means that the property should be determined by the configuration of the queue. A value of -2 specifies that the connector can use its own default value. |
persistence | Whether the message should be 'hardened' to disk. | 1 = non-persistent
2 = persistent A value of -1 means that the property should be determined by the configuration of the queue. A value of -2 specifies that the connector can use its own default value. |
CCSID | Character set of the destination. | Integers - valid values listed in base WebSphere Business Integration Message Broker documentation. This value should match that of the CCSID connector-specific configuration property. See CCSID. |
targetClient | Whether the receiving application is JMS compliant or not. | 0 = JMS (MQRFH2 header)
1 = MQ (MQMD header only) |
encoding | How to represent numeric fields. | An integer value as described in the base WebSphere Business Integration Message Broker documentation. |