Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Name

Default Value

Description

file

null

When using the stream:file notation this specifies the file name to stream to/from. @deprecated.

delay

0

Initial delay in millis before consuming or producing the stream.

encoding

JVM Default

As of Camel 1.4 or later you can configure the Charset encoding can be set for the encoding (is a charset name) to use text based streams . i.e. content is String object(eg. message body is a String object). If not provided Camel will use the JVM default Charset.

Message content

The stream: component supports either String or byte[] for writing to streams. Just add to the message.in.body either a Stirng or byte[] content.
The special stream:header URI is used for custom output streams. Just add a java.io.OutputStream to message.in.header in the key header.
See samples for an example.

...