• Post Reply Bookmark Topic Watch Topic
  • New Topic

one message comes in while previous one is still being consumed

 
ben oliver
Ranch Hand
Posts: 375
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If one message comes to a topic and gets picked up by a MDB, supposes it takes a while to complete its transaction. During this time another message is sent to the topic. Will container immediately pick another MDB instance out of pool to consume the second incoming message or will it wait until the first message is done ?
 
Ulf Dittmer
Rancher
Posts: 42970
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
All types of EJBs are pooled, so there's no waiting.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!