activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tim Bain <>
Subject Re: ActiveMQ Stomp producer messages size limitation
Date Wed, 04 Feb 2015 21:19:38 GMT
1. As I said in my earlier email, you can download the code, change that
constant, and recompile, or you can split your messages and make your
clients handle that properly (which may be problematic since you need to
ensure that all parts of a given message are consumed, in order, by the
same consumer).  Maybe someone else has a way to do this without doing one
of those, but I think you'd have heard it by now if someone had an answer
for you.
2. I can't answer that, but maybe someone else can.
3. Sounds like a great idea, and it sounds like it'll be an easy fix for
someone.  (Maybe even you?  You've clearly looked at this code enough to
know it better than most people.)  Too bad it missed the cutoff for 5.11.0,


On Wed, Feb 4, 2015 at 7:21 AM, khandelwalanuj <>

> Another concern here:
> As Tim mentioned :
> > You need to configure a large maxFrameSize on the STOMP
> transportConnector
> > in your Broker
> > configuration, see:
> I looked into the source code of ActiveMQ. I don't think changing the
> 'maxFrameSize' will work here. From the stack trace I posted I can clearly
> see that 'MAX_DATA_LENGTH' and 'MAX_COMMAND_LENGTH' is exceeded when I try
> to send more than 100MB of data. And these are constants defined in
> I didn't find any way to modified these parameters in
> entire ActiveMQ source code.
> *My Questions:
> *
> 1. Is there any way I can send more than 100MB of data from STOMP (python
> and perl) producers?
> 2. What is the difference between 'MAX_DATA_LENGTH' and
> ?
> 3. These parameters should be configurable. Should I log a JIRA for this ?
> Thanks,
> Anuj
> --
> View this message in context:
> Sent from the ActiveMQ - User mailing list archive at

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message