Win a copy of Penetration Testing Basics this week in the Security forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

MDB clustering question

Jonathan Newbrough
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Howdy all,

I'm looking for a way to have MDBs on multiple systems handle messages sequentially:

I only want one MDB ever processing a message at a time (so the whole message transaction completes before the next message transaction begins);

but I also want the failover capability of deploying this MDB on clustered J2EE servers.

So far I've tried CLIENT_ACKNOWLEDGED and transactional consumers, but JMS is happy to deliver the next message to the next consumer (which may cause message 2 to be processed before message 1 if the transaction handling message 1 rolls back).

Thoughts? Suggestions?

BTW, I'm using JBoss4.0.4 and JDK1.5.

Many thanks,
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic