Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: 2.0.1
-
Component/s: Core: Configuration, Transport: JMS
-
Labels:
-
User impact:High
-
Effort points:0.5
-
Similar Issues:None
Description
There must be no jms:xa-transaction config element, but a core xa-transaction one instead.
Issue Links
- blocks
-
MULE-2734
Error registering bean with name 'jdbcConnector' defined in null in XABridgeJmsJdbcTestCase
-
-
MULE-2736
JDBC transaction test hangs
-
-
MULE-3322
JDBC transport ignores endpoint transaction properties
-
-
MULE-3574
Resolve outstanding transaction issues/bugs
-
- relates to
-
MULE-3340
There's no vm:transaction element in the VM schema
-
There are currently two schools of thought on how to implement this:
IMHO approach 2) would be much less error prone and IMHO aligns better with the approach we have used for configuring Mule through XML: make the configuration as tight as possible and catch runtime errors in the config already, where possible.
- allow an xa-transaction element on generic endpoints even though not every transport supports that. It would be the user's responsibility to configure the xa-transactions correctly (or Mule would blow up at runtime when starting up)
- allow XA transactions only on transport specific endpoints which support XA. Note that configuring XA transactions on generic endpoints would then only be possible by using the current approach: using a custom-transaction element and specifying the XATransactionFactory.
IMHO approach 2) would be much less error prone and IMHO aligns better with the approach we have used for configuring Mule through XML: make the configuration as tight as possible and catch runtime errors in the config already, where possible.