3 Replies Latest reply on Sep 28, 2010 12:19 AM by Claus Ibsen

    camel http in spring

    Shilpi Yadav Novice

      Hello, i'm trying to set the Content-Type before posting using camel http in spring.  In the camel docs it mentions setting the header Exchange.CONTENT_TYPE.  This header name is only valid in DSL or used as an exchange header within a processor.

       

      I would like to set the content type in my spring bean.  I tried this but obviously it doesn't work.

       

       

       

      Thanks.