You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@avro.apache.org by Doug Cutting <cu...@apache.org> on 2013/08/13 22:21:54 UTC

Re: Protocol serialization

On Mon, Jul 22, 2013 at 4:54 AM, Scott Stults
<ss...@opensourceconnections.com> wrote:
> Is Protocol.getMessages().getRequest() to construct the payload of the servlet request the right path?

If Protocol provides a useful way to define your messages but the
existing wire formats are not appropriate then using getRequest()
directly seems entirely reasonable to me.

Doug

Re: Protocol serialization

Posted by Scott Stults <ss...@opensourceconnections.com>.
Excellent. Thank you!

On Aug 13, 2013, at 4:21 PM, Doug Cutting <cu...@apache.org> wrote:

> On Mon, Jul 22, 2013 at 4:54 AM, Scott Stults
> <ss...@opensourceconnections.com> wrote:
>> Is Protocol.getMessages().getRequest() to construct the payload of the servlet request the right path?
> 
> If Protocol provides a useful way to define your messages but the
> existing wire formats are not appropriate then using getRequest()
> directly seems entirely reasonable to me.
> 
> Doug