Hi Paul, > If I am in Synapse I am looking at a message on the wire. And I have > to decide which way it is going. So in general I have a complex > calculation to make: > > 1. Look at the transport (i.e. is it an HTTP response) > 2. See if it has a relatesTo header > 3. Look at the To: header (maybe it is anon) > etc. > > If it is an In Out* mep, then the In.isResponse=false and the > out.isResponse is true for both following messages.
Let's do this- when we figure out how Axis2 and Synapse will work together (at the message level, not architecturally) let's see whether there's a way to have such a flag. I think the important point is that from Synapse's point of view, we want to know whether the message is going to the service vs. coming from the service; we don't particularly care whether its a "response" or not. That is, for an outbound MEP, I assume we'll want to apply the rules for messages going out of the service and not the ones for messages coming in, right? In which case talking about "is it a response or not" is the wrong topic. Sanjiva.
