ConnectionEvent event = new ConnectionEvent(ActiveMQManagedConnection.this, ConnectionEvent.LOCAL_TRANSACTION_STARTED);
Iterator iterator = listeners.iterator();
while (iterator.hasNext()) {
ConnectionEventListener l = (ConnectionEventListener) iterator
.next();
l.localTransactionStarted(event);
}
}
public void commitEvent() {
ConnectionEvent event = new ConnectionEvent(ActiveMQManagedConnection.this, ConnectionEvent.LOCAL_TRANSACTION_COMMITTED);