[rabbitmq-discuss] rabbitmq-c parameters
Roberto Pagliari
roberto at canary.is
Mon Jan 13 21:03:21 GMT 2014
I am trying to run amqp_consumer from the examples library, with port
number 5672.
The programs terminates when trying to open the TCP socket
status = amqp_socket_open(socket, hostname, port);
if (status) {
die("opening TCP socket");
}
Any idea why this is happening? Should I change some configuration settings
about the port (I'm using Ubuntu 12 right now)?
Thank you,
On Wed, Jan 8, 2014 at 1:02 AM, Alan Antonuk <alan.antonuk at gmail.com> wrote:
> Inlined:
>
> On Tue, Jan 7, 2014 at 3:51 PM, Roberto Pagliari <roberto at canary.is>wrote:
>
>> I am looking at the example of the RabbitC library
>>
>> https://github.com/alanxz/rabbitmq-c/blob/master/examples/amqp_producer.c
>>
>> 1. which port can normally be used for it?
>>
> You should use the port that you've configured your RabbitMQ broker to
> listen on. By default RabbitMQ listens on 5672, and 5671 for SSL
> connections, if you have those configured.
>
> 2. what are rate_limit and message_count?
>>
> rate_limit is the number of messages per second the example will try to
> send. The message_count is the number of messages the program will send
> before terminating.
>
> -Alan
>
> _______________________________________________
> rabbitmq-discuss mailing list
> rabbitmq-discuss at lists.rabbitmq.com
> https://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rabbitmq.com/pipermail/rabbitmq-discuss/attachments/20140113/46ff7fb5/attachment.html>
More information about the rabbitmq-discuss
mailing list