Interface JBPMEndpointBuilderFactory.AdvancedJBPMEndpointConsumerBuilder
-
- All Superinterfaces:
org.apache.camel.builder.EndpointConsumerBuilder
,org.apache.camel.EndpointConsumerResolver
- All Known Subinterfaces:
JBPMEndpointBuilderFactory.AdvancedJBPMEndpointBuilder
- Enclosing interface:
- JBPMEndpointBuilderFactory
public static interface JBPMEndpointBuilderFactory.AdvancedJBPMEndpointConsumerBuilder extends org.apache.camel.builder.EndpointConsumerBuilder
Advanced builder for endpoint consumers for the JBPM component.
-
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default JBPMEndpointBuilderFactory.JBPMEndpointConsumerBuilder
basic()
default JBPMEndpointBuilderFactory.AdvancedJBPMEndpointConsumerBuilder
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 JBPMEndpointBuilderFactory.AdvancedJBPMEndpointConsumerBuilder
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 JBPMEndpointBuilderFactory.AdvancedJBPMEndpointConsumerBuilder
entities(String entities)
The potentialOwners when nominateTask operation is performed.default JBPMEndpointBuilderFactory.AdvancedJBPMEndpointConsumerBuilder
entities(List<String> entities)
The potentialOwners when nominateTask operation is performed.default JBPMEndpointBuilderFactory.AdvancedJBPMEndpointConsumerBuilder
exceptionHandler(String exceptionHandler)
To let the consumer use a custom ExceptionHandler.default JBPMEndpointBuilderFactory.AdvancedJBPMEndpointConsumerBuilder
exceptionHandler(org.apache.camel.spi.ExceptionHandler exceptionHandler)
To let the consumer use a custom ExceptionHandler.default JBPMEndpointBuilderFactory.AdvancedJBPMEndpointConsumerBuilder
exchangePattern(String exchangePattern)
Sets the exchange pattern when the consumer creates an exchange.default JBPMEndpointBuilderFactory.AdvancedJBPMEndpointConsumerBuilder
exchangePattern(org.apache.camel.ExchangePattern exchangePattern)
Sets the exchange pattern when the consumer creates an exchange.default JBPMEndpointBuilderFactory.AdvancedJBPMEndpointConsumerBuilder
extraJaxbClasses(Class[] extraJaxbClasses)
To load additional classes when working with XML.default JBPMEndpointBuilderFactory.AdvancedJBPMEndpointConsumerBuilder
extraJaxbClasses(String extraJaxbClasses)
To load additional classes when working with XML.default JBPMEndpointBuilderFactory.AdvancedJBPMEndpointConsumerBuilder
parameters(String parameters)
the variables that should be set for various operations.default JBPMEndpointBuilderFactory.AdvancedJBPMEndpointConsumerBuilder
parameters(Map<String,Object> parameters)
the variables that should be set for various operations.default JBPMEndpointBuilderFactory.AdvancedJBPMEndpointConsumerBuilder
synchronous(boolean synchronous)
Sets whether synchronous processing should be strictly used.default JBPMEndpointBuilderFactory.AdvancedJBPMEndpointConsumerBuilder
synchronous(String synchronous)
Sets whether synchronous processing should be strictly used.
-
-
-
Method Detail
-
basic
default JBPMEndpointBuilderFactory.JBPMEndpointConsumerBuilder basic()
-
bridgeErrorHandler
default JBPMEndpointBuilderFactory.AdvancedJBPMEndpointConsumerBuilder 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 (advanced)- Parameters:
bridgeErrorHandler
- the value to set- Returns:
- the dsl builder
-
bridgeErrorHandler
default JBPMEndpointBuilderFactory.AdvancedJBPMEndpointConsumerBuilder 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 (advanced)- Parameters:
bridgeErrorHandler
- the value to set- Returns:
- the dsl builder
-
exceptionHandler
default JBPMEndpointBuilderFactory.AdvancedJBPMEndpointConsumerBuilder exceptionHandler(org.apache.camel.spi.ExceptionHandler exceptionHandler)
To let the consumer use a custom ExceptionHandler. Notice if the option bridgeErrorHandler is enabled then this option is not in use. By default the consumer will deal with exceptions, that will be logged at WARN or ERROR level and ignored. The option is a: <code>org.apache.camel.spi.ExceptionHandler</code> type. Group: consumer (advanced)- Parameters:
exceptionHandler
- the value to set- Returns:
- the dsl builder
-
exceptionHandler
default JBPMEndpointBuilderFactory.AdvancedJBPMEndpointConsumerBuilder exceptionHandler(String exceptionHandler)
To let the consumer use a custom ExceptionHandler. Notice if the option bridgeErrorHandler is enabled then this option is not in use. By default the consumer will deal with exceptions, that will be logged at WARN or ERROR level and ignored. The option will be converted to a <code>org.apache.camel.spi.ExceptionHandler</code> type. Group: consumer (advanced)- Parameters:
exceptionHandler
- the value to set- Returns:
- the dsl builder
-
exchangePattern
default JBPMEndpointBuilderFactory.AdvancedJBPMEndpointConsumerBuilder exchangePattern(org.apache.camel.ExchangePattern exchangePattern)
Sets the exchange pattern when the consumer creates an exchange. The option is a: <code>org.apache.camel.ExchangePattern</code> type. Group: consumer (advanced)- Parameters:
exchangePattern
- the value to set- Returns:
- the dsl builder
-
exchangePattern
default JBPMEndpointBuilderFactory.AdvancedJBPMEndpointConsumerBuilder exchangePattern(String exchangePattern)
Sets the exchange pattern when the consumer creates an exchange. The option will be converted to a <code>org.apache.camel.ExchangePattern</code> type. Group: consumer (advanced)- Parameters:
exchangePattern
- the value to set- Returns:
- the dsl builder
-
synchronous
default JBPMEndpointBuilderFactory.AdvancedJBPMEndpointConsumerBuilder synchronous(boolean synchronous)
Sets whether synchronous processing should be strictly used. The option is a: <code>boolean</code> type. Default: false Group: consumer (advanced)- Parameters:
synchronous
- the value to set- Returns:
- the dsl builder
-
synchronous
default JBPMEndpointBuilderFactory.AdvancedJBPMEndpointConsumerBuilder synchronous(String synchronous)
Sets whether synchronous processing should be strictly used. The option will be converted to a <code>boolean</code> type. Default: false Group: consumer (advanced)- Parameters:
synchronous
- the value to set- Returns:
- the dsl builder
-
entities
default JBPMEndpointBuilderFactory.AdvancedJBPMEndpointConsumerBuilder entities(List<String> entities)
The potentialOwners when nominateTask operation is performed. The option is a: <code>java.util.List<java.lang.String></code> type. Group: advanced- Parameters:
entities
- the value to set- Returns:
- the dsl builder
-
entities
default JBPMEndpointBuilderFactory.AdvancedJBPMEndpointConsumerBuilder entities(String entities)
The potentialOwners when nominateTask operation is performed. The option will be converted to a <code>java.util.List<java.lang.String></code> type. Group: advanced- Parameters:
entities
- the value to set- Returns:
- the dsl builder
-
extraJaxbClasses
default JBPMEndpointBuilderFactory.AdvancedJBPMEndpointConsumerBuilder extraJaxbClasses(Class[] extraJaxbClasses)
To load additional classes when working with XML. The option is a: <code>java.lang.Class[]</code> type. Group: advanced- Parameters:
extraJaxbClasses
- the value to set- Returns:
- the dsl builder
-
extraJaxbClasses
default JBPMEndpointBuilderFactory.AdvancedJBPMEndpointConsumerBuilder extraJaxbClasses(String extraJaxbClasses)
To load additional classes when working with XML. The option will be converted to a <code>java.lang.Class[]</code> type. Group: advanced- Parameters:
extraJaxbClasses
- the value to set- Returns:
- the dsl builder
-
parameters
default JBPMEndpointBuilderFactory.AdvancedJBPMEndpointConsumerBuilder parameters(Map<String,Object> parameters)
the variables that should be set for various operations. The option is a: <code>java.util.Map<java.lang.String, java.lang.Object></code> type. Group: advanced- Parameters:
parameters
- the value to set- Returns:
- the dsl builder
-
parameters
default JBPMEndpointBuilderFactory.AdvancedJBPMEndpointConsumerBuilder parameters(String parameters)
the variables that should be set for various operations. The option will be converted to a <code>java.util.Map<java.lang.String, java.lang.Object></code> type. Group: advanced- Parameters:
parameters
- the value to set- Returns:
- the dsl builder
-
-