Uses of Interface
org.apache.camel.builder.endpoint.dsl.StreamEndpointBuilderFactory.StreamEndpointConsumerBuilder
Packages that use StreamEndpointBuilderFactory.StreamEndpointConsumerBuilder
-
Uses of StreamEndpointBuilderFactory.StreamEndpointConsumerBuilder in org.apache.camel.builder.endpoint.dsl
Subinterfaces of StreamEndpointBuilderFactory.StreamEndpointConsumerBuilder in org.apache.camel.builder.endpoint.dslModifier and TypeInterfaceDescriptionstatic interfaceBuilder for endpoint for the Stream component.Methods in org.apache.camel.builder.endpoint.dsl that return StreamEndpointBuilderFactory.StreamEndpointConsumerBuilderModifier and TypeMethodDescriptionStreamEndpointBuilderFactory.AdvancedStreamEndpointConsumerBuilder.basic()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.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.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.StreamEndpointBuilderFactory.StreamEndpointConsumerBuilder.groupLines(int groupLines) To group X number of lines in the consumer.StreamEndpointBuilderFactory.StreamEndpointConsumerBuilder.groupLines(String groupLines) To group X number of lines in the consumer.StreamEndpointBuilderFactory.StreamEndpointConsumerBuilder.groupStrategy(String groupStrategy) Allows to use a custom GroupStrategy to control how to group lines.StreamEndpointBuilderFactory.StreamEndpointConsumerBuilder.groupStrategy(org.apache.camel.component.stream.GroupStrategy groupStrategy) Allows to use a custom GroupStrategy to control how to group lines.StreamEndpointBuilderFactory.StreamEndpointConsumerBuilder.httpHeaders(String httpHeaders) When using stream:http format, this option specifies optional http headers, such as Accept: application/json.When using stream:http format, this option specifies the http url to stream from.StreamEndpointBuilderFactory.StreamEndpointConsumerBuilder.initialPromptDelay(long initialPromptDelay) Initial delay in milliseconds before showing the message prompt.StreamEndpointBuilderFactory.StreamEndpointConsumerBuilder.initialPromptDelay(String initialPromptDelay) Initial delay in milliseconds before showing the message prompt.StreamEndpointBuilderFactory.StreamEndpointConsumerBuilder.promptDelay(long promptDelay) Optional delay in milliseconds before showing the message prompt.StreamEndpointBuilderFactory.StreamEndpointConsumerBuilder.promptDelay(String promptDelay) Optional delay in milliseconds before showing the message prompt.StreamEndpointBuilderFactory.StreamEndpointConsumerBuilder.promptMessage(String promptMessage) Message prompt to use when reading from stream:in; for example, you could set this to Enter a command:.StreamEndpointBuilderFactory.StreamEndpointConsumerBuilder.readLine(boolean readLine) Whether to read the input stream in line mode (terminate by line breaks).Whether to read the input stream in line mode (terminate by line breaks).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.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.StreamEndpointBuilderFactory.StreamEndpointConsumerBuilder.scanStream(boolean scanStream) To be used for continuously reading a stream such as the unix tail command.StreamEndpointBuilderFactory.StreamEndpointConsumerBuilder.scanStream(String scanStream) To be used for continuously reading a stream such as the unix tail command.StreamEndpointBuilderFactory.StreamEndpointConsumerBuilder.scanStreamDelay(long scanStreamDelay) Delay in milliseconds between read attempts when using scanStream.StreamEndpointBuilderFactory.StreamEndpointConsumerBuilder.scanStreamDelay(String scanStreamDelay) Delay in milliseconds between read attempts when using scanStream.