Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Doubt about why I have 2 consumers, I think I should have one! (ActiveMQ)

 
Juan Sotelo
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello everybody.. well I am working with spring and ActiveMQ.I followed some examples and I was able to send and receive a message to a JMS queue. But I have a doubt, since, when I look into the ActiveMQ console I have 2 consumers! and I wonder why??? I Should have just one!.

I made a quick example project (so, you dont have to loose much time), so you can see all the code and test it... so you can replicate the problem..

Also this example app could be helpfull for some one else. (Spring MVC and ActiveMQ, example project)

I hope someone have time to take a look at this and answer this doubt!

Thanks.

http://www.megaupload.com/?d=A79K8F1V
 
Juan Sotelo
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I already solve the problem. The issues was that I was calling a configuration file twice and this actions produce 2 listeners (2 consumers).

Thanks.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic