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

ASF subversion and git services commented on PROTON-647:
--------------------------------------------------------

Commit 1630780 from [~gsim] in branch 'proton/branches/examples'
[ https://svn.apache.org/r1630780 ]

PROTON-647: add method to copy an Event before use of the Collector pop() 
reclaims it to the pool

Applied patch from Clebert Suconic

> Implement an Event.copy or clone method
> ---------------------------------------
>
>                 Key: PROTON-647
>                 URL: https://issues.apache.org/jira/browse/PROTON-647
>             Project: Qpid Proton
>          Issue Type: Improvement
>            Reporter: clebert suconic
>            Assignee: Robbie Gemmell
>             Fix For: 0.8
>
>
> I'm facing an issue where I'm having to process the event after a pop.
> I can't use the Event after pop because the Collector will place it on a pool.
> The copy method would allow me to use it beyond pop:
> I have achieved this with this commit here: 
> https://github.com/clebertsuconic/qpid-proton/commit/ed8367c1a699511ac9c5e23eb4f1a01ee4acff2c



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

Reply via email to