Gert,
The error I got earlier was a fatal error: there should be ; after period. I
think it was because I was using & inbetween. now I tried this
<from uri="timer://tutorial?fixedRate=true period=10000"/>
Now I got rid of the error.
secondly,
I am not using apache camel independently. I am using servicemix-camel
component. Could you please explain the things to upgrade my
servicemix-camel component to support setBody?
how would i achieve the where condition? I tried this from camel manual. But
it gives me error invalid element found <predicate>. Do i need to upgrade
something?
<route>
<from
uri="jbi:endpoint:urn:org:apache:servicemix:tutorial:camel:jmsC2:consumer2"/>
<choice>
<when>
<predicate>
<body>
<isEqualTo value="bar"/>
<body>
</predicate>
<to
uri="jbi:endpoint:urn:org:apache:servicemix:tutorial:camel:jmsP2:provider2"/>
</when>
<when>
<predicate>
<body>
<isEqualTo value="bar"/>
<body>
</predicate>
<to
uri="jbi:endpoint:urn:org:apache:servicemix:tutorial:camel:jmsP3:provider3"/>
</when>
<otherwise>
<to
uri="jbi:endpoint:urn:org:apache:servicemix:tutorial:camel:jmsP4:provider4"/>
</otherwise>
</choice>
</route>
--
View this message in context:
http://www.nabble.com/How-camel-implements-EIP-tp17078472p17101832.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.