I've been having a look at how to use Synapse in another project (Tuscany) and I think there could be some changes to make doing this easier.

One problem is Synapse doesn't provide any way to easily create a new Synapse MessageContext as currently it assumes request come from the Axis2 MessageReceiver and therefore have an existing Axis2 MessageContext. I could just new one of these up, get it initialized correctly and then use the classes in the o.a.synapse.core.axis2 package to create a Synapse MessageContext but that doesn't seem right. How about adding a createMessageContext() method to the SynapseEnvironment interface so Synapse embedders don't need to mess with the Axis2 internals of Synapse?

   ...ant

PS. Anyone interested in helping with a Tuscany WS binding based on Synapse?


Reply via email to