On Wed, Feb 25, 2009 at 1:09 PM, david_geary <david_ge...@lagan.com> wrote: > > I want to use a timer to call a web service so i need to set the xml body of > the message. Im using the xml configuration so I know I can do this: > > <route> > <from uri="timer://myTimer?fixedRate=true&period=2000"/> > <setBody> > <simple>${in.body} World!</simple> > </setBody> > <to uri=....> > </route> > > But how can i use this to set xml content? What's the correct syntax for > this - or is there a better way to do it? Reading the content from a file > would suit also. Hi
There are many ways of transforming/translate a message with Camel http://camel.apache.org/message-translator.html How are you gonna call the webserivce? Are you using a webservice framework or what? > -- > View this message in context: > http://www.nabble.com/Setting-initial-xml-content-for-timer-mesages-tp22201587p22201587.html > Sent from the Camel - Users (activemq) mailing list archive at Nabble.com. > > -- Claus Ibsen Apache Camel Committer Open Source Integration: http://fusesource.com Blog: http://davsclaus.blogspot.com/