Enable autocommit on DB connection as there are no explicit commit() calls
parent
a58f9007db
commit
2e7c554b48
|
@ -854,9 +854,9 @@ public class InboundMessageProcessor implements Runnable, MessageExchangeReplyLi
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
connection = getDatabaseConnection(jndiName);
|
connection = getDatabaseConnection(jndiName);
|
||||||
if (isTransacted && exchange instanceof InOnly) {
|
// if (isTransacted && exchange instanceof InOnly) {
|
||||||
connection.setAutoCommit(false);
|
connection.setAutoCommit(true);
|
||||||
}
|
// }
|
||||||
//final List records = epb.getProcessList();
|
//final List records = epb.getProcessList();
|
||||||
final List records = (List)mMapInboundExchangesProcessRecords.get(messageId);
|
final List records = (List)mMapInboundExchangesProcessRecords.get(messageId);
|
||||||
for (final Iterator it = records.iterator(); it.hasNext();) {
|
for (final Iterator it = records.iterator(); it.hasNext();) {
|
||||||
|
|
|
@ -1123,7 +1123,7 @@ public class OutboundMessageProcessor implements Runnable {
|
||||||
"DBBC_E00627");
|
"DBBC_E00627");
|
||||||
throw new Exception(faultString, e);
|
throw new Exception(faultString, e);
|
||||||
}
|
}
|
||||||
connection.setAutoCommit(false);
|
connection.setAutoCommit(true);
|
||||||
|
|
||||||
|
|
||||||
/* PP: Glassfish does not return a XADataSource and always returns
|
/* PP: Glassfish does not return a XADataSource and always returns
|
||||||
|
@ -1435,7 +1435,7 @@ public class OutboundMessageProcessor implements Runnable {
|
||||||
faultCode, faultDetail);
|
faultCode, faultDetail);
|
||||||
throw new Exception(faultString, e);
|
throw new Exception(faultString, e);
|
||||||
}
|
}
|
||||||
connection.setAutoCommit(false);
|
connection.setAutoCommit(true);
|
||||||
cs = executeOutboundProc(inMsg, epb, meta,
|
cs = executeOutboundProc(inMsg, epb, meta,
|
||||||
connection);
|
connection);
|
||||||
final JDBCNormalizer normalizer =
|
final JDBCNormalizer normalizer =
|
||||||
|
@ -1714,7 +1714,7 @@ public class OutboundMessageProcessor implements Runnable {
|
||||||
}
|
}
|
||||||
|
|
||||||
if (transaction != null)
|
if (transaction != null)
|
||||||
connection.setAutoCommit(false);
|
connection.setAutoCommit(true);
|
||||||
// writeMessage(inMsg, destinationAddress, false);
|
// writeMessage(inMsg, destinationAddress, false);
|
||||||
if (meta.getJDBCOperationInput().getOperationType().
|
if (meta.getJDBCOperationInput().getOperationType().
|
||||||
equalsIgnoreCase(
|
equalsIgnoreCase(
|
||||||
|
|
Loading…
Reference in New Issue