CircuitFactory circuitFactory = getCircuitFactory();
Circuit testCircuit = circuitFactory.createCircuit(testProps);
// Send one message and get a linked no consumers exception.
assertNoFailures(testCircuit.test(1,
assertionList(((AMQPPublisher) testCircuit.getPublisher()).noConsumersAssertion(testProps))));
}
/** Check that an immediate message results in no consumers code, in a transaction, when a consumer is disconnected. */
public void test_QPID_517_ImmediateFailsConsumerDisconnectedTxPubSub()