qpid-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (PROTON-1410) Move MessageImpl::TLS to an utility class
Date Wed, 01 Mar 2017 16:52:45 GMT

    [ https://issues.apache.org/jira/browse/PROTON-1410?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15890536#comment-15890536

ASF GitHub Bot commented on PROTON-1410:

Github user gemmellr commented on the issue:

    Can you elaborate a little on what you are doing to need this? Are you just subclassing
the MessageImpl? If so would protected getter(s) work for you?
    Creating a separate new 'non impl' utility class purely to access a thread local of a
specific implementation from within a third bit of code stikes me as ugly, especially if it
is already a subclass of the starting point.

> Move MessageImpl::TLS to an utility class
> -----------------------------------------
>                 Key: PROTON-1410
>                 URL: https://issues.apache.org/jira/browse/PROTON-1410
>             Project: Qpid Proton
>          Issue Type: Improvement
>            Reporter: clebert suconic
> I have a need to create a special Message on Artemis, that will only parse the Header
and send everything else as a byte array.
> Instead of duplicating the TLS logic, I would like to move this to its own class so it
could be reused.

This message was sent by Atlassian JIRA

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

View raw message