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: <code>javax.sql.DataSource</code> type. Group: common- Parameters:
datasource
- the value to set- Returns:
- the dsl builder
-
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 a <code>javax.sql.DataSource</code> type. Group: common- Parameters:
datasource
- the value to set- Returns:
- the dsl builder
-
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: <code>boolean</code> type. Default: false Group: consumer- Parameters:
bridgeErrorHandler
- the value to set- Returns:
- the dsl builder
-
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 a <code>boolean</code> type. Default: false Group: consumer- Parameters:
bridgeErrorHandler
- the value to set- Returns:
- the dsl builder
-
pass
default PgEventEndpointBuilderFactory.PgEventEndpointConsumerBuilder pass(String pass)
Password for login. The option is a: <code>java.lang.String</code> type. Group: security- Parameters:
pass
- the value to set- Returns:
- the dsl builder
-
user
default PgEventEndpointBuilderFactory.PgEventEndpointConsumerBuilder user(String user)
Username for login. The option is a: <code>java.lang.String</code> type. Default: postgres Group: security- Parameters:
user
- the value to set- Returns:
- the dsl builder
-
-