7 Replies Latest reply on May 5, 2011 9:04 AM by Mateusz Gajewski

    Consume messages from multiple queues over single session

    Mateusz Gajewski Newbie

      Is it possible to consume messages from multiple queues without using multiple sessions/message consumers instances?

       

      ActiveMQ has something called "composite destinations" that does that. I want to create some generic consumer that attaches itself to different queues, receives messages and process them. Number of queues will be quite huge (over 50-100 different kind of messages).