camel cmd send

Send messages to endpoints

Usage

camel cmd send [options]

Options

Option Description Default Type

--body

Message body to send (prefix with file: to refer to loading message body from file)

String

--endpoint,--uri

Endpoint where to send the message (can be uri, pattern, or refer to a route id)

String

--header

Message header (key=value)

List

--logging-color

Use colored logging

true

boolean

--poll

Poll instead of sending a message. This can be used to receive latest message from a Kafka topic or JMS queue.

boolean

--pretty

Pretty print response message body (InOut) when using JSon or XML format

boolean

--prop,--property

Additional properties; override existing (only applicable when NOT using an existing running Camel)

String

--properties

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

--reply

Whether to expect a reply message (InOut vs InOut messaging style)

boolean

--reply-file

Saves reply message to the file with the given name (override if exists)

String

--show-body

Show message body from response message (InOut)

true

boolean

--show-exception

Show exception and stacktrace for failed messages

true

boolean

--show-exchange-properties

Show exchange properties from response message (InOut)

false

boolean

--show-exchange-variables

Show exchange variables from response message (InOut)

false

boolean

--show-headers

Show message headers from response message (InOut)

true

boolean

--timeout

Timeout in millis waiting for message to be sent (and reply message if InOut messaging)

20000

long

-h,--help

Display the help and sub-commands

boolean