Hi Alan, -----aconway <acon...@redhat.com> wrote: ----- > I don't see any pn_message_copy function in the proton library, is there an > efficient way to make an independent copy of a message? I can encode and > decode but that seems like a long way around.
I actually had a patch lying around to add pn_message_copy() that I'd been using for a C++ wrapper, but never pushed upstream as I didn't know if anyone else would ever need it. Attached fwiw. Cheers, Dom -- Unless stated otherwise above: IBM United Kingdom Limited - Registered in England and Wales with number 741598. Registered office: PO Box 41, North Harbour, Portsmouth, Hampshire PO6 3AU