hi,

As previously mentioned, I'm trying to abuse the C librabbitmq in order
to develop an AMQP application in an event-based manner.

Tony Garnock-Jones' rais project has been helpful here, but it seems
that in order to send frames to an output buffer, it makes use of the
amqp_send_frame_to() function. However, it looks like[1] this function
has been eliminated from librabbitmq last October.

Is there any chance of amqp_send_frame_to() coming back? Or is there any
other suggested way to make librabbitmq construct a frame without
immediately sending it onto the socket?

It is possible that for our application the frames are generally going
to be small, so we might only call amqp_send_frame() when the socket is
ready for writing and hope that the send() call inside there won't ever
block (or return EWOULDBLOCK). But this seems fragile, to say the least.

thanks a lot,
mlc

[1]
https://github.com/rabbitmq/rabbitmq-c/commit/e50a94ba2fd471c61509ed3120f42d4506d99ffb

Search Discussions

Discussion Posts

Follow ups

Related Discussions

Discussion Navigation
viewthread | post
posts ‹ prev | 1 of 2 | next ›
Discussion Overview
grouprabbitmq-discuss @
categoriesrabbitmq
postedFeb 16, '11 at 1:49a
activeFeb 16, '11 at 11:26a
posts2
users2
websiterabbitmq.com
irc#rabbitmq

2 users in discussion

David Wragg: 1 post Mike castleman: 1 post

People

Translate

site design / logo © 2022 Grokbase