OptaPlanner

OptaPlanner

Scheme: optaplanner
Syntax: optaplanner:configFile
Description: Solves the planning problem contained in a message with OptaPlanner.
Deprecated:false
Async:false
Maven: org.apache.camel/camel-optaplanner/2.18.1.redhat-000035

Solves the planning problem contained in a message with OptaPlanner.

Name Kind Group Required Default Type Enum Description
configFile path common true java.lang.String Specifies the location to the solver file
solverId parameter common DEFAULT_SOLVER java.lang.String Specifies the solverId to user for the solver instance key
bridgeErrorHandler parameter consumer boolean 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/ERROR level and ignored.
exceptionHandler parameter consumer (advanced) org.apache.camel.spi.ExceptionHandler To let the consumer use a custom ExceptionHandler. Notice if the option bridgeErrorHandler is enabled then this options is not in use. By default the consumer will deal with exceptions, that will be logged at WARN/ERROR level and ignored.
exchangePattern parameter consumer (advanced) org.apache.camel.ExchangePattern InOnly
RobustInOnly
InOut
InOptionalOut
OutOnly
RobustOutOnly
OutIn
OutOptionalIn
Sets the exchange pattern when the consumer creates an exchange.
async parameter producer boolean Specifies to perform operations in async mode
threadPoolSize parameter producer 10 int Specifies the thread pool size to use when async is true
synchronous parameter advanced false boolean Sets whether synchronous processing should be strictly used, or Camel is allowed to use asynchronous processing (if supported).