FYI, there's been some discussions on the new Axis2 SOAPMessageContext interface for Synapse over on axis-dev:

   http://marc.theaimsgroup.com/?t=113170616200001&r=1&w=1

Instead of a new Axis2 interface I suggested a Synapse specific message which delegates some calls to an Axis2 MessageContext. It would have all the methods that were going to be on the new Axis2 interface along with Synapse specific methods to get at the Synapse headers, config, environment etc.

interface SynapseMessage {
   String getTo();
   ...
}

SynapseMessageImpl {
   MessageContext mc;
   public SynapseMessageImpl(MessageContext mc) {this.mc = mc}
   String getTo() { return mc.geTo();  }
   ...
}





Reply via email to