camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Geoffrey De Smet <ge0ffrey.s...@gmail.com>
Subject Re: Camel-optaplanner
Date Fri, 25 Apr 2014 14:23:21 GMT



On 25-04-14 08:36, Kenneth wrote:
> When I add a termination to the solverConfig I get an error because of a
> missing dependency?
> Exception in thread "main" org.apache.camel.FailedToCreateRouteException:
> Failed to create route route1 at: >>>
> To[optaplanner:/com/kingfoo/camel1/solverConfig.xml] <<< in route:
> Route(route1)[[From[direct:start]] -> [To[optaplanner:/com/k... because of
> Failed to resolve endpoint:
> optaplanner:///com/kingfoo/camel1/solverConfig.xml due to: No such field
> org.optaplanner.core.config.termination.TerminationConfig.minutesSpentLimit
<minutesSpentLimit> in optaplanner 6.1.x
was <maximumMinutesSpend> in optaplanner 6.0.x

Starting from 6.1, that config will be backwards compatible in 6.2, 6.3 etc.
Once 6.1.0.Final is out, I 'll send in a PR to upgrade camel-optaplanner.
More info in upgrade recipe:
https://github.com/droolsjbpm/optaplanner/blob/master/optaplanner-distribution/src/main/assembly/filtered-resources/UpgradeFromPreviousVersionRecipe.txt


Mime
View raw message