Interface StreamEndpointBuilderFactory.StreamEndpointBuilder
- All Superinterfaces:
org.apache.camel.builder.EndpointConsumerBuilder,org.apache.camel.EndpointConsumerResolver,org.apache.camel.builder.EndpointProducerBuilder,org.apache.camel.EndpointProducerResolver,StreamEndpointBuilderFactory.StreamEndpointConsumerBuilder,StreamEndpointBuilderFactory.StreamEndpointProducerBuilder
- Enclosing interface:
StreamEndpointBuilderFactory
public static interface StreamEndpointBuilderFactory.StreamEndpointBuilder
extends StreamEndpointBuilderFactory.StreamEndpointConsumerBuilder, StreamEndpointBuilderFactory.StreamEndpointProducerBuilder
Builder for endpoint for the Stream component.
-
Method Summary
Modifier and TypeMethodDescriptionadvanced()You can configure the encoding (is a charset name) to use text-based streams (for example, message body is a String object).When using the stream:file URI format, this option specifies the filename to stream to/from.Methods inherited from interface org.apache.camel.builder.EndpointConsumerBuilder
doSetMultiValueProperties, doSetMultiValueProperty, doSetProperty, expr, getRawUri, getUriMethods inherited from interface org.apache.camel.EndpointConsumerResolver
resolve, resolveMethods inherited from interface org.apache.camel.builder.EndpointProducerBuilder
doSetMultiValueProperties, doSetMultiValueProperty, doSetProperty, expr, getRawUri, getUriMethods inherited from interface org.apache.camel.EndpointProducerResolver
resolve, resolveMethods inherited from interface org.apache.camel.builder.endpoint.dsl.StreamEndpointBuilderFactory.StreamEndpointConsumerBuilder
fileWatcher, fileWatcher, groupLines, groupLines, groupStrategy, groupStrategy, httpHeaders, httpUrl, initialPromptDelay, initialPromptDelay, promptDelay, promptDelay, promptMessage, readLine, readLine, retry, retry, scanStream, scanStream, scanStreamDelay, scanStreamDelayMethods inherited from interface org.apache.camel.builder.endpoint.dsl.StreamEndpointBuilderFactory.StreamEndpointProducerBuilder
appendNewLine, appendNewLine, autoCloseCount, autoCloseCount, closeOnDone, closeOnDone, delay, delay
-
Method Details
-
advanced
- Specified by:
advancedin interfaceStreamEndpointBuilderFactory.StreamEndpointConsumerBuilder- Specified by:
advancedin interfaceStreamEndpointBuilderFactory.StreamEndpointProducerBuilder
-
encoding
You can configure the encoding (is a charset name) to use text-based streams (for example, message body is a String object). If not provided, Camel uses the JVM default Charset. The option is a: <code>java.lang.String</code> type. Group: common- Specified by:
encodingin interfaceStreamEndpointBuilderFactory.StreamEndpointConsumerBuilder- Specified by:
encodingin interfaceStreamEndpointBuilderFactory.StreamEndpointProducerBuilder- Parameters:
encoding- the value to set- Returns:
- the dsl builder
-
fileName
When using the stream:file URI format, this option specifies the filename to stream to/from. The option is a: <code>java.lang.String</code> type. Group: common- Specified by:
fileNamein interfaceStreamEndpointBuilderFactory.StreamEndpointConsumerBuilder- Specified by:
fileNamein interfaceStreamEndpointBuilderFactory.StreamEndpointProducerBuilder- Parameters:
fileName- the value to set- Returns:
- the dsl builder
-