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
All Methods Instance Methods Default Methods Modifier and Type Method Description default StreamEndpointBuilderFactory.AdvancedStreamEndpointBuilder
advanced()
default StreamEndpointBuilderFactory.StreamEndpointBuilder
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.StreamEndpointBuilder
fileName(String fileName)
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.builder.EndpointProducerBuilder
doSetMultiValueProperties, doSetMultiValueProperty, doSetProperty, expr, getRawUri, getUri
-
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 Detail
-
advanced
default StreamEndpointBuilderFactory.AdvancedStreamEndpointBuilder advanced()
- Specified by:
advanced
in interfaceStreamEndpointBuilderFactory.StreamEndpointConsumerBuilder
- Specified by:
advanced
in interfaceStreamEndpointBuilderFactory.StreamEndpointProducerBuilder
-
encoding
default StreamEndpointBuilderFactory.StreamEndpointBuilder 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). 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
default StreamEndpointBuilderFactory.StreamEndpointBuilder fileName(String 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
-
-