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 Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default NitriteEndpointBuilderFactory.AdvancedNitriteEndpointConsumerBuilder
advanced()
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.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.default NitriteEndpointBuilderFactory.NitriteEndpointConsumerBuilder
collection(String collection)
Name of Nitrite collection.default NitriteEndpointBuilderFactory.NitriteEndpointConsumerBuilder
password(String password)
Password for Nitrite database.default NitriteEndpointBuilderFactory.NitriteEndpointConsumerBuilder
repositoryClass(Class<Object> repositoryClass)
Class of Nitrite ObjectRepository.default NitriteEndpointBuilderFactory.NitriteEndpointConsumerBuilder
repositoryClass(String repositoryClass)
Class of Nitrite ObjectRepository.default NitriteEndpointBuilderFactory.NitriteEndpointConsumerBuilder
repositoryName(String repositoryName)
Optional name of ObjectRepository.default NitriteEndpointBuilderFactory.NitriteEndpointConsumerBuilder
username(String username)
Username for Nitrite database.
-
-
-
Method Detail
-
advanced
default NitriteEndpointBuilderFactory.AdvancedNitriteEndpointConsumerBuilder advanced()
-
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<java.lang.Object></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<java.lang.Object></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
-
password
default NitriteEndpointBuilderFactory.NitriteEndpointConsumerBuilder password(String password)
Password for Nitrite database. Required, if option username specified. The option is a: <code>java.lang.String</code> type. Group: security- Parameters:
password
- the value to set- Returns:
- the dsl builder
-
username
default NitriteEndpointBuilderFactory.NitriteEndpointConsumerBuilder username(String username)
Username for Nitrite database. Database is not secured if option not specified. The option is a: <code>java.lang.String</code> type. Group: security- Parameters:
username
- the value to set- Returns:
- the dsl builder
-
-