camel cmd receive

Receive and dump messages from remote endpoints

Usage

camel cmd receive [options]

Options

Option Description Default Type

--action

Action to start, stop, clear, status, or dump messages

status

String

--compact

Compact output (no empty line separating messages)

true

boolean

--endpoint,--uri

Endpoint to receive messages from (can be uri or pattern to refer to existing endpoint)

String

--find

Find and highlight matching text (ignore case).

String

--follow

Keep following and outputting new messages (press enter to exit).

true

boolean

--grep

Filter messages to only output matching text (ignore case).

String

--logging-color

Use colored logging

true

boolean

--mask

Whether to mask endpoint URIs to avoid printing sensitive information such as password or access keys

boolean

--only-body

Show only message body in received messages

false

boolean

--output

Output format (text or json)

String

--prefix

Print prefix with running Camel integration name. auto=only prefix when running multiple integrations. true=always prefix. false=prefix off.

auto

String

--pretty

Pretty print message body 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

--short-uri

List endpoint URI without query parameters (short)

boolean

--show-body

Show message body in received messages

true

boolean

--show-exchange-properties

Show exchange properties in received messages

false

boolean

--show-exchange-variables

Show exchange variables in received messages

false

boolean

--show-headers

Show message headers in received messages

true

boolean

--since

Return messages newer than a relative duration like 5s, 2m, or 1h. The value is in seconds if no unit specified.

String

--sort

Sort by pid, name or age for showing status of messages

pid

String

--tail

The number of messages from the end to show. Use -1 to read from the beginning. Use 0 to read only new lines. Defaults to showing all messages from beginning.

-1

int

--timeout

Timeout in millis waiting for message to be received

20000

long

--wide-uri

List endpoint URI in full details

boolean

-h,--help

Display the help and sub-commands

boolean