3 Replies Latest reply on Mar 21, 2014 8:28 AM by kcbabo

    Can I set in a CamelRoute the Subject for an Email?

    jorgemoralespou_2

      Hi,

      I'm trying to set the subject of an email, but it seems that the binding is tied to what is configured (set up from the model) and I'm not able to set the subject.

       

      I've done this, that works in Camel:

      from("switchyard://MailService").setHeader("subject", constant("MySubject"))
        .to("switchyard://MailServiceEndpoint");
      

       

      Can somebody help?