Interface NitriteEndpointBuilderFactory.NitriteEndpointConsumerBuilder

  • All Superinterfaces:
    org.apache.camel.builder.EndpointConsumerBuilder, org.apache.camel.EndpointConsumerResolver
    All Known Subinterfaces:
    NitriteEndpointBuilderFactory.NitriteEndpointBuilder
    Enclosing interface:
    NitriteEndpointBuilderFactory

    public static interface NitriteEndpointBuilderFactory.NitriteEndpointConsumerBuilder
    extends org.apache.camel.builder.EndpointConsumerBuilder
    Builder for endpoint consumers for the Nitrite component.
    • Method Detail

      • collection

        default NitriteEndpointBuilderFactory.NitriteEndpointConsumerBuilder collection​(String collection)
        Name of Nitrite collection. Cannot be used in combination with repositoryClass option. The option is a: <code>java.lang.String</code> type. Group: common
        Parameters:
        collection - the value to set
        Returns:
        the dsl builder
      • repositoryClass

        default NitriteEndpointBuilderFactory.NitriteEndpointConsumerBuilder repositoryClass​(Class<Object> repositoryClass)
        Class of Nitrite ObjectRepository. Cannot be used in combination with collection option. The option is a: <code>java.lang.Class&lt;java.lang.Object&gt;</code> type. Group: common
        Parameters:
        repositoryClass - the value to set
        Returns:
        the dsl builder
      • repositoryClass

        default NitriteEndpointBuilderFactory.NitriteEndpointConsumerBuilder repositoryClass​(String repositoryClass)
        Class of Nitrite ObjectRepository. Cannot be used in combination with collection option. The option will be converted to a <code>java.lang.Class&lt;java.lang.Object&gt;</code> type. Group: common
        Parameters:
        repositoryClass - the value to set
        Returns:
        the dsl builder
      • repositoryName

        default NitriteEndpointBuilderFactory.NitriteEndpointConsumerBuilder repositoryName​(String repositoryName)
        Optional name of ObjectRepository. Can be only used in combination with repositoryClass, otherwise have no effect. The option is a: <code>java.lang.String</code> type. Group: common
        Parameters:
        repositoryName - the value to set
        Returns:
        the dsl builder
      • bridgeErrorHandler

        default NitriteEndpointBuilderFactory.NitriteEndpointConsumerBuilder 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 NitriteEndpointBuilderFactory.NitriteEndpointConsumerBuilder 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