[rabbitmq-discuss] amqp_channel_open retrun value

Alan Antonuk alan.antonuk at gmail.com
Sun Dec 22 05:20:05 GMT 2013


For RPC functions that are defined in amqp_framing.h; if they return a
non-NULL value, the actual RPC call was successful. If they return a NULL
value, you should call the amqp_last_rpc_reply() to get information on why
the call failed.

Read the documentation here:
https://github.com/alanxz/rabbitmq-c/blob/master/librabbitmq/amqp.h#L1635for
further details

-Alan


On Sat, Dec 21, 2013 at 7:17 PM, Sid Young <sid.young at gmail.com> wrote:

> Hi,
>
> I am trying to work out how to get the return value from
> amqp_channel_open() in rabbitmq-c but it does not appear to be documented
> anywhere?
>
> What is the easiest way to get the return value from the call in "C". I'm
> using the "C" library and the code works fine, but I want to log the status
> of the call.
>
> Is it some kind of RPC call made later?
>
> Thanks
>
> Sid
>
> _______________________________________________
> rabbitmq-discuss mailing list
> rabbitmq-discuss at lists.rabbitmq.com
> https://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rabbitmq.com/pipermail/rabbitmq-discuss/attachments/20131221/c3ed3277/attachment.html>


More information about the rabbitmq-discuss mailing list