Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Configuring message limit in openfire

Tags:

openfire

I understand that the default size for the message is 1MB.
Is there a way to re-configure the limit.

Any help on this problem will be appreciated.
Thanks

like image 915
Lokesh Raj Urs Avatar asked May 22 '26 23:05

Lokesh Raj Urs


1 Answers

You need to set the "xmpp.parser.buffer.size" property in Openfire (in byte) . The default value is indeed 1MB.

(GIT code):

private static final String MAX_PROPERTY_NAME = "xmpp.parser.buffer.size";
maxBufferSize = JiveGlobals.getIntProperty(MAX_PROPERTY_NAME, 1048576);
like image 88
Roman S. Avatar answered May 30 '26 08:05

Roman S.



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!