When jencks shuts down an endpoint, it rolls back the last action done on it.. Was causing weird errors to show

up on the broker cause the message had already been commited.  We now handle an RA commit followed by a rollback for
this case (basicaly we ignore the rollback).



git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@658724 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Hiram R. Chirino 2008-05-21 15:23:09 +00:00
parent 5a368cacd6
commit b135f8abad
1 changed files with 4 additions and 0 deletions

View File

@ -153,6 +153,8 @@ public class TransactionContext implements XAResource {
throw e;
} catch (Throwable e) {
throw JMSExceptionSupport.create(e);
} finally {
synchornizations = null;
}
}
@ -170,6 +172,8 @@ public class TransactionContext implements XAResource {
throw e;
} catch (Throwable e) {
throw JMSExceptionSupport.create(e);
} finally {
synchornizations = null;
}
}