ConnectionEvent event = new ConnectionEvent(ActiveMQManagedConnection.this, ConnectionEvent.LOCAL_TRANSACTION_ROLLEDBACK);
Iterator iterator = listeners.iterator();
while (iterator.hasNext()) {
ConnectionEventListener l = (ConnectionEventListener) iterator
.next();
l.localTransactionRolledback(event);
}
}
};
}