Also, I discovered this warning in the startup of JBoss. 

15:47:36,686 WARN  [org.jboss.as.connector.deployers.RaXmlDeployer] (MSC 
service thread 1-7) IJ020016: Missing <recovery> element. XA recovery disabled 
for: java:/activemq/ConnectionFactory
I even get that when I explicitly add <recovery no-recovery="true"/> to the 
connection-definition. 

So I guess XA recovery is disabled anyway, for this connection factory...  

Is it save to just disable periodic recovery in this setup? Like so 
-DRecoveryEnvironmentBean.periodicRecoveryPeriod=0 
-DRecoveryEnvironmentBean.recoveryBackoffPeriod=0

We don't want tx management between datasource and jms messages anyway. Any 
millisecond in the app will count, and XA takes performance penalty.


Reply via email to