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

Increasing MDB'S instances  RSS feed

ray frid
Ranch Hand
Posts: 79
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all,
I am using jboss 5.1.x
I am trying to increase my mdb's instances.
but no success.

some code:

@MessageDriven(activationConfig =
{ @ActivationConfigProperty(propertyName = "destinationType", propertyValue = "javax.jms.Queue"),
@ActivationConfigProperty(propertyName = "destination", propertyValue = Constants.QUEUE_LOOKUP),
@ActivationConfigProperty(propertyName = "maxSession", propertyValue = "50")

public class ECMSDispatcherMdb implements MessageListener

now when I look at the Console Admin, under the Queues\MyQueue tree:

Consumer Count 1 The number of consumers on the queue
Message Count 0 The number of messages in the queue

* the Consumer Count, keep being only 1.

any idea what is wrong? or what haven't I configured right?


With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!