|
hmm interesting !! ant elder wrote: The way I thought that could work, for example by an Axis2 TransportListener communicating with an Axis2 Sender, is that there would be an Axis2 specific SynapseMessage implementation, say Axis2SynapseMessageImpl which would have a getter for the Axis2 MessageContext. So Axis2 specific classes could know/see the SynapseMessage is an instance of an Axis2SynapseMessageImpl and cast it to get at the getter for the real underlying MessageContext. Non Axis2 specific code wouldn't know or care about the Axis2'ness of the SynapseMessage.Also, as the AxisEngine.receive takes a MessageContext not a SynapseMessage but the Synapse MediatorMessageReceiver will probably want to create a SynapseMessage for the MessageContext, the Axis2SynapseMessageImpl would store all the fields in SynapseMessage as properties in the MessageContext. So the MediatorMessageReceiver could just do new Axis2SynapseMessageImpl(mc) and then for eg a Mediator calling getProperty on the SynapseMessage will find any properties that were set prior to the AxisEngine.receive being called. ...ant On 11/14/05, Eran Chinthaka <[EMAIL PROTECTED]> wrote: |
- Re: SOAPMessageContext Eran Chinthaka
- Re: SOAPMessageContext Paul Fremantle
