Interface OptaPlannerEndpointBuilderFactory.OptaPlannerEndpointConsumerBuilder
-
- All Superinterfaces:
org.apache.camel.builder.EndpointConsumerBuilder
,org.apache.camel.EndpointConsumerResolver
- All Known Subinterfaces:
OptaPlannerEndpointBuilderFactory.OptaPlannerEndpointBuilder
- Enclosing interface:
- OptaPlannerEndpointBuilderFactory
public static interface OptaPlannerEndpointBuilderFactory.OptaPlannerEndpointConsumerBuilder extends org.apache.camel.builder.EndpointConsumerBuilder
Builder for endpoint consumers for the OptaPlanner component.
-
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default OptaPlannerEndpointBuilderFactory.AdvancedOptaPlannerEndpointConsumerBuilder
advanced()
default OptaPlannerEndpointBuilderFactory.OptaPlannerEndpointConsumerBuilder
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 OptaPlannerEndpointBuilderFactory.OptaPlannerEndpointConsumerBuilder
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 OptaPlannerEndpointBuilderFactory.OptaPlannerEndpointConsumerBuilder
problemId(Long problemId)
In case of using SolverManager : the problem id.default OptaPlannerEndpointBuilderFactory.OptaPlannerEndpointConsumerBuilder
problemId(String problemId)
In case of using SolverManager : the problem id.default OptaPlannerEndpointBuilderFactory.OptaPlannerEndpointConsumerBuilder
solverId(String solverId)
Specifies the solverId to user for the solver instance key.default OptaPlannerEndpointBuilderFactory.OptaPlannerEndpointConsumerBuilder
useSolverManager(boolean useSolverManager)
use SolverManager instead of XML file config.default OptaPlannerEndpointBuilderFactory.OptaPlannerEndpointConsumerBuilder
useSolverManager(String useSolverManager)
use SolverManager instead of XML file config.
-
-
-
Method Detail
-
advanced
default OptaPlannerEndpointBuilderFactory.AdvancedOptaPlannerEndpointConsumerBuilder advanced()
-
problemId
default OptaPlannerEndpointBuilderFactory.OptaPlannerEndpointConsumerBuilder problemId(Long problemId)
In case of using SolverManager : the problem id. The option is a: <code>java.lang.Long</code> type. Default: 1L Group: common- Parameters:
problemId
- the value to set- Returns:
- the dsl builder
-
problemId
default OptaPlannerEndpointBuilderFactory.OptaPlannerEndpointConsumerBuilder problemId(String problemId)
In case of using SolverManager : the problem id. The option will be converted to a <code>java.lang.Long</code> type. Default: 1L Group: common- Parameters:
problemId
- the value to set- Returns:
- the dsl builder
-
solverId
default OptaPlannerEndpointBuilderFactory.OptaPlannerEndpointConsumerBuilder solverId(String solverId)
Specifies the solverId to user for the solver instance key. The option is a: <code>java.lang.String</code> type. Default: DEFAULT_SOLVER Group: common- Parameters:
solverId
- the value to set- Returns:
- the dsl builder
-
useSolverManager
default OptaPlannerEndpointBuilderFactory.OptaPlannerEndpointConsumerBuilder useSolverManager(boolean useSolverManager)
use SolverManager instead of XML file config. Use this mode on Quarkus app. The option is a: <code>boolean</code> type. Default: false Group: common- Parameters:
useSolverManager
- the value to set- Returns:
- the dsl builder
-
useSolverManager
default OptaPlannerEndpointBuilderFactory.OptaPlannerEndpointConsumerBuilder useSolverManager(String useSolverManager)
use SolverManager instead of XML file config. Use this mode on Quarkus app. The option will be converted to a <code>boolean</code> type. Default: false Group: common- Parameters:
useSolverManager
- the value to set- Returns:
- the dsl builder
-
bridgeErrorHandler
default OptaPlannerEndpointBuilderFactory.OptaPlannerEndpointConsumerBuilder 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 OptaPlannerEndpointBuilderFactory.OptaPlannerEndpointConsumerBuilder 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
-
-