Interface PgEventEndpointBuilderFactory.PgEventEndpointConsumerBuilder
-
- All Superinterfaces:
org.apache.camel.builder.EndpointConsumerBuilder
,org.apache.camel.EndpointConsumerResolver
- All Known Subinterfaces:
PgEventEndpointBuilderFactory.PgEventEndpointBuilder
- Enclosing interface:
- PgEventEndpointBuilderFactory
public static interface PgEventEndpointBuilderFactory.PgEventEndpointConsumerBuilder extends org.apache.camel.builder.EndpointConsumerBuilder
Builder for endpoint consumers for the PostgresSQL Event component.
-
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default PgEventEndpointBuilderFactory.AdvancedPgEventEndpointConsumerBuilder
advanced()
default PgEventEndpointBuilderFactory.PgEventEndpointConsumerBuilder
bridgeErrorHandler(boolean bridgeErrorHandler)
Allows for bridging the consumer to the Camel routing Error Handler, which mean any exceptions occurred while the consumer is trying to pickup incoming messages, or the likes, will now be processed as a message and handled by the routing Error Handler.default PgEventEndpointBuilderFactory.PgEventEndpointConsumerBuilder
bridgeErrorHandler(String bridgeErrorHandler)
Allows for bridging the consumer to the Camel routing Error Handler, which mean any exceptions occurred while the consumer is trying to pickup incoming messages, or the likes, will now be processed as a message and handled by the routing Error Handler.default PgEventEndpointBuilderFactory.PgEventEndpointConsumerBuilder
datasource(Object datasource)
To connect using the given javax.sql.DataSource instead of using hostname and port.default PgEventEndpointBuilderFactory.PgEventEndpointConsumerBuilder
datasource(String datasource)
To connect using the given javax.sql.DataSource instead of using hostname and port.default PgEventEndpointBuilderFactory.PgEventEndpointConsumerBuilder
pass(String pass)
Password for login.default PgEventEndpointBuilderFactory.PgEventEndpointConsumerBuilder
user(String user)
Username for login.
-
-
-
Method Detail
-
advanced
default PgEventEndpointBuilderFactory.AdvancedPgEventEndpointConsumerBuilder advanced()
-
datasource
default PgEventEndpointBuilderFactory.PgEventEndpointConsumerBuilder datasource(Object datasource)
To connect using the given javax.sql.DataSource instead of using hostname and port. The option is a:javax.sql.DataSource
type. Group: common
-
datasource
default PgEventEndpointBuilderFactory.PgEventEndpointConsumerBuilder datasource(String datasource)
To connect using the given javax.sql.DataSource instead of using hostname and port. The option will be converted to ajavax.sql.DataSource
type. Group: common
-
bridgeErrorHandler
default PgEventEndpointBuilderFactory.PgEventEndpointConsumerBuilder bridgeErrorHandler(boolean bridgeErrorHandler)
Allows for bridging the consumer to the Camel routing Error Handler, which mean any exceptions occurred while the consumer is trying to pickup incoming messages, or the likes, will now be processed as a message and handled by the routing Error Handler. By default the consumer will use the org.apache.camel.spi.ExceptionHandler to deal with exceptions, that will be logged at WARN or ERROR level and ignored. The option is a:boolean
type. Default: false Group: consumer
-
bridgeErrorHandler
default PgEventEndpointBuilderFactory.PgEventEndpointConsumerBuilder bridgeErrorHandler(String bridgeErrorHandler)
Allows for bridging the consumer to the Camel routing Error Handler, which mean any exceptions occurred while the consumer is trying to pickup incoming messages, or the likes, will now be processed as a message and handled by the routing Error Handler. By default the consumer will use the org.apache.camel.spi.ExceptionHandler to deal with exceptions, that will be logged at WARN or ERROR level and ignored. The option will be converted to aboolean
type. Default: false Group: consumer
-
pass
default PgEventEndpointBuilderFactory.PgEventEndpointConsumerBuilder pass(String pass)
Password for login. The option is a:java.lang.String
type. Group: security
-
user
default PgEventEndpointBuilderFactory.PgEventEndpointConsumerBuilder user(String user)
Username for login. The option is a:java.lang.String
type. Default: postgres Group: security
-
-