Enable MQ connectivity
Purpose
Enable Eclipse Amlen MQ Connectivity.URI
Use the Eclipse Amlen REST API POST method with the following Eclipse Amlen configuration URI:
http://<admin-endpoint-IP:Port>/ima/v1/configuration
Object configuration data
Provide object configuration data in the payload of the POST method by using the following schema. Content-type is set to application/json:
{"MQConnectivityEnabled":true}
Related Commands
Example
Stops the MQ Connectivity process:The following example uses cURL to enable MQ Connectivity:
curl -X POST \
-H 'Content-Type: application/json' \
-d '{
"MQConnectivityEnabled":true
}
'\
http://127.0.0.1:9089/ima/v1/configuration
An
example response to the POST
method:
{
"Version": "v1",
"Code": "CWLNA6011",
"Message": "The requested configuration change has completed successfully."
}