Spring AMQP questions belong to Stack Overflow with the tag “spring-amqp”. You use
a fanout exchange: it places a copy of every message into every queue that’s bound to it.
That’s the most likely reason for confusion. Redeliveries would be another.
Both are quite easy to verify using the management UI or `rabbitmqctl list_*` commands.
On 10 December 2016 at 23:07:38, Mahesh Vedantam (
mahesh....@gmail.com) wrote:
> Hi Rabbit MQ users,
>
> I am try to use pub-sub model and new to rabbit mq.
> In my test project, the publishers send an event it gets delivered almost
> twice to the event handler.
> I am not what causing the events to be delivered more than once ( Does the
> SimpleMessageListenerContainer gets called once the handleRequest in MQ
> Event Handler is completed). Please let me know.
>
> Here is the configuration:-
> [snip]
> > xmlns="
http://www.springframework.org/schema/rabbit">
>
>
>
>
>
>
> > queue-names="myQueue" />
>
> Thanks,
> Mahesh.
>
> --
> You received this message because you are subscribed to the Google Groups "rabbitmq-users"
> group.
> To unsubscribe from this group and stop receiving emails from it, send an email to
rabbitmq-user...@googlegroups.com.
> To post to this group, send an email to
rabbitm...@googlegroups.com.
> For more options, visit
https://groups.google.com/d/optout.
>
--
MK
Staff Software Engineer, Pivotal/RabbitMQ