Uses of Interface
org.apache.camel.builder.endpoint.dsl.SqlEndpointBuilderFactory.SqlEndpointConsumerBuilder
Packages that use SqlEndpointBuilderFactory.SqlEndpointConsumerBuilder
-
Uses of SqlEndpointBuilderFactory.SqlEndpointConsumerBuilder in org.apache.camel.builder.endpoint.dsl
Subinterfaces of SqlEndpointBuilderFactory.SqlEndpointConsumerBuilder in org.apache.camel.builder.endpoint.dslModifier and TypeInterfaceDescriptionstatic interfaceBuilder for endpoint for the SQL component.Methods in org.apache.camel.builder.endpoint.dsl that return SqlEndpointBuilderFactory.SqlEndpointConsumerBuilderModifier and TypeMethodDescriptionSqlEndpointBuilderFactory.SqlEndpointConsumerBuilder.allowNamedParameters(boolean allowNamedParameters) Whether to allow using named parameters in the queries.SqlEndpointBuilderFactory.SqlEndpointConsumerBuilder.allowNamedParameters(String allowNamedParameters) Whether to allow using named parameters in the queries.SqlEndpointBuilderFactory.SqlEndpointConsumerBuilder.backoffErrorThreshold(int backoffErrorThreshold) The number of subsequent error polls (failed due some error) that should happen before the backoffMultipler should kick-in.SqlEndpointBuilderFactory.SqlEndpointConsumerBuilder.backoffErrorThreshold(String backoffErrorThreshold) The number of subsequent error polls (failed due some error) that should happen before the backoffMultipler should kick-in.SqlEndpointBuilderFactory.SqlEndpointConsumerBuilder.backoffIdleThreshold(int backoffIdleThreshold) The number of subsequent idle polls that should happen before the backoffMultipler should kick-in.SqlEndpointBuilderFactory.SqlEndpointConsumerBuilder.backoffIdleThreshold(String backoffIdleThreshold) The number of subsequent idle polls that should happen before the backoffMultipler should kick-in.SqlEndpointBuilderFactory.SqlEndpointConsumerBuilder.backoffMultiplier(int backoffMultiplier) To let the scheduled polling consumer backoff if there has been a number of subsequent idles/errors in a row.SqlEndpointBuilderFactory.SqlEndpointConsumerBuilder.backoffMultiplier(String backoffMultiplier) To let the scheduled polling consumer backoff if there has been a number of subsequent idles/errors in a row.SqlEndpointBuilderFactory.AdvancedSqlEndpointConsumerBuilder.basic()SqlEndpointBuilderFactory.SqlEndpointConsumerBuilder.breakBatchOnConsumeFail(boolean breakBatchOnConsumeFail) Sets whether to break batch if onConsume failed.SqlEndpointBuilderFactory.SqlEndpointConsumerBuilder.breakBatchOnConsumeFail(String breakBatchOnConsumeFail) Sets whether to break batch if onConsume failed.SqlEndpointBuilderFactory.SqlEndpointConsumerBuilder.dataSource(String dataSource) Sets the DataSource to use to communicate with the database at endpoint level.SqlEndpointBuilderFactory.SqlEndpointConsumerBuilder.dataSource(DataSource dataSource) Sets the DataSource to use to communicate with the database at endpoint level.SqlEndpointBuilderFactory.SqlEndpointConsumerBuilder.delay(long delay) Milliseconds before the next poll.Milliseconds before the next poll.SqlEndpointBuilderFactory.SqlEndpointConsumerBuilder.expectedUpdateCount(int expectedUpdateCount) Sets an expected update count to validate when using onConsume.SqlEndpointBuilderFactory.SqlEndpointConsumerBuilder.expectedUpdateCount(String expectedUpdateCount) Sets an expected update count to validate when using onConsume.SqlEndpointBuilderFactory.SqlEndpointConsumerBuilder.greedy(boolean greedy) If greedy is enabled, then the ScheduledPollConsumer will run immediately again, if the previous run polled 1 or more messages.If greedy is enabled, then the ScheduledPollConsumer will run immediately again, if the previous run polled 1 or more messages.SqlEndpointBuilderFactory.SqlEndpointConsumerBuilder.initialDelay(long initialDelay) Milliseconds before the first poll starts.SqlEndpointBuilderFactory.SqlEndpointConsumerBuilder.initialDelay(String initialDelay) Milliseconds before the first poll starts.SqlEndpointBuilderFactory.SqlEndpointConsumerBuilder.maxMessagesPerPoll(int maxMessagesPerPoll) Sets the maximum number of messages to poll.SqlEndpointBuilderFactory.SqlEndpointConsumerBuilder.maxMessagesPerPoll(String maxMessagesPerPoll) Sets the maximum number of messages to poll.After processing each row then this query can be executed, if the Exchange was processed successfully, for example to mark the row as processed.SqlEndpointBuilderFactory.SqlEndpointConsumerBuilder.onConsumeBatchComplete(String onConsumeBatchComplete) After processing the entire batch, this query can be executed to bulk update rows etc.SqlEndpointBuilderFactory.SqlEndpointConsumerBuilder.onConsumeFailed(String onConsumeFailed) After processing each row then this query can be executed, if the Exchange failed, for example to mark the row as failed.SqlEndpointBuilderFactory.SqlEndpointConsumerBuilder.outputClass(String outputClass) Specify the full package and class name to use as conversion when outputType=SelectOne.SqlEndpointBuilderFactory.SqlEndpointConsumerBuilder.outputHeader(String outputHeader) Store the query result in a header instead of the message body.SqlEndpointBuilderFactory.SqlEndpointConsumerBuilder.outputType(String outputType) Make the output of consumer or producer to SelectList as List of Map, or SelectOne as single Java object in the following way: a) If the query has only single column, then that JDBC Column object is returned.SqlEndpointBuilderFactory.SqlEndpointConsumerBuilder.outputType(org.apache.camel.component.sql.SqlOutputType outputType) Make the output of consumer or producer to SelectList as List of Map, or SelectOne as single Java object in the following way: a) If the query has only single column, then that JDBC Column object is returned.SqlEndpointBuilderFactory.SqlEndpointConsumerBuilder.repeatCount(long repeatCount) Specifies a maximum limit of number of fires.SqlEndpointBuilderFactory.SqlEndpointConsumerBuilder.repeatCount(String repeatCount) Specifies a maximum limit of number of fires.SqlEndpointBuilderFactory.SqlEndpointConsumerBuilder.routeEmptyResultSet(boolean routeEmptyResultSet) Sets whether empty resultset should be allowed to be sent to the next hop.SqlEndpointBuilderFactory.SqlEndpointConsumerBuilder.routeEmptyResultSet(String routeEmptyResultSet) Sets whether empty resultset should be allowed to be sent to the next hop.SqlEndpointBuilderFactory.SqlEndpointConsumerBuilder.runLoggingLevel(String runLoggingLevel) The consumer logs a start/complete log line when it polls.SqlEndpointBuilderFactory.SqlEndpointConsumerBuilder.runLoggingLevel(org.apache.camel.LoggingLevel runLoggingLevel) The consumer logs a start/complete log line when it polls.SqlEndpointBuilderFactory.SqlEndpointConsumerBuilder.scheduledExecutorService(String scheduledExecutorService) Allows for configuring a custom/shared thread pool to use for the consumer.SqlEndpointBuilderFactory.SqlEndpointConsumerBuilder.scheduledExecutorService(ScheduledExecutorService scheduledExecutorService) Allows for configuring a custom/shared thread pool to use for the consumer.To use a cron scheduler from either camel-spring or camel-quartz component.To use a cron scheduler from either camel-spring or camel-quartz component.SqlEndpointBuilderFactory.SqlEndpointConsumerBuilder.schedulerProperties(String key, Object value) To configure additional properties when using a custom scheduler or any of the Quartz, Spring based scheduler.SqlEndpointBuilderFactory.SqlEndpointConsumerBuilder.schedulerProperties(Map values) To configure additional properties when using a custom scheduler or any of the Quartz, Spring based scheduler.SqlEndpointBuilderFactory.SqlEndpointConsumerBuilder.sendEmptyMessageWhenIdle(boolean sendEmptyMessageWhenIdle) If the polling consumer did not poll any files, you can enable this option to send an empty message (no body) instead.SqlEndpointBuilderFactory.SqlEndpointConsumerBuilder.sendEmptyMessageWhenIdle(String sendEmptyMessageWhenIdle) If the polling consumer did not poll any files, you can enable this option to send an empty message (no body) instead.SqlEndpointBuilderFactory.SqlEndpointConsumerBuilder.separator(char separator) The separator to use when parameter values is taken from message body (if the body is a String type), to be inserted at # placeholders.The separator to use when parameter values is taken from message body (if the body is a String type), to be inserted at # placeholders.SqlEndpointBuilderFactory.SqlEndpointConsumerBuilder.startScheduler(boolean startScheduler) Whether the scheduler should be auto started.SqlEndpointBuilderFactory.SqlEndpointConsumerBuilder.startScheduler(String startScheduler) Whether the scheduler should be auto started.Time unit for initialDelay and delay options.Time unit for initialDelay and delay options.SqlEndpointBuilderFactory.SqlEndpointConsumerBuilder.transacted(boolean transacted) Enables or disables transaction.SqlEndpointBuilderFactory.SqlEndpointConsumerBuilder.transacted(String transacted) Enables or disables transaction.SqlEndpointBuilderFactory.SqlEndpointConsumerBuilder.useFixedDelay(boolean useFixedDelay) Controls if fixed delay or fixed rate is used.SqlEndpointBuilderFactory.SqlEndpointConsumerBuilder.useFixedDelay(String useFixedDelay) Controls if fixed delay or fixed rate is used.SqlEndpointBuilderFactory.SqlEndpointConsumerBuilder.useIterator(boolean useIterator) Sets how resultset should be delivered to route.SqlEndpointBuilderFactory.SqlEndpointConsumerBuilder.useIterator(String useIterator) Sets how resultset should be delivered to route.