[jboss-user] [JBoss Messaging] - MQ migration help

tnine do-not-reply at jboss.com
Tue Apr 15 03:53:58 EDT 2008


Hi all,
  I'm upgrading our processing cluster from AS 4.0.5 to AS 4.2.2.  Part of this upgrade includes a migration from JBoss MQ to JBoss Messaging.  I have some questions regarding HA and data sources.  

In our current MQ installation, we have left the DefaultDS as the HSQL DB and created an MQ data source using a MySQL XA connection.  Which of the following is the most commonly accepted and cleanest with JBoss Messaging?

1. Change the DefaultDS to use MySQL XA connections.  Can more than 1 node share the same database on MySQL if I set up the DefaultDS to point to the same database across all nodes?


2. Define a new Datasource and point each node to the same database.

All databases will be in MySQL cluster.


Second, I've had some flakiness using Spring's JMSTemplate with MQ when the system is under heavy load.  Most of the queue inputs come from POJO clients that partition 2 GB plus flat files into Threadpools and queue the partitions concurrently.  This wiki article outlines the issues

http://wiki.jboss.org/wiki/JBMSpringJMSTemplateNotes

However, it doesn't point to a good way to connect from POJO clients outside the container.  Can anyone point me to an article so that I can implement a JBoss "approved" JMSTemplate with connection pooling?  These client queues will need to be XA compatible.


Thanks,
Todd[/url]

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

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



More information about the jboss-user mailing list