Hi guys,
I am trying to seek the bug connected with rabbitmq - our user got the same message two times (on 25th February and 29th March).
Firstly, I would describe the system briefly:
- there is an webapp (Tapestry based) - user can use it to apply for access to specific data; applying = sending a message to RabbitMQ
- RabbitMQ is queueing the messages and sending them to the consumer
- the consumer sends emails to the administrators, who will be considering the applications
- after sending the email, the entry in mongo database is created (the content of the message is inserted there)
So how sending two identical messages is possible? There is only one entry in mongo database about user's activity, so it looks that he was applying only for one time.
I read that the acknowledgement must be sent to the Rabbit, but I also have read that in spring-rabbit the a
cknowledgement is automatic. Do you have any idea?Consumer is written in java with spring-rabbit library.
https://github.com/spring-projects/spring-amqp/tree/master/spring-rabbitI am not pretty much a
java/spring/rabbitmq guy, but I try as I can to learn these technologies
(for few days by now).