Hi friends
I´m facing a strange behavior when performing this XML DSL statement. When I
call /validateFiringUnitSchedule /method passing its 2 parameters, the
second argument has its value splited just because it contains ",". For
example, when ${in.body.cronExpression} is "0 0 10,11,12 * * ?" its value is
set to "0 0 10" .
<camel:choice>
<camel:when><camel:simple>*${bean:scheduler?method=validateFiringUnitSchedule(${in.body.scheduleID},
${in.body.cronExpression})}*</camel:simple>
<camel:setHeader
headerName="schedule.uri">
<simple>quartz://infosender/schedule${in.body.scheduleID}?cron=${in.body.cronExpression}</simple>
</camel:setHeader>
<camel:setBody>
<simple>${body.scheduleID}</simple>
</camel:setBody>
<to
uri="bean:scheduler?method=buildScheduleJobRoute" />
</camel:when>
</camel:choice>
Is it a bug???
--
View this message in context:
http://camel.465427.n5.nabble.com/Prolems-with-parametrized-bean-method-call-via-simple-tp5728319.html
Sent from the Camel - Users mailing list archive at Nabble.com.