Hi Feel free to add this variation to the wiki page.
On Fri, Apr 2, 2010 at 5:17 PM, ychawla <[email protected]> wrote: > > Hi Gang, > Currently the WIKI has a content filter example like this: > <route> > <from uri="activemq:Input"/> > <bean ref="myBeanName" method="doTransform"/> > <to uri="activemq:Output"/> > </route> > > For the work we are doing, we want to select an xpath and set that as the > body. We are doing something like this: > > <route> > <from uri="activemq:Input"/> > <setBody><xpath > resultType="org.w3c.dom.Document">//foo:bar</xpath></setBody> > <to uri="activemq:Output"/> > </route> > > I think this example would be helpful to include. End users don't have to > bother creating a bean that does a transform or write in some cases a > relatively simple XSLT. Any objections to me updating? > > Thanks, > Yogesh > -- > View this message in context: > http://old.nabble.com/Update-Camel-Content-Filter-Page--tp28120008p28120008.html > Sent from the Camel - Users mailing list archive at Nabble.com. > > -- Claus Ibsen Apache Camel Committer Author of Camel in Action: http://www.manning.com/ibsen/ Open Source Integration: http://fusesource.com Blog: http://davsclaus.blogspot.com/ Twitter: http://twitter.com/davsclaus
