Disable MQ connectivity
Purpose
Disable 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":false}
Related Commands
Example
Stops the MQ Connectivity process:The following example uses cURL to start the MQ Connectivity process:
curl -X POST \
-H 'Content-Type: application/json' \
-d '{
"MQConnectivityEnabled":false
}
'\
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."
}