This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line!
See this thread for details.
The moose likes JBoss/WildFly and the fly likes Increasing MDB'S instances Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

JavaRanch » Java Forums » Products » JBoss/WildFly
Bookmark "Increasing MDB Watch "Increasing MDB New topic

Increasing MDB'S instances

ray frid
Ranch Hand

Joined: Dec 23, 2010
Posts: 79
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?


I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link:
subject: Increasing MDB'S instances
It's not a secret anymore!