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, getUri
Methods inherited from interface org.apache.camel.EndpointConsumerResolver
resolve, resolve
Methods inherited from interface org.apache.camel.builder.EndpointProducerBuilder
doSetMultiValueProperties, doSetMultiValueProperty, doSetProperty, expr, getRawUri, getUri
Methods inherited from interface org.apache.camel.EndpointProducerResolver
resolve, resolve
Methods 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, scanStreamDelay
Methods inherited from interface org.apache.camel.builder.endpoint.dsl.StreamEndpointBuilderFactory.StreamEndpointProducerBuilder
appendNewLine, appendNewLine, autoCloseCount, autoCloseCount, closeOnDone, closeOnDone, delay, delay
-
Method Details
-
advanced
- Specified by:
advanced
in interfaceStreamEndpointBuilderFactory.StreamEndpointConsumerBuilder
- Specified by:
advanced
in 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:
encoding
in interfaceStreamEndpointBuilderFactory.StreamEndpointConsumerBuilder
- Specified by:
encoding
in 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:
fileName
in interfaceStreamEndpointBuilderFactory.StreamEndpointConsumerBuilder
- Specified by:
fileName
in interfaceStreamEndpointBuilderFactory.StreamEndpointProducerBuilder
- Parameters:
fileName
- the value to set- Returns:
- the dsl builder
-