[jboss-user] [JBoss Messaging] - Null persistence for queues without breaking other things...

ghtdak do-not-reply at jboss.com
Mon Dec 8 03:33:39 EST 2008

I'm evaluating JBoss for a high-rate ingestion system where persistence of messages is much less important than performance.  Without venturing into messaging 2.0 (which looks promising) turning off persistence seems the best approach

So I was happy to see the null-persistence-service.xml in the examples directory.

Unfortunately, there is a bunch of stuff which breaks, (lots of exceptions get thrown having to do with XA, user manager etc.).  I would post it all but its pretty easy to see what happens with a virgin install of AS 5.0 by swapping out hsqldb with null persistence in deploy/messaging.

The usual google search points to older (multiple years old) wiki posts mostly talking about MQ. Its clear that there are a number of inter-related services which use persistence (and derived services supporting transactions etc).  I've also decided to start with AS-5 (since I'm starting from scratch anyways) and these posts discuss the previous architecture.

My ideal configuration would be both non-persisted high performance messaging queues and regular persisted queues and persistence support for all the other stuff which likes it. To start, I'd settle for just turning off persistence until I get up to speed although I have a feeling this will make things more difficult when using other JBoss capabilities (web stuff, things which actually need databases etc)

Looking through the (rather large) configuration options, it seems clear that all this is possible... but, for a new JBoss initiate, how to decipher all the interdependencies given the available information seems daunting.

Or am I hoping for something inconsistent with the architecture?  (I ask this last part because it seems that there may be difficulties introduced due to multiple types of queues needed as other services require persisted queues etc) 



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

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

More information about the jboss-user mailing list