send_message
Send a message to an ActiveMQ queue or topic. Provide connection ID, destination, and optional headers to publish message content.
Instructions
Send a message to a queue or topic
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"connectionId": "<connectionId>",
"destination": "<destination>",
"message": "<message>"
},
"name": "send_message"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| headers | No | Optional message headers | |
| message | Yes | Message content to send | |
| destination | Yes | Queue or topic destination (e.g., /queue/myqueue or /topic/mytopic) | |
| connectionId | Yes | ID of the connection |