Skip to main content

How to Configure the Maximum size of a BytesMessage

Please note these java.net forums are being decommissioned and use the new and improved forums at https://community.oracle.com/community/java.
2 replies [Last post]
ashwanilabs
Offline
Joined: 2006-08-23

Does anyone know how to configure or increase the maximum size of a BytesMessage acceptable to GlassFish ?
The GlassFish throwns an exception when I send a ByteMessage > 10 MB.

Thanks

Ashwani

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
Amy Kang Guest
Offline
Joined: 2010-11-13

Please GlassFish MQ Administration Guide
http://download.oracle.com/docs/cd/E18930_01/html/821-2438/aeoob.html
http://download.oracle.com/docs/cd/E18930_01/html/821-2438/gheav.html
http://download.oracle.com/docs/cd/E18930_01/html/821-2438/gbnms.html

On 11-06-16 09:42 AM, forums@java.net wrote:
> Does anyone know how to configure or increase the maximum size of a
> BytesMessage acceptable to GlassFish ?
> The GlassFish throwns an exception when I send a ByteMessage > 10 MB.
>
> Thanks
>
> Ashwani
>
>
>
>
>
>
> --
>
> [Message sent by forum member 'ashwanilabs']
>
> View Post: http://forums.java.net/node/812967
>
>

Amy Kang Guest
Offline
Joined: 2010-11-13

and also see GlassFish Administration Guide on 'asadmin create-jmsdest'
http://download.oracle.com/docs/cd/E18930_01/html/821-2416/ablkj.html#gioue

see maxBytesPerMsg property in 'asadmin create-jmsdest --help'

On 06/17/2011 03:30 PM, Amy Kang wrote:
> Please GlassFish MQ Administration Guide
> http://download.oracle.com/docs/cd/E18930_01/html/821-2438/aeoob.html
> http://download.oracle.com/docs/cd/E18930_01/html/821-2438/gheav.html
> http://download.oracle.com/docs/cd/E18930_01/html/821-2438/gbnms.html
>
> On 11-06-16 09:42 AM, forums@java.net wrote:
>> Does anyone know how to configure or increase the maximum size of a
>> BytesMessage acceptable to GlassFish ?
>> The GlassFish throwns an exception when I send a ByteMessage > 10 MB.
>>
>> Thanks
>>
>> Ashwani
>>
>>
>>
>>
>>
>>
>> --
>>
>> [Message sent by forum member 'ashwanilabs']
>>
>> View Post: http://forums.java.net/node/812967
>>
>>
>