camel cmd send
Send messages to endpoints
Options
| Option | Description | Default | Type |
|---|---|---|---|
| Message body to send (prefix with file: to refer to loading message body from file) | String | |
| Endpoint where to send the message (can be uri, pattern, or refer to a route id) | String | |
| Message header (key=value) | List | |
| Use colored logging | true | boolean |
| Poll instead of sending a message. This can be used to receive latest message from a Kafka topic or JMS queue. | boolean | |
| Pretty print response message body (InOut) when using JSon or XML format | boolean | |
| Additional properties; override existing (only applicable when NOT using an existing running Camel) | String | |
| comma separated list of properties file (only applicable when NOT using an existing running Camel) + (ex. /path/to/file.properties,/path/to/other.properties | String | |
| Whether to expect a reply message (InOut vs InOut messaging style) | boolean | |
| Saves reply message to the file with the given name (override if exists) | String | |
| Show message body from response message (InOut) | true | boolean |
| Show exception and stacktrace for failed messages | true | boolean |
| Show exchange properties from response message (InOut) | false | boolean |
| Show exchange variables from response message (InOut) | false | boolean |
| Show message headers from response message (InOut) | true | boolean |
| Timeout in millis waiting for message to be sent (and reply message if InOut messaging) | 20000 | long |
| Display the help and sub-commands | boolean |