[ 
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:

    https://github.com/apache/qpid-proton-j/pull/6
  
    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
(v6.3.15#6346)

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

Reply via email to