4 Replies Latest reply on Aug 17, 2012 4:31 PM by gmdavidson62

    Message headers between routs

    gmdavidson62

      I am trying to figure out the best place to store data during a route.  Should it be on the exchange as a property or on the in/out message?

       

      Currently we are storing information

      -in time to the route

      -message size in to the route

      Then at the end of the route we log this information along with the out time and size.

       

      An issue comes up when we call another route, which overwrites these headers, as we are using the same technique and naming in other routes.

       

      So the question, is there a "scope" to these headers we can use, or should we be using the exchange properties, or do I have to manually pull of the headers on the inbound, then replace on the way out?

       

      Thanks!