You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@activemq.apache.org by "Rob Davies (JIRA)" <ji...@apache.org> on 2010/02/03 15:05:33 UTC

[jira] Resolved: (AMQ-1308) Messages delivered from HttpTunnelServlet connected broker are limited to 64K bytes.

     [ https://issues.apache.org/activemq/browse/AMQ-1308?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Rob Davies resolved AMQ-1308.
-----------------------------

       Resolution: Fixed
    Fix Version/s:     (was: NEEDS_REVIEWED)
                   5.4.0
         Assignee: Rob Davies

Fixed by SVN revision 906049

> Messages delivered from HttpTunnelServlet connected broker are limited to 64K bytes.
> ------------------------------------------------------------------------------------
>
>                 Key: AMQ-1308
>                 URL: https://issues.apache.org/activemq/browse/AMQ-1308
>             Project: ActiveMQ
>          Issue Type: Bug
>          Components: Transport
>    Affects Versions: 4.1.1
>         Environment: Java consumer receiving messages using HTTP connector
>            Reporter: Eddie Epstein
>            Assignee: Rob Davies
>             Fix For: 5.4.0
>
>         Attachments: HttpProblems.patch
>
>
> In TextWireFormat.java: the methods writeUTF/readUTF are used in the code path to deliver messages from an HTTP connected broker.
>     public void marshal(Object command, DataOutput out) throws IOException {
>         out.writeUTF(marshalText(command));
>     }
>     public Object unmarshal(DataInput in) throws IOException {
>         String text = in.readUTF();
>         return unmarshalText(text);
> 	}
> These methods limit the max message size to 64K. Messages sent to an HTTP connected broker do not have the same limitation.
> Problem first reported in activemq-users with the subject "UTFDataFormatException in broker when using a http transportConnector".
> THanks,
> Eddie

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