public static interface StreamEndpointBuilderFactory.StreamEndpointConsumerBuilder
extends org.apache.camel.builder.EndpointConsumerBuilder
| Modifier and Type | Method and Description |
|---|---|
default StreamEndpointBuilderFactory.AdvancedStreamEndpointConsumerBuilder |
advanced() |
default StreamEndpointBuilderFactory.StreamEndpointConsumerBuilder |
bridgeErrorHandler(boolean bridgeErrorHandler)
Allows for bridging the consumer to the Camel routing Error Handler,
which mean any exceptions occurred while the consumer is trying to
pickup incoming messages, or the likes, will now be processed as a
message and handled by the routing Error Handler.
|
default StreamEndpointBuilderFactory.StreamEndpointConsumerBuilder |
bridgeErrorHandler(String bridgeErrorHandler)
Allows for bridging the consumer to the Camel routing Error Handler,
which mean any exceptions occurred while the consumer is trying to
pickup incoming messages, or the likes, will now be processed as a
message and handled by the routing Error Handler.
|
default StreamEndpointBuilderFactory.StreamEndpointConsumerBuilder |
encoding(String encoding)
You can configure the encoding (is a charset name) to use text-based
streams (for example, message body is a String object).
|
default StreamEndpointBuilderFactory.StreamEndpointConsumerBuilder |
fileName(String fileName)
When using the stream:file URI format, this option specifies the
filename to stream to/from.
|
default StreamEndpointBuilderFactory.StreamEndpointConsumerBuilder |
fileWatcher(boolean fileWatcher)
To use JVM file watcher to listen for file change events to support
re-loading files that may be overwritten, somewhat like tail --retry.
|
default StreamEndpointBuilderFactory.StreamEndpointConsumerBuilder |
fileWatcher(String fileWatcher)
To use JVM file watcher to listen for file change events to support
re-loading files that may be overwritten, somewhat like tail --retry.
|
default StreamEndpointBuilderFactory.StreamEndpointConsumerBuilder |
groupLines(int groupLines)
To group X number of lines in the consumer.
|
default StreamEndpointBuilderFactory.StreamEndpointConsumerBuilder |
groupLines(String groupLines)
To group X number of lines in the consumer.
|
default StreamEndpointBuilderFactory.StreamEndpointConsumerBuilder |
groupStrategy(Object groupStrategy)
Allows to use a custom GroupStrategy to control how to group lines.
|
default StreamEndpointBuilderFactory.StreamEndpointConsumerBuilder |
groupStrategy(String groupStrategy)
Allows to use a custom GroupStrategy to control how to group lines.
|
default StreamEndpointBuilderFactory.StreamEndpointConsumerBuilder |
initialPromptDelay(long initialPromptDelay)
Initial delay in milliseconds before showing the message prompt.
|
default StreamEndpointBuilderFactory.StreamEndpointConsumerBuilder |
initialPromptDelay(String initialPromptDelay)
Initial delay in milliseconds before showing the message prompt.
|
default StreamEndpointBuilderFactory.StreamEndpointConsumerBuilder |
promptDelay(long promptDelay)
Optional delay in milliseconds before showing the message prompt.
|
default StreamEndpointBuilderFactory.StreamEndpointConsumerBuilder |
promptDelay(String promptDelay)
Optional delay in milliseconds before showing the message prompt.
|
default StreamEndpointBuilderFactory.StreamEndpointConsumerBuilder |
promptMessage(String promptMessage)
Message prompt to use when reading from stream:in; for example, you
could set this to Enter a command:.
|
default StreamEndpointBuilderFactory.StreamEndpointConsumerBuilder |
retry(boolean retry)
Will retry opening the stream if it's overwritten, somewhat like tail
--retry If reading from files then you should also enable the
fileWatcher option, to make it work reliable.
|
default StreamEndpointBuilderFactory.StreamEndpointConsumerBuilder |
retry(String retry)
Will retry opening the stream if it's overwritten, somewhat like tail
--retry If reading from files then you should also enable the
fileWatcher option, to make it work reliable.
|
default StreamEndpointBuilderFactory.StreamEndpointConsumerBuilder |
scanStream(boolean scanStream)
To be used for continuously reading a stream such as the unix tail
command.
|
default StreamEndpointBuilderFactory.StreamEndpointConsumerBuilder |
scanStream(String scanStream)
To be used for continuously reading a stream such as the unix tail
command.
|
default StreamEndpointBuilderFactory.StreamEndpointConsumerBuilder |
scanStreamDelay(long scanStreamDelay)
Delay in milliseconds between read attempts when using scanStream.
|
default StreamEndpointBuilderFactory.StreamEndpointConsumerBuilder |
scanStreamDelay(String scanStreamDelay)
Delay in milliseconds between read attempts when using scanStream.
|
default StreamEndpointBuilderFactory.AdvancedStreamEndpointConsumerBuilder advanced()
default StreamEndpointBuilderFactory.StreamEndpointConsumerBuilder encoding(String encoding)
java.lang.String type.
Group: commondefault StreamEndpointBuilderFactory.StreamEndpointConsumerBuilder fileName(String fileName)
java.lang.String type.
Group: commondefault StreamEndpointBuilderFactory.StreamEndpointConsumerBuilder bridgeErrorHandler(boolean bridgeErrorHandler)
boolean type.
Default: false
Group: consumerdefault StreamEndpointBuilderFactory.StreamEndpointConsumerBuilder bridgeErrorHandler(String bridgeErrorHandler)
boolean type.
Default: false
Group: consumerdefault StreamEndpointBuilderFactory.StreamEndpointConsumerBuilder fileWatcher(boolean fileWatcher)
boolean type.
Default: false
Group: consumerdefault StreamEndpointBuilderFactory.StreamEndpointConsumerBuilder fileWatcher(String fileWatcher)
boolean type.
Default: false
Group: consumerdefault StreamEndpointBuilderFactory.StreamEndpointConsumerBuilder groupLines(int groupLines)
int type.
Group: consumerdefault StreamEndpointBuilderFactory.StreamEndpointConsumerBuilder groupLines(String groupLines)
int type.
Group: consumerdefault StreamEndpointBuilderFactory.StreamEndpointConsumerBuilder groupStrategy(Object groupStrategy)
org.apache.camel.component.stream.GroupStrategy type.
Group: consumerdefault StreamEndpointBuilderFactory.StreamEndpointConsumerBuilder groupStrategy(String groupStrategy)
org.apache.camel.component.stream.GroupStrategy type.
Group: consumerdefault StreamEndpointBuilderFactory.StreamEndpointConsumerBuilder initialPromptDelay(long initialPromptDelay)
long type.
Default: 2000
Group: consumerdefault StreamEndpointBuilderFactory.StreamEndpointConsumerBuilder initialPromptDelay(String initialPromptDelay)
long type.
Default: 2000
Group: consumerdefault StreamEndpointBuilderFactory.StreamEndpointConsumerBuilder promptDelay(long promptDelay)
long type.
Group: consumerdefault StreamEndpointBuilderFactory.StreamEndpointConsumerBuilder promptDelay(String promptDelay)
long type.
Group: consumerdefault StreamEndpointBuilderFactory.StreamEndpointConsumerBuilder promptMessage(String promptMessage)
java.lang.String type.
Group: consumerdefault StreamEndpointBuilderFactory.StreamEndpointConsumerBuilder retry(boolean retry)
boolean type.
Default: false
Group: consumerdefault StreamEndpointBuilderFactory.StreamEndpointConsumerBuilder retry(String retry)
boolean type.
Default: false
Group: consumerdefault StreamEndpointBuilderFactory.StreamEndpointConsumerBuilder scanStream(boolean scanStream)
boolean type.
Default: false
Group: consumerdefault StreamEndpointBuilderFactory.StreamEndpointConsumerBuilder scanStream(String scanStream)
boolean type.
Default: false
Group: consumerdefault StreamEndpointBuilderFactory.StreamEndpointConsumerBuilder scanStreamDelay(long scanStreamDelay)
long type.
Group: consumerdefault StreamEndpointBuilderFactory.StreamEndpointConsumerBuilder scanStreamDelay(String scanStreamDelay)
long type.
Group: consumerApache Camel