A clustered JBoss 4.2.3 with a bridge (inside a SAR) and a XAConnectionFactory (inside a separate SAR) connecting to a remote HornetQ server. Everything is fine... nearly... but the clustered JBoss has 9 nodes and so I get 9 bridges which receive a single message from HornetQ resulting in 9 messages on my topic inside the JBoss cluster.
It tried to fix that problem by moving the two SARs into deploy-hasingleton. But then a NameNotFoundException occured telling me that the XAConnectionFactory is not available anymore. I'm sorry, I don't have the stack trace.
I'm not really familiar with JBoss... Is there anything further I have to do, when deploying SARs to deploy-hasingleton?