What I do in my processor is : 

I get the message using this: 
      Message message = exchange.getIn();
      PccCommoncard pcc = message.getBody(PccCommoncard.class); 

Then I instanciate OcPccCommoncard : 
      OcPccCommoncard opcc = new OcPccCommoncard();

Then I fill the fields of this instance (opcc).


--
View this message in context: 
http://camel.465427.n5.nabble.com/CSV-to-database-tp4435750p5018527.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to