-
1. Re: Bridge with QOS_ONCE_AND_ONLY_ONCE
gaohoward Jul 30, 2009 5:31 AM (in response to stuartw)QOS_ONCE_AND_ONLY_ONCE is used by the bridge to internally control the way it move the messages from the source to target. It's nothing to do with datasource. So you don't need to change the Datasource.
-
2. Re: Bridge with QOS_ONCE_AND_ONLY_ONCE
stuartw Jul 30, 2009 6:35 AM (in response to stuartw)Thanks very much for a quick response. In that case I think I must have misunderstood what I required to do based on the following quote from the documentation:
If JTA is required then both supplied connection factories need to be XAConnectionFactory implementations
It turns out that I was already doing this anyway. I tried changing so many things that I didn't fully understand which change had actually made everything work. Having stripped everything right back it turns out that the issue I was seeing was related to the fact that I did not have a unique ServerPeerID on each of my JBoss instances.
I do have a question about the ServerPeerID value though. In the supplied file the value is set as follows:<attribute name="ServerPeerID">${jboss.messaging.ServerPeerID:0}</attribute>
I changed this to:<attribute name="ServerPeerID">5</attribute>
and also to:<attribute name="ServerPeerID">${jboss.messaging.ServerPeerID:5}</attribute>
Both of which seem to work for me, which is the correct (or preferred) way to set this? Also, what is the difference between the two? -
3. Re: Bridge with QOS_ONCE_AND_ONLY_ONCE
gaohoward Jul 30, 2009 11:44 AM (in response to stuartw)${jboss.messaging.ServerPeerID:5} means you can set the server peer ID by defining the jboss.messaging.ServerPeerID property in startup command line (run.sh), but if you don't define it, the server peer id defaults to 5.
-
4. Re: Bridge with QOS_ONCE_AND_ONLY_ONCE
stuartw Jul 30, 2009 11:55 AM (in response to stuartw)Thanks very much, I assume that I could also set jboss.messaging.ServerPeerID using the properties-service.xml
-
5. Re: Bridge with QOS_ONCE_AND_ONLY_ONCE
timfox Aug 1, 2009 3:32 AM (in response to stuartw)JBM 1.4 should *never* be used with an XA JDBC data source.