3 Replies Latest reply on Apr 18, 2012 7:42 PM by Freeman(Yue) Fang

    How to set custom soap header information in camel route?

    Przemyslaw Gruzdz Newbie

      Hello  everyone,

       

      After few days of struggle a I decided to ask for clue/advice.. I have read a lot of messages but I still can?t find relevant answer.

       

      So here is the background:

       

      I have configured Camel Proxy/router service with spring xml file.

      cxfEndpoint -> hedader based routing -> body xslt transformation -> cxfEndpoint (backend service)

      This solution worked great until it turned out, that I have to set few custom attributes in custom namepace In SOAP header of message forwarded to backend service.

       

      And here comes my question:

       

      How to set custom soap header information in camel route (using spring configuration)? For example, I want to add such header forwarded to backend service by my camel route:

       

      ?

       

      Edited by: gruzdzp on Apr 18, 2012 5:45 AM