Restart MQ connectivity
Purpose
Restarts the Eclipse Amlen MQ Connectivity process.URI
Use the Eclipse Amlen REST API POST method with the following Eclipse Amlen service URI:
http://<admin-endpoint-IP:Port>/ima/v1/service/restart
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:
{"Service":"MQConnectivity"}
Usage NotesĀ®
-
To restart the MQ Connectivity process, MQConnectivityEnabled must be true or the process will fail to restart. Setting the value to true automatically starts the MQ Connectivity process.
- If the MQ Connectivity process status is
Inactive
, and MQConnectivityEnabled is true you can start or restart the MQ Connectivity process.
Related Commands
Example
Stops the MQ Connectivity process:The following example uses cURL to restart the MQ Connectivity process:
curl -X POST \
-H 'Content-Type: application/json' \
-d '{
"Service":"MQConnectivity"
}
'\
http://127.0.0.1:9089/ima/v1/service/restart
An
example response to the POST
method:
{
"Version": "v1",
"Code": "CWLNA6011",
"Message": "The requested configuration change has completed successfully."
}