[jboss-user] [JBoss Messaging] - Re: Bridge with QOS_ONCE_AND_ONLY_ONCE

2009-08-01 Thread timfox
JBM 1.4 should *never* be used with an XA JDBC data source.

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4247381#4247381

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4247381
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Messaging] - Re: Bridge with QOS_ONCE_AND_ONLY_ONCE

2009-07-30 Thread gaohoward
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.


View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4246924#4246924

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4246924
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Messaging] - Re: Bridge with QOS_ONCE_AND_ONLY_ONCE

2009-07-30 Thread 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:
anonymous wrote : 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=ServerPeerID5/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?

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4246945#4246945

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4246945
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Messaging] - Re: Bridge with QOS_ONCE_AND_ONLY_ONCE

2009-07-30 Thread gaohoward
${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.



View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4247044#4247044

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4247044
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Messaging] - Re: Bridge with QOS_ONCE_AND_ONLY_ONCE

2009-07-30 Thread stuartw
Thanks very much, I assume that I could also set jboss.messaging.ServerPeerID 
using the properties-service.xml

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4247051#4247051

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4247051
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user