Function amqp_exchange_unbind

Synopsis

#include <librabbitmq/amqp_framing.h>

amqp_exchange_unbind_ok_t * amqp_exchange_unbind(amqp_connection_state_t state, amqp_channel_t channel, amqp_bytes_t destination, amqp_bytes_t source, amqp_bytes_t routing_key, amqp_table_t arguments)

Description

amqp_exchange_unbind

Parameters:

[ in ] state - connection state

[ in ] channel - the channel to do the RPC on

[ in ] destination - destination

[ in ] source - source

[ in ] routing_key - routing_key

[ in ] arguments - arguments

Return
amqp_exchange_unbind_ok_t

Source

Lines 2569-2584 in librabbitmq/amqp_framing.c. Line 966 in librabbitmq/amqp_framing.h.

AMQP_PUBLIC_FUNCTION
amqp_exchange_unbind_ok_t *AMQP_CALL
    amqp_exchange_unbind(amqp_connection_state_t state, amqp_channel_t channel,
                         amqp_bytes_t destination, amqp_bytes_t source,
                         amqp_bytes_t routing_key, amqp_table_t arguments) {
  amqp_exchange_unbind_t req;
  req.ticket = 0;
  req.destination = destination;
  req.source = source;
  req.routing_key = routing_key;
  req.nowait = 0;
  req.arguments = arguments;

  return amqp_simple_rpc_decoded(state, channel, AMQP_EXCHANGE_UNBIND_METHOD,
                                 AMQP_EXCHANGE_UNBIND_OK_METHOD, &req);
}





Add Discussion as Guest

Log in to DocsForge