activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ivan Jovanovic <>
Subject Re: Connection reset by broker with messages greater than 42KB
Date Mon, 02 Jun 2008 11:27:15 GMT

I still can not solve this, the number of bytes that are sent before the
closing of connection is variable with the same message. The message is
totaly ok with its format.
It is string 'test' multiplied 10, 100, 1000 and 10000 thousand times like
For 1,10,100 it works but for 10000 times "test" it throws the error that
tcp connection was reset and DEBUG from the broker says

DEBUG TransportConnection            - Setting up new connection:
DEBUG AbstractRegion                 - Adding destination:
DEBUG Transport                      - Transport failed:

Ivan Jovanovic wrote:
> I have installed ActiveMQ 5.1 as broker and I'm using PHP Stomp client
> (not one from codehouse but self made) to communicate with the broker. I
> have no problems for messages that are with the size below 42KB, with
> messages that are bigger than that broker resets the connection after 42KB
> written with fwrite() to tcp socket while sending message
> Is this connection reset normal behavior of the broker if its internal
> settings are that 42KB is the message size it can accept?
> I use persistent storage and I'm not sure that it should complain about
> the message size at all? I tried to find a way to control the message size
> but it seems that memory settings are important when not using persistent
> storage, otherwise it should be no issue.
> Thanks for your help in advance
> Cheers
> Ivan

View this message in context:
Sent from the ActiveMQ - User mailing list archive at

View raw message