[jboss-user] [JBoss Messaging] - Re: Exception when starten 2nd node

mbreuer do-not-reply at jboss.com
Tue Jul 8 15:44:53 EDT 2008


How to deploy a clustered queue to jboss as? Which attributes must be set in a clustered environment,which in a non clustered environment?

In which way does a message driven bean implement load balancing? How can i perform smoke tests with my cluster?

Following example: a clustered mdb on two nodes, putting 10000 messages into it and let the mdg work. The mdb logs out the message? 
What happens? Only one node is working on the queue, the second does nothing. Adding a sleep(100) to the onMessage() does a wonder, both nodes are processing the mdb.

I explained me this behavior in follwoing way:
- mdb always use local jms connections
- message sucker distributes messages to other nodes (there must be an association between mdb throughput and distribution)

Now this sounds easy, but there a so many find grained parameters:
- deploy queue clustered or non clustered
- deploy queue as ha singleton or not
- a combination of both

So what I really need is a guide how to configure queues, mdb's and jboss messaging in a clustered/non clustered environment. How to smoke test? 
How failsafe is the configuration, which problem may occur in worse case?


View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4163150#4163150

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4163150



More information about the jboss-user mailing list