amqp exchange types

10 views
Skip to first unread message

l rus

unread,
Aug 26, 2014, 3:24:56 PM8/26/14
to rabbitm...@googlegroups.com
i am new to amqpmq-c. please bare with me. amqp support a handful of exchange types: direct, topic, fanout etc.
Is this functionality exposed thru rabbitmq-c library package or is this thru naming convention?
 
e.g. java implementations have exchangeDeclare() that takes exchange type.
 
 

Michael Klishin

unread,
Aug 26, 2014, 3:27:08 PM8/26/14
to l rus, rabbitm...@googlegroups.com
So does librabbitmq-c:
https://github.com/alanxz/rabbitmqc/blob/master/examples/amqps_exchange_declare.c#L101

Exchange type is a separate (string) field on the wire. The only convention there
is is that non-standard exchange types begin with the "x-" prefix. 
--
MK

Staff Software Engineer, Pivotal/RabbitMQ
Reply all
Reply to author
Forward
0 new messages