public boolean apply()
{
boolean passed = true;
ExceptionMonitor connectionExceptionMonitor = circuit.getConnectionExceptionMonitor();
if (!connectionExceptionMonitor.assertOneJMSExceptionWithLinkedCause(AMQNoConsumersException.class))
{
passed = false;
addError("Was expecting linked exception type " + AMQNoConsumersException.class.getName()
+ " on the connection.\n");