Skip to main content

Crate camel_component_stream

Crate camel_component_stream 

Source
Expand description

Stream (stdio) component for rust-camel — routes exchange bodies between the process’s standard streams and the integration runtime.

Main types: StreamComponent, StreamEndpoint, StreamConfig, StreamTarget, StreamFrame. URI format: stream:out|err|in?appendNewline=true&charset=utf-8&frame=line.

§Targets

  • out / err: producers that write exchange bodies to stdout/stderr.
  • in: consumer that reads exchange bodies from stdin.

UTF-8 is the only supported charset in v1.

Structs§

StreamComponent
The Stream component routes exchange bodies to/from the process’s standard streams.
StreamConfig
Configuration parsed from a stream URI.

Enums§

StreamFrame
How the body bytes are framed on the stream.
StreamTarget
The standard stream an endpoint is bound to.