Hello Jan,
Thank you very much for your reply. But this still does not solve my
problem. The collection of Cancer records loaded from the DB has records
from various cancer sites (Like Colon, Breast, Prostate ). The type of
record is "*CancerRecord*" and the filed *PrimarySite *identifies the Cancer
site.

I am trying to split the records and add a header ("CancerSite="Beast", or
"CancerSite="Colon") etc to the split messages in the exchange.

Then I want to aggregate the records to 500 records of the same CancerSite
and route it to a DroolsCamel component. Please note that there is a
DroolsComponent for each CancerSite.

My question is how and when (and where) I set the message header for
CancerSite?

Also I see xpath expressions for looking into the body but is there any
example where a field in a Java Object can be looked into?

Thanks in advance!

Matt'M




-----
Thanks
Matt G. Madhavan
--
View this message in context: 
http://camel.465427.n5.nabble.com/Camel-Custom-Splitter-Question-tp5755453p5755501.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to