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 | |
| Whether to allow automatic downloading JAR dependencies (over the internet) | true | boolean |
| Endpoint where to send the message (can be uri, pattern, or refer to a route id) | String | |
| Make sure we use fresh (i.e. non-cached) resources | false | boolean |
| Message header (key=value) | List | |
| Send to infrastructure service (e.g., nats, kafka) | String | |
| The pause between two messages with --repeat or a folder body, in millis or as a duration such as 200ms or 1s, or a range such as 100..500 or 100ms..2s to draw each pause at random (at most 60s) | String | |
| 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 | |
| Send the message this many times (going round the files of a folder body), and print a summary instead of each reply (at most 10000) | int | |
| 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 | |
| Additional maven repositories for download on-demand (Use commas to separate multiple repositories) | 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 waiting for message to be sent (and reply message if InOut messaging), in millis or as a duration such as 30s | 20000 | long |
| Display the help and sub-commands | boolean |