We are using a jms queue as input from our customers (via servlet) into our application. This queue is backed by MaxDB.My intention is now to build a second queue which is backed by a local store (i.e. HSQLDB). This queue should receive customer requests while downtime of the main database (MaxDB).

My approach was to build two instances of the JVM ConnectionFactory and bind them to different JNDI names (i.e java:/ConnectionFactrory/local and java:/ConnectionFactory/remote). This also for the XAConnectionFactories.

It seems that this approach will not run. When starting JBoss I get the error