camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Naveen Raj <>
Subject Camel enrichment
Date Tue, 04 Sep 2012 03:10:29 GMT
    The camel enrich processor needs an aggregation strategy to be
implemented,where I need to implemented  my own bean to enrich.The scenario
that I want to implement is where an xml is inserted an element for which
the data is from the database.

This data from the database is queried based on the few attributes from the
xml message.

How can I perform this using the aggregation strategy?

I had a way in mind which is ..

1.Take the data from the the xml message with which I query from the db
2.send this result as an endpoint 
3.The same endpoint is made as the resource for the enrich 
4.The parse the xml message and insert the values using dom parser

I would like to know if this is the only way or there can be a better way?

Does camel provide any way of parsing the xml and insert data into a new

Can camel be used to create new element in an xml message?

how it is different from the  aggregation ??

what is the type of the data returned from an query using sql component?


View this message in context:
Sent from the Camel - Users mailing list archive at

View raw message