[openamq-dev] amq_content_basic... destroy vs unlink
Pieter Hintjens
ph at imatix.com
Thu Oct 25 18:53:01 CEST 2007
On 10/25/07, Dmitri Tsyganov <dmitri.tsyganov at dowjones.com> wrote:
> I have an application that publishes content_basic Open AMQ messages in
> a very rapid order. (who does not :))
:-) This is what it was made for.
> According to the documentation I should be using
> amq_content_basic_destroy on the content created with
> amq_content_basic_new.
The documentation is wrong, I'm glad to say. For a while I thought
there was a problem with the code, but it is actually correct and the
app should use unlink, not destroy.
I've written a more detailed explanation here:
http://wiki.openamq.org/tutorial:publishing-contents.
Thanks for the feedback, I'll fix the doc now.
--
This email may contain documents in ISO26300 format (ODF). ODF is
portable to Windows, Mac, and Linux and is widely supported. Go to
http://www.ODFworks.com for more information and free downloads.
More information about the openamq-dev
mailing list