Affects Version/s: 1.2.0, 1.3.0
Fix Version/s: None
NmsTransactionManager's DoBegin method can break transaction synchronization in some cases, if more than on transaction manager is used.
I'm refering to Spring.net 1.2.0, NmsTransactionManager.cs, Line 215
catch (NMSException ex)
In two of my tests the
con = CreateConnection(); (Line 198) doesn't throw a NMSException, but one of these exceptions:
System.IO.IOException "Message: Wire format negotiation timeout: peer did not send his wire format."
these exceptions will not be caught by the catch block and will also not trigger the CannotCreateTransactionException.
maybe the catch block should be changed to catch other exception types as well.