[
https://issues.apache.org/jira/browse/PROTON-647?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14095678#comment-14095678
]
ASF subversion and git services commented on PROTON-647:
--------------------------------------------------------
Commit 1617753 from [~gemmellr] in branch 'proton/trunk'
[ https://svn.apache.org/r1617753 ]
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
> 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.2#6252)