Interface FlatpackEndpointBuilderFactory.FlatpackEndpointProducerBuilder
-
- All Superinterfaces:
org.apache.camel.builder.EndpointProducerBuilder,org.apache.camel.EndpointProducerResolver
- All Known Subinterfaces:
FlatpackEndpointBuilderFactory.FlatpackEndpointBuilder
- Enclosing interface:
- FlatpackEndpointBuilderFactory
public static interface FlatpackEndpointBuilderFactory.FlatpackEndpointProducerBuilder extends org.apache.camel.builder.EndpointProducerBuilderBuilder for endpoint producers for the Flatpack component.
-
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default FlatpackEndpointBuilderFactory.AdvancedFlatpackEndpointProducerBuilderadvanced()default FlatpackEndpointBuilderFactory.FlatpackEndpointProducerBuilderallowShortLines(boolean allowShortLines)Allows for lines to be shorter than expected and ignores the extra characters.default FlatpackEndpointBuilderFactory.FlatpackEndpointProducerBuilderallowShortLines(String allowShortLines)Allows for lines to be shorter than expected and ignores the extra characters.default FlatpackEndpointBuilderFactory.FlatpackEndpointProducerBuilderdelimiter(char delimiter)The default character delimiter for delimited files.default FlatpackEndpointBuilderFactory.FlatpackEndpointProducerBuilderdelimiter(String delimiter)The default character delimiter for delimited files.default FlatpackEndpointBuilderFactory.FlatpackEndpointProducerBuilderignoreExtraColumns(boolean ignoreExtraColumns)Allows for lines to be longer than expected and ignores the extra characters.default FlatpackEndpointBuilderFactory.FlatpackEndpointProducerBuilderignoreExtraColumns(String ignoreExtraColumns)Allows for lines to be longer than expected and ignores the extra characters.default FlatpackEndpointBuilderFactory.FlatpackEndpointProducerBuilderignoreFirstRecord(boolean ignoreFirstRecord)Whether the first line is ignored for delimited files (for the column headers).default FlatpackEndpointBuilderFactory.FlatpackEndpointProducerBuilderignoreFirstRecord(String ignoreFirstRecord)Whether the first line is ignored for delimited files (for the column headers).default FlatpackEndpointBuilderFactory.FlatpackEndpointProducerBuilderlazyStartProducer(boolean lazyStartProducer)Whether the producer should be started lazy (on the first message).default FlatpackEndpointBuilderFactory.FlatpackEndpointProducerBuilderlazyStartProducer(String lazyStartProducer)Whether the producer should be started lazy (on the first message).default FlatpackEndpointBuilderFactory.FlatpackEndpointProducerBuildersplitRows(boolean splitRows)Sets the Component to send each row as a separate exchange once parsed.default FlatpackEndpointBuilderFactory.FlatpackEndpointProducerBuildersplitRows(String splitRows)Sets the Component to send each row as a separate exchange once parsed.default FlatpackEndpointBuilderFactory.FlatpackEndpointProducerBuildertextQualifier(char textQualifier)The text qualifier for delimited files.default FlatpackEndpointBuilderFactory.FlatpackEndpointProducerBuildertextQualifier(String textQualifier)The text qualifier for delimited files.
-
-
-
Method Detail
-
advanced
default FlatpackEndpointBuilderFactory.AdvancedFlatpackEndpointProducerBuilder advanced()
-
allowShortLines
default FlatpackEndpointBuilderFactory.FlatpackEndpointProducerBuilder allowShortLines(boolean allowShortLines)
Allows for lines to be shorter than expected and ignores the extra characters. The option is a: <code>boolean</code> type. Default: false Group: common- Parameters:
allowShortLines- the value to set- Returns:
- the dsl builder
-
allowShortLines
default FlatpackEndpointBuilderFactory.FlatpackEndpointProducerBuilder allowShortLines(String allowShortLines)
Allows for lines to be shorter than expected and ignores the extra characters. The option will be converted to a <code>boolean</code> type. Default: false Group: common- Parameters:
allowShortLines- the value to set- Returns:
- the dsl builder
-
delimiter
default FlatpackEndpointBuilderFactory.FlatpackEndpointProducerBuilder delimiter(char delimiter)
The default character delimiter for delimited files. The option is a: <code>char</code> type. Default: , Group: common- Parameters:
delimiter- the value to set- Returns:
- the dsl builder
-
delimiter
default FlatpackEndpointBuilderFactory.FlatpackEndpointProducerBuilder delimiter(String delimiter)
The default character delimiter for delimited files. The option will be converted to a <code>char</code> type. Default: , Group: common- Parameters:
delimiter- the value to set- Returns:
- the dsl builder
-
ignoreExtraColumns
default FlatpackEndpointBuilderFactory.FlatpackEndpointProducerBuilder ignoreExtraColumns(boolean ignoreExtraColumns)
Allows for lines to be longer than expected and ignores the extra characters. The option is a: <code>boolean</code> type. Default: false Group: common- Parameters:
ignoreExtraColumns- the value to set- Returns:
- the dsl builder
-
ignoreExtraColumns
default FlatpackEndpointBuilderFactory.FlatpackEndpointProducerBuilder ignoreExtraColumns(String ignoreExtraColumns)
Allows for lines to be longer than expected and ignores the extra characters. The option will be converted to a <code>boolean</code> type. Default: false Group: common- Parameters:
ignoreExtraColumns- the value to set- Returns:
- the dsl builder
-
ignoreFirstRecord
default FlatpackEndpointBuilderFactory.FlatpackEndpointProducerBuilder ignoreFirstRecord(boolean ignoreFirstRecord)
Whether the first line is ignored for delimited files (for the column headers). The option is a: <code>boolean</code> type. Default: true Group: common- Parameters:
ignoreFirstRecord- the value to set- Returns:
- the dsl builder
-
ignoreFirstRecord
default FlatpackEndpointBuilderFactory.FlatpackEndpointProducerBuilder ignoreFirstRecord(String ignoreFirstRecord)
Whether the first line is ignored for delimited files (for the column headers). The option will be converted to a <code>boolean</code> type. Default: true Group: common- Parameters:
ignoreFirstRecord- the value to set- Returns:
- the dsl builder
-
splitRows
default FlatpackEndpointBuilderFactory.FlatpackEndpointProducerBuilder splitRows(boolean splitRows)
Sets the Component to send each row as a separate exchange once parsed. The option is a: <code>boolean</code> type. Default: true Group: common- Parameters:
splitRows- the value to set- Returns:
- the dsl builder
-
splitRows
default FlatpackEndpointBuilderFactory.FlatpackEndpointProducerBuilder splitRows(String splitRows)
Sets the Component to send each row as a separate exchange once parsed. The option will be converted to a <code>boolean</code> type. Default: true Group: common- Parameters:
splitRows- the value to set- Returns:
- the dsl builder
-
textQualifier
default FlatpackEndpointBuilderFactory.FlatpackEndpointProducerBuilder textQualifier(char textQualifier)
The text qualifier for delimited files. The option is a: <code>char</code> type. Group: common- Parameters:
textQualifier- the value to set- Returns:
- the dsl builder
-
textQualifier
default FlatpackEndpointBuilderFactory.FlatpackEndpointProducerBuilder textQualifier(String textQualifier)
The text qualifier for delimited files. The option will be converted to a <code>char</code> type. Group: common- Parameters:
textQualifier- the value to set- Returns:
- the dsl builder
-
lazyStartProducer
default FlatpackEndpointBuilderFactory.FlatpackEndpointProducerBuilder lazyStartProducer(boolean lazyStartProducer)
Whether the producer should be started lazy (on the first message). By starting lazy you can use this to allow CamelContext and routes to startup in situations where a producer may otherwise fail during starting and cause the route to fail being started. By deferring this startup to be lazy then the startup failure can be handled during routing messages via Camel's routing error handlers. Beware that when the first message is processed then creating and starting the producer may take a little time and prolong the total processing time of the processing. The option is a: <code>boolean</code> type. Default: false Group: producer- Parameters:
lazyStartProducer- the value to set- Returns:
- the dsl builder
-
lazyStartProducer
default FlatpackEndpointBuilderFactory.FlatpackEndpointProducerBuilder lazyStartProducer(String lazyStartProducer)
Whether the producer should be started lazy (on the first message). By starting lazy you can use this to allow CamelContext and routes to startup in situations where a producer may otherwise fail during starting and cause the route to fail being started. By deferring this startup to be lazy then the startup failure can be handled during routing messages via Camel's routing error handlers. Beware that when the first message is processed then creating and starting the producer may take a little time and prolong the total processing time of the processing. The option will be converted to a <code>boolean</code> type. Default: false Group: producer- Parameters:
lazyStartProducer- the value to set- Returns:
- the dsl builder
-
-