Rabbitmq-C: How to publish persistent messages?

87 views
Skip to first unread message

Rodrigo Pimenta Carvalho

unread,
Apr 27, 2015, 3:00:35 PM4/27/15
to rabbitm...@googlegroups.com

Hi.

I'm needing an example of C code to use amqp_basic_publish and publish messages in a persistent way. That is, I want publish in a queue that is already persistent, but the messages must be persistent too.

Could someone here give-me an C example, please?

Best regards.

RODRIGO PIMENTA CARVALHO
Inatel Competence Center
Software
Ph: +55 35 3471 9200 RAMAL 979

Michael Klishin

unread,
Apr 27, 2015, 3:27:14 PM4/27/15
to Rodrigo Pimenta Carvalho, rabbitm...@googlegroups.com
 On 27 April 2015 at 22:00:34, Rodrigo Pimenta Carvalho (pim...@inatel.br) wrote:
> I'm needing an example of C code to use amqp_basic_publish and
> publish messages in a persistent way. That is, I want publish
> in a queue that is already persistent, but the messages must be
> persistent too.
>
> Could someone here give-me an C example, please?

https://github.com/alanxz/rabbitmq-c/blob/master/librabbitmq/amqp.h#L732-741
--
MK

Staff Software Engineer, Pivotal/RabbitMQ


Reply all
Reply to author
Forward
0 new messages