RabbitMQ-C

142 views
Skip to first unread message

l rus

unread,
Sep 2, 2014, 10:55:30 PM9/2/14
to rabbitm...@googlegroups.com


- Which version of AMQP does the latest package implement? Is it 0.9.1 or older?

- Are there any plans to support AMQP 1.0? Is there any C/C++ implementation (QPID?)
  which supports AMQP 1.0?
 
- What are the major functionalities of AMPQ 0.9.1 that are NOT available 
  thru RabbitMQ-C  / SimpleAMQP pcakges?




l rus

unread,
Sep 2, 2014, 11:15:39 PM9/2/14
to rabbitm...@googlegroups.com

would like to know if there is rabbitmq-c specific user group / mailing group.
to avoid posting questions to this group..

thx

Alan Antonuk

unread,
Sep 3, 2014, 12:27:26 AM9/3/14
to l rus, rabbitm...@googlegroups.com
On Tue, Sep 2, 2014 at 8:15 PM, l rus <zxto...@gmail.com> wrote:

would like to know if there is rabbitmq-c specific user group / mailing group.
to avoid posting questions to this group..

This is the group to post rabbitmq-c related questions. (Put rabbitmq-c in the subject). 


On Tuesday, September 2, 2014 10:55:30 PM UTC-4, l rus wrote:


- Which version of AMQP does the latest package implement? Is it 0.9.1 or older?

rabbitmq-c only supports AMQP v0.9.1 and the extensions that the RabbitMQ broker supports. It is not explicitly compatible with any other AMQP broker, while it may work, it is not the goal to be compatible with other brokers, .


- Are there any plans to support AMQP 1.0? Is there any C/C++ implementation (QPID?)
  which supports AMQP 1.0?
At this time no. AMQP v1.0 is a very different protocol than v0.9.1 (its not simply a better version of AMQP). This is an unfortunately marketing decision. As far as I know the RabbitMQ broker developers have no plans to stop developing on the v0.9.1 AMQP.

I'm not sure about the answer to your second question.
 
 
- What are the major functionalities of AMPQ 0.9.1 that are NOT available 
  thru RabbitMQ-C  / SimpleAMQP pcakges?

rabbitmq-c and SimpleAmqpClient (which is a wrapper around rabbitmq-c) do not provide a convenient interface for the asynchronous parts of the protocol, though all major components of the protocol are accessible from the current API.

-Alan

l rus

unread,
Sep 3, 2014, 8:38:27 AM9/3/14
to rabbitm...@googlegroups.com, zxto...@gmail.com

 
In absence of a document for the developers using these pkgs,  what are the APIs to be used to develop
an AMQP client? does amqp_api.c reflect all interfaces or these are scattered across each individual
implementation files?
 
Similarly, what are the programming APIs for SimpleAmqpClient users?

Alan Antonuk

unread,
Sep 3, 2014, 11:30:11 AM9/3/14
to l rus, rabbitm...@googlegroups.com
API documentation for rabbitmq-c can be found: http://alanxz.github.io/rabbitmq-c/docs/0.5.0/ (its linked in the README file). Or read the amqp.h header file.

For SimpleAmqpClient your best bet is to look at the header files: e.g.,

-Alan

--
You received this message because you are subscribed to the Google Groups "rabbitmq-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rabbitmq-user...@googlegroups.com.
To post to this group, send email to rabbitm...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Vipul Patel

unread,
Sep 4, 2014, 4:34:31 AM9/4/14
to Alan Antonuk, rabbitm...@googlegroups.com

It would be great if you could add examples or provide link for  amqp_simple_rpc and
amqp_send_method/frame usage. I have a bunch of request/reply pair which 
could be implemented with rpc.

with SimpleAMQP, 

- how to use BasicPublish() to specify amqp_basic_properties_t properties
  associated with the published message? [equivalent to amqp_basic_publish()]

- how to use amqp_simple_rpc like functionality?

- is CheckRpcReply equivalent to amqp_get_rpc_reply()? How to use it?

- would  DeclareQueue() with an empty string queue name create an anonymous queue (system generated name)? [equivalent to amqp_empty_bytes?]



Alan Antonuk

unread,
Sep 4, 2014, 8:22:22 PM9/4/14
to Vipul Patel, rabbitm...@googlegroups.com
On Thu, Sep 4, 2014 at 1:34 AM, Vipul Patel <zxto...@gmail.com> wrote:

It would be great if you could add examples or provide link for  amqp_simple_rpc and
amqp_send_method/frame usage. I have a bunch of request/reply pair which 
could be implemented with rpc.

If you're looking to use these functions to do RPCs using the broker as a transport mechanism to a remote service, these functions are not what you're looking for. They're intended to perform AMQP RPCs: e.g., declare a queue or bind an exchange. 
 

with SimpleAMQP, 

- how to use BasicPublish() to specify amqp_basic_properties_t properties
  associated with the published message? [equivalent to amqp_basic_publish()]

- how to use amqp_simple_rpc like functionality?
 SimpleAmqpClient doesn't provide an interface to do this.

- is CheckRpcReply equivalent to amqp_get_rpc_reply()? How to use it?
No, it checks for error conditions after an AMQP RPC call. CheckRpcReply is an internal function client code should NOT be using it. (Don't use it).

- would  DeclareQueue() with an empty string queue name create an anonymous queue (system generated name)? [equivalent to amqp_empty_bytes?]
Yes. 
Reply all
Reply to author
Forward
0 new messages