Thanks Christian,

  I completed the basic enrichment with a data from a text file which is
inserted into a tag in the xml message.

I used jaxb to create an element 

 <from uri="file:input"/>
          
          <unmarshal>
          <jaxb prettyPrint="true" contextPath="org.apache.camel.example"/>
          </unmarshal>
          <pollEnrich uri="file:resource?fileName=resource.txt"
strategyRef="EnrichAggregation"/>
          
          <to uri="direct:one"/>
          
          </route>
          
          <route>
           <from uri="direct:one"/>
          
          <marshal>
          <jaxb prettyPrint="true" contextPath="org.apache.camel.example"/>
          
          </marshal>
          <to uri="file:output"/>
     </route>


Thanks all ,
Naveen Raj Balasubramaniam 



--
View this message in context: 
http://camel.465427.n5.nabble.com/HELP-required-Camel-XML-Message-Enrichment-tp5718525p5719072.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to