I guess this would give us some nice independence from everything except OM. I would still prefer not to have all those extra method calls if we can help it.
Paul
On 11/14/05,
ant elder <[EMAIL PROTECTED]> wrote:
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(); }
...
}
