MQ Native Queue Properties
When creating or viewing details about MQ native queues, the MQ Native Queue Properties appear. The queue properties are organized across these tabs:
gateway92
When creating or viewing details about MQ native queues, the MQ Native Queue Properties appear. The queue properties are organized across these tabs:
- MQ Connection Properties
- Inbound OptionsOutbound Options
For more information about MQ native queues, see Manage MQ Native Queues.
After 9.2 CR4 is installed, MQ Message application data is automatically converted to a format specified by the queue manager. Prior to CR4, no conversion is performed. If you need to disable this functionality in CR4 for whatever reason, set the
io.mqConvertMessageApplicationDataFormat
cluster property to 'false'. CR4 also lets you force properties of an MQ Message to be returned in the MQRFH2 header when reading a message from a queue. To enable this behavior, set the
io.mqForceReturnPropertiesInMQRFH2Header
cluster property to 'true'. Contents:
To access the properties for an MQ native queue
:- Run the Manage MQ Native Queues task.
- Select a queue and then click [Properties]. You can also click [Create] to enter the properties for a new queue. The MQ Native Queue Properties appear.
- Configure each tab within the properties as necessary. Refer to the appropriate section below for a complete description of each tab.
- Click [OK] when done.
Configuring the [MQ Connection Properties] Tab
The [
MQ Connection Properties
] tab is used to set connection properties common to both inbound and outbound queues. Configure this tab as follows:Setting | Description |
---|---|
Connection name | Enter a name to identify the MQ Native connection. This name will be displayed in the policy window when the queue is selected for routing. The connection name is also displayed in the Managing MQ Native Queues dialog box. |
Enabled | Select this check box to enable the queue. Clear this check box to disable the queue as follows:
|
Direction | Select the direction of the queue:
|
Connection properties | Configure the properties for the connection:
If you are using an SSL connection for the MQ Native queue, be sure to specify an SSL channel name.
|
Security | Specify any security required to access the queue:
|
Test Settings | Click this button to test the connection settings. This button is unavailable when any required information is missing on this tab. |
Security Zone | Optionally choose a security zone. To remove this entity from a security zone (security role permitting), choose "No security zone". For more information about security zones, see Understanding Security Zones. This control is hidden if either: (a) no security zones have been defined, or (b) you do not have Read access to any security zone (regardless of whether you have Read access to entities inside the zones). |
Configuring the [Inbound Options] Tab
The [
Inbound Options
] tab is used to configure inbound queues that will be monitored by the API Gateway
. Configure this tab as followsSetting | Description |
---|---|
Acknowledge Behavior | From the drop-down list, select how the API Gateway should acknowledge incoming MQ Native messages:
Using "On Completion" acknowledgment increases the reliability of message processing. If a API Gateway fails during the processing of a message, that message will remain in the queue and can be processed by another node. (This assumes that a cluster of nodes has been configured. For more information, see Configure a API Gateway Cluster.(1) If you have not configured a failure queue, then messages that consistently fail (for example, a backend service is non-functional) will remain in the queue indefinitely. The API Gateway will continually try to process these messages and may get stuck in a loop, unless a failure queue is configured. (2) The Protect Against Message Replay assertion should not be used in any policy that will process messages from queues that are configured with the "On completion" acknowledgement mode without a specified failure destination. |
Inbound Reply Behavior | Select a reply behavior for the inbound queue:
|
Request/Response Correlation | The inbound Request/Response correlation behavior can be specified if either the "Automatic" or "Send reply to specified queue" option was selected:
|
Service Resolution | Select how the service should be resolved:
|
Send failed requests to the specified queue | Select this check box to route the message to a special queue if the service policy does not successfully complete. The messages sent to the failure queue are not due to a API Gateway failure, but rather from other causes such as routing failure, message content, etc. If this check box is not selected, then the MQ Native configuration will be expected to ensure that messages that could not be processed do not remain in the queue indefinitely. This option is available only when Acknowledgment Behavior is set to “On Completion”.
|
Specify multiple inbound connections | Select this check box to set the maximum number of concurrent inbound connections permitted. The default is 20. The mq.listenerMaxConcurrentConnections property specifies the absolute maximum concurrency and will override any larger value entered here. |
Override maximum message size | Select this check box to override the permitted maximum size of the message. Clear this check box to use the value set in the io.mqMessageMaxBytes cluster property.
|
Configuring the [Outbound Options] Tab
The [
Outbound Options
] tab is used to configure outbound queues that can be referenced in a Route via MQ Native assertion. Configure this tab as follows:Setting | Description |
---|---|
Outbound Reply Behavior | Specify an outbound reply behavior for the queue:
|
Request/Response Correlation | If the Outbound Reply Behavior is "Wait for a Reply on a specified queue", select one of the following options:
|
Override MQ Native Queue Connection Properties | This section lets you set specific values for this particular MQ Native Queue, overriding the system defaults.
For more information about these cluster properties, see Input/Output Cluster Properties. |