4 Replies Latest reply on Oct 10, 2013 12:28 PM by kcbabo

    SwitchYard - Setting header inside bean

    srini8881

      Just wanted to get some assistance on this.

       

      I am trying to add header to a message from within a SY Bean.  I want this header to stay till the life cycle of a message only.

       

      I am trying to achieve this by saying context.setProperty("property",Scope.MESSAGE)

       

      For some reasons when I do this and try to fetch the message in the next bean in the chain, I get a null value for this property.  Am I doing something wrong here?

       

      Any help would be pricey!

       

      Thanks

      Srini.