You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@synapse.apache.org by Paul Fremantle <pz...@gmail.com> on 2007/01/10 13:00:57 UTC

Handling binary objects consistently

A while back, Asankha and I discussed the idea of handling generic
binary objects coming in over HTTP, TCP or JMS by putting them in a
wrapper object as an MTOM. We could also do the same thing with
text/plain. Asankha, is this in the latest JMS transport still?

It seems to me that one of the strengths of Synapse is that we have a
very clear idea of where an XML payload is (ie. /envelope/body/*).

I think it would make sense to decide the same for binary or text
objects. Should they be in a wrapper element? And if so what should it
be called?

Paul

-- 
Paul Fremantle
VP/Technology, WSO2 and OASIS WS-RX TC Co-chair

http://bloglines.com/blog/paulfremantle
paul@wso2.com

"Oxygenating the Web Service Platform", www.wso2.com

---------------------------------------------------------------------
To unsubscribe, e-mail: synapse-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: synapse-dev-help@ws.apache.org


Re: Handling binary objects consistently

Posted by "Asankha C. Perera" <as...@wso2.com>.
Paul
> A while back, Asankha and I discussed the idea of handling generic
> binary objects coming in over HTTP, TCP or JMS by putting them in a
> wrapper object as an MTOM. We could also do the same thing with
> text/plain. Asankha, is this in the latest JMS transport still?
Yes, this is in the JMS transport now. See 
http://issues.apache.org/jira/browse/AXIS2-1752
> It seems to me that one of the strengths of Synapse is that we have a
> very clear idea of where an XML payload is (ie. /envelope/body/*).
>
> I think it would make sense to decide the same for binary or text
> objects. Should they be in a wrapper element? And if so what should it
> be called?
Right now for JMS we place the text/binary content into a 
<axis2ns:jmsMessage> see the above JIRA for an example.

asankha

---------------------------------------------------------------------
To unsubscribe, e-mail: synapse-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: synapse-dev-help@ws.apache.org