Hi

You can also look at using a template engine to build up a XML
document as a template and use tokens where the DB values should be
inserted.

Such as velocity / freemarker
http://camel.apache.org/velocity

Or use XSLT (albeit can be hard to do correct)
http://camel.apache.org/xslt

On Tue, Dec 25, 2012 at 9:38 PM, sprabu <sathiyapr...@gmail.com> wrote:
> Hi,
> I'm fetching records from a DB and want to set those values in XML payload.
> Whats the way in Spring XML DSL approach? Any idea.. Or Any other way or
> approach is there???
> Thanks in advance.
>
>
>
> --
> View this message in context: 
> http://camel.465427.n5.nabble.com/How-map-the-SQL-query-values-in-to-XML-Payload-tp5724584.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: cib...@redhat.com
Web: http://fusesource.com
Twitter: davsclaus
Blog: http://davsclaus.com
Author of Camel in Action: http://www.manning.com/ibsen

Reply via email to