-
1. Re: Size Limits on Stomp
clebert.suconic May 21, 2013 11:20 PM (in response to gaohoward)I see no difference with the regular protocol. If you add a size limit on Stomp you ought to add it on core as well...
You would have to make it consistent. Feel free to add a JIRA with a feature request on 2.4 if you like, but then it would be on master only and it would be applied for both core/regular messages and stomp messages.
for now, all we need is to have minLargeMessageSize. If a message > minLargeMessage after parsin on the server, then we would convert it to a ServerLargeMessage and store it accordingly.
Same deal when receiving a message... it would be read into a ByteBuffer and sent to the client. We would off course document the behaviour and the user would have to be aware of that.
for next version we can implement a limit and parse it accordingly. But that would be a different feature.
-
2. Re: Size Limits on Stomp
gaohoward May 22, 2013 3:51 AM (in response to clebert.suconic)Clebert Suconic wrote:
I see no difference with the regular protocol. If you add a size limit on Stomp you ought to add it on core as well...
Hi Clebert,
Do you mean we add this limit for all kinds of clients? If we add this limit to the core, not only stomp clients, but also JMS clients and Core clients will be affected. Do we want to do this?
Howard
-
3. Re: Size Limits on Stomp
clebert.suconic May 22, 2013 9:09 AM (in response to gaohoward)Adding an upper limit is certainly a feature.. but as I said not now... you may add this as a JIRA for 2.4+ and we will decide if we want to implement or not?
-
4. Re: Size Limits on Stomp
gaohoward May 22, 2013 9:12 AM (in response to clebert.suconic)Agreed. I'll create another Jira.
Howard