[jboss-dev-forums] [JBoss Messaging Development] - JGroups/JBoss Cache backed PersistenceManager?
scotto
do-not-reply at jboss.com
Wed Oct 14 00:19:42 EDT 2009
Is it feasible to write a org.jboss.messaging.core.contract.PersistenceManager implementation that is backed by JGroups or JBoss Cache?
I ask because I need a JMS solution that ensures failover of persistent messages when a cluster member dies, with the acceptable restriction that these messages do NOT need to be persisted should ALL members of the cluster die.
(The standard solution of using the JDBCPersistenceManager with a clustered database IMHO is overkill and proving to have unacceptable performance issues for our application, hence I am looking for alternatives!)
It would seem to me that something like this would be possible, perhaps using the JGroups DistributedHashMap or MessageDispatcher blocks to distribute the "persisted" messages? Can anyone foresee any problems pursuing this approach? My initial concerns would be regarding the correct handling of XA transactions etc (Alternatively, would using JBoss Cache instead of JGroups take care of XA issues?).
Any insight on this idea would be greatly appreciated!
Thanks
Scott
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4260208#4260208
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4260208
More information about the jboss-dev-forums
mailing list