Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Single MDB instane - multiple messages ?

 
kri shan
Ranch Hand
Posts: 1453
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Whether single MDB instance will support more than one message(Queue/Topic) like stand alone JMS consumer.
 
Jaikiran Pai
Marshal
Pie
Posts: 10444
227
IntelliJ IDE Ubuntu
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Sorry, I don't get the question. MDB listens to a single destination (queue or topic). Each queue or topic can have any number of messages and will be consumed by the MDB.

 
kri shan
Ranch Hand
Posts: 1453
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am re-pharsing the question:
Whether single MDB instance listens more than one destination(Queue/Topic) like stand alone JMS consumer.
 
Jaikiran Pai
Marshal
Pie
Posts: 10444
227
IntelliJ IDE Ubuntu
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
kri shan wrote:I am re-pharsing the question:
Whether single MDB instance listens more than one destination(Queue/Topic)


Jaikiran Pai wrote:MDB listens to a single destination (queue or topic)
 
kri shan
Ranch Hand
Posts: 1453
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If MDB has instance pool(has 5 instances), Can i send multiple messages(20 messages) to the 5 instances in the pool?
 
Jaikiran Pai
Marshal
Pie
Posts: 10444
227
IntelliJ IDE Ubuntu
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
kri shan wrote:If MDB has instance pool(has 5 instances), Can i send multiple messages(20 messages) to the 5 instances in the pool?


You don't send messages to MDBs or the consumers. Messages are sent to destinations (queue/topic). It's then the responsibility of the container to send it to the correct instance of MDB.
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic