Show configuration details of a destination mapping rule
Purpose
Shows the configuration details of a specified destination mapping rule.URI
To view configuration information about all destination mapping rules, use the Eclipse Amlen REST API GET method with the following Eclipse Amlen configuration URI:
http://<admin-endpoint-IP:Port>/ima/v1/configuration/DestinationMappingRule
Object configuration data
To view configuration information about a specific destination mapping rule, use the Eclipse Amlen REST API GET method with the following Eclipse Amlen configuration URI:
http://<admin-endpoint-IP:Port>/ima/v1/configuration/DestinationMappingRule/<NameOfDestinationMappingRule>
- NameOfDestinationMappingRule
- Specifies the name of the destination mapping rule that you want to view the configuration details of.
Usage NotesĀ®
- The command must be capitalized as shown.
Example
Shows the details of the destination mapping ruleexampleDestinationMappingRule
:The following example shows a GET method to display configuration details of a destination mapping rule called "MyDestinationMappingRule" by using cURL:
curl -X GET http://127.0.0.1:9089/ima/v1/configuration/DestinationMappingRule/MyDestinationMappingRule
The following example shows a successful example response to the GET method that was used to display configuration details of a destination mapping rule called "MyDestinationMappingRule" :
{
"DestinationMappingRule": {
"MyDestinationMappingRule": {
"QueueManagerConnection": "exampleQMC",
"RuleType": 1,
"Source": "/ISMRoot/Level1",
"Destination": "Queue1",
"MaxMessages": 6000,
"Enabled": True,
"RetainedMessages": True
}
}
}
Where:-
- NameOfDestinationMappingRule
- Specifies the name of the destination mapping rule.
-
- QueueManagerConnection
- Specifies the name of one or more queue manager connections. The queue manager connections identify which queue managers the rule maps to. If there is more than one queue manager connection a comma-separated list is displayed.
-
- Enabled=true|false
- Specifies whether the rule is enabled (true) or disabled (false).
-
- RuleType
- Specifies the rule type that you want to use. For more information about the values that you can use, see Configuring destination mapping rules.
-
- Source
- Specifies the source topic string or queue for the rule.
-
- Destination
- Specifies the destination topic string or queue for the rule.
-
- MaxMessages
- Specifies the maximum number of messages that can be buffered for the destination mapping rule.
-
- RetainedMessages
- Specifies which messages are forwarded as to a topic as retained messages.