[ 
https://issues.apache.org/jira/browse/ARTEMIS-3342?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17433662#comment-17433662
 ] 

Robbie Gemmell edited comment on ARTEMIS-3342 at 10/25/21, 9:56 AM:
--------------------------------------------------------------------

Random aside, going back to an earlier comment of yours on the JIRA:
{quote}
I recently doubled `amqpMinLargeMessageSize` (and `minLargeMessageSize` for the 
CORE acceptor) to 200K, so that 100K character messages would fit; due to the 
2-byte internal character encoding.
{quote}

Note that setting both sizes configs to the same value such as 200k will give 
fairly different behaviour, as AMQP messages dont use the same encoding. AMQP 
strings are UTF-8 encoded, so only the non-ascii multi-byte character encodings 
will use more than 1 byte for a string payload.


was (Author: gemmellr):
Random aside, going back to an earlier comment of yours on the JIRA:
{quote}
I recently doubled `amqpMinLargeMessageSize` (and `minLargeMessageSize` for the 
CORE acceptor) to 200K, so that 100K character messages would fit; due to the 
2-byte internal character encoding.
{quote}

Note that setting both sizes configs to the same value such as 200k will give 
fairly different behaviour, as AMQP messages dont use the same encoding. AMQP 
strings are UTF-8 encoded, so only the non-ascii multi-byte character encodings 
will use more than 1 byte for the payload.

> large AMQP messages are not shown as such in GUI
> ------------------------------------------------
>
>                 Key: ARTEMIS-3342
>                 URL: https://issues.apache.org/jira/browse/ARTEMIS-3342
>             Project: ActiveMQ Artemis
>          Issue Type: Bug
>          Components: Web Console
>    Affects Versions: 2.17.0
>            Reporter: Erwin Dondorp
>            Priority: Major
>             Fix For: 2.20.0
>
>         Attachments: image-2021-06-11-14-40-13-673.png, 
> image-2021-06-11-14-40-44-094.png, screenshot-1.png
>
>
> When using "large" AMQP messages, the large message are stored properly on 
> disk.
> But the the messages are not flagged as "large" message in the web console.
> (btw, CORE messages are properly marked as "large")
> see the following screen images:
> I highlighted the message-ID to show that it is properly stored in the 
> "large-messages" directory.
>  The "largeMessage" field above it still shows "false"
> !image-2021-06-11-14-40-13-673.png!
>  
> And on disk:
> !image-2021-06-11-14-40-44-094.png!
>  
> Note that this was a durable message. the same effect is present for 
> non-durable messages.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to