[rabbitmq-discuss] amqp_channel_open retrun value
sid.young at gmail.com
Mon Dec 23 00:14:20 GMT 2013
So do I need to call:
AMQP_PUBLIC_FUNCTION amqp_rpc_reply_t AMQP_CALL
after the call to get the reply status?
On Sun, Dec 22, 2013 at 3:20 PM, Alan Antonuk <alan.antonuk at gmail.com>wrote:
> 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
> On Sat, Dec 21, 2013 at 7:17 PM, Sid Young <sid.young at gmail.com> wrote:
>> 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
>> 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?
>> rabbitmq-discuss mailing list
>> rabbitmq-discuss at lists.rabbitmq.com
> rabbitmq-discuss mailing list
> rabbitmq-discuss at lists.rabbitmq.com
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the rabbitmq-discuss