Issue Details (XML | Word | Printable)

Key: AMQ-1308
Type: Bug Bug
Status: Open Open
Priority: Major Major
Assignee: Unassigned
Reporter: Eddie Epstein
Votes: 4
Watchers: 4
Operations

If you were logged in you would be able to see more operations.
ActiveMQ

Messages delivered from HttpTunnelServlet connected broker are limited to 64K bytes.

Created: 03/Jul/07 01:31 PM   Updated: Friday 11:25 AM
Component/s: Transport
Affects Version/s: 4.1.1
Fix Version/s: NEEDS_REVIEWED

Time Tracking:
Not Specified

File Attachments:
  Size
Text File Licensed for inclusion in ASF works HttpProblems.patch 2007-07-27 09:05 AM Eddie Epstein 2 kB
Environment: Java consumer receiving messages using HTTP connector

Patch Info: Patch Available


 Description  « Hide
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



 All   Comments   Work Log   Change History   Subversion Commits   FishEye   Crucible      Sort Order: Ascending order - Click to sort in descending order
There are no subversion log entries for this issue yet.