You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Keith Wall (JIRA)" <ji...@apache.org> on 2016/08/30 13:30:20 UTC

[jira] [Commented] (QPID-7382) Message dialogue tries to inline the text of a text message content regardless of the its length

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

Keith Wall commented on QPID-7382:
----------------------------------

If we value the ability to show a text message's content inline then we will need to change Queue#getMessageContent to support an optional parameter to restrict the number of bytes that are returned to the client, to avoid the possibility of overwhelming the client side application.   However, in my opinion, the inline display of content is of little practical value.  Instead we could change the UI so that it unilaterally displays a download link for all content types. 

> Message dialogue tries to inline the text of a text message content regardless of the its length
> ------------------------------------------------------------------------------------------------
>
>                 Key: QPID-7382
>                 URL: https://issues.apache.org/jira/browse/QPID-7382
>             Project: Qpid
>          Issue Type: Bug
>          Components: Java Broker
>    Affects Versions: 0.30, 0.32, qpid-java-6.0
>            Reporter: Keith Wall
>             Fix For: qpid-java-6.1, qpid-java-6.0.5
>
>
> When viewing a message through the WMC, if the message's mime type indicates that the content it text, the message dialogue tries to inline the content, properly escaping the content first.  If the content is very large, this approach is problematic and can cause formatting problems with buttons out of reach, or at worst an unresponsive or crashed client side UI.
> The WMC should display the leading portion of a long text message using ellipses and offer a download button to retrieve the full text content.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org