[ 
https://issues.apache.org/jira/browse/AVRO-323?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12800042#action_12800042
 ] 

Jeff Hammerbacher commented on AVRO-323:
----------------------------------------

Getting an error when I try this out:

{code}
java -jar build/avro-tools-1.2.0-dev.jar rpcreceive 
'{"namespace":"example.proto","protocol":"Mail","types":[{"name":"Message","type":"record","fields":[{"name":"to","type":"string"},{"name":"from","type":"string"},{"name":"body","type":"string"}]}],"messages":{"send":{"request":[{"name":"message","type":"Message"}],"response":"string"},"replay":{"request":[],"response":"string"}}}'
 9090 send '{"message": {"to":"avro", "from":"jeff", "body":"hey"}}' socket
Exception in thread "main" java.lang.IndexOutOfBoundsException: Index: 5,Size: 5
{code}

> Support raw sockets as a transport in avroj
> -------------------------------------------
>
>                 Key: AVRO-323
>                 URL: https://issues.apache.org/jira/browse/AVRO-323
>             Project: Avro
>          Issue Type: New Feature
>          Components: java
>            Reporter: Jeff Hammerbacher
>         Attachments: AVRO-323.patch
>
>


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to