camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Claus Ibsen <claus.ib...@gmail.com>
Subject Re: Prolems with parametrized bean method call via simple
Date Sat, 02 Mar 2013 17:33:08 GMT
Hi

What version of Camel do you use? Have you tried upgrading to a newer release?


On Fri, Mar 1, 2013 at 12:16 AM, garrydias <garrydias@gmail.com> wrote:
> 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.



-- 
Claus Ibsen
-----------------
Red Hat, Inc.
FuseSource is now part of Red Hat
Email: cibsen@redhat.com
Web: http://fusesource.com
Twitter: davsclaus
Blog: http://davsclaus.com
Author of Camel in Action: http://www.manning.com/ibsen

Mime
View raw message