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 Detail

      • 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