Hi,


Well it might be the code is corrupting the channel state, RabbitMQ
will just act based on the order you send AMQP commands to it. If your
code sends those commands in the wrong order, then errors might
happen, for example ack'ing the wrong message or things like that.


RabbitMQ is a server, which means, it is not concerned on which
threading library your application is using, or even if it is using
threads at all. Your application will send "requests" to RabbitMQ and
RabbitMQ will service them. In this case the requests are AMQP
commands.


Regards,


Alvaro


On Mon, Dec 16, 2013 at 6:59 PM, Raj Kumar Sanpui
wrote:
@Alvaro: The same code works perfect, if there are no pthread_mutex_lock.

Can Allan know anything about it.
@Alan Antonuk: Alan, do you have any issue in your library with regard to
thread locks (pthread_mutex_lock) ?



On Tue, Dec 17, 2013 at 12:26 AM, Alvaro Videla wrote:

Well, perhaps either your code or the AMQP library has that problem.
RabbitMQ doesn't know anything about application specific code.

On Mon, Dec 16, 2013 at 6:48 PM, Raj Kumar Sanpui
wrote:
Seems like rabbitmq has an allergy towards thread locks.
Invoke a consumer thread (basic.consume) calling pthread_mutex_lock( )
and
all but one message gets dropped. Same works absolutely fine, if no
thread
locks are used.


On Mon, Dec 16, 2013 at 11:22 PM, Michael Klishin
<mklishin@gopivotal.com>
wrote:
On 16 Dec 2013, at 21:47, Raj Kumar Sanpui <raj.kumar.sanpui@gmail.com>
wrote:
In between, do we have any man page for basic.consume?

What does "no ack", "exclusive", "local" stands for?
Ignore local. Exclusive means that there can only ever be one consumer
on
the queue.

no ack means ?no manual ack?, that is, you don?t intend to use manual
acknowledgements of
deliveries. See tutorial 2: http://www.rabbitmq.com/getstarted.html
and http://www.rabbitmq.com/amqp-0-9-1-reference.html#domain.no-ack

MK

Software Engineer, Pivotal/RabbitMQ


_______________________________________________
rabbitmq-discuss mailing list
rabbitmq-discuss at lists.rabbitmq.com
https://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss


_______________________________________________
rabbitmq-discuss mailing list
rabbitmq-discuss at lists.rabbitmq.com
https://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss
_______________________________________________
rabbitmq-discuss mailing list
rabbitmq-discuss at lists.rabbitmq.com
https://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss


_______________________________________________
rabbitmq-discuss mailing list
rabbitmq-discuss at lists.rabbitmq.com
https://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss

Search Discussions

Discussion Posts

Previous

Follow ups

Related Discussions

Discussion Navigation
viewthread | post
posts ‹ prev | 21 of 25 | next ›
Discussion Overview
grouprabbitmq-discuss @
categoriesrabbitmq
postedDec 16, '13 at 3:36p
activeDec 17, '13 at 10:29a
posts25
users5
websiterabbitmq.com
irc#rabbitmq

People

Translate

site design / logo © 2021 Grokbase