log.warn("Connection: " + connectionInfo.getClientId() + " is a slow consumer");
String spoolName = brokerConnector.getBrokerInfo().getBrokerName() + "_" + connectionInfo.getClientId();
try {
spoolQueue = new SpooledBoundedPacketQueue(brokerConnector.getBrokerContainer().getBroker()
.getTempDir(), spoolName);
final BoundedPacketQueue bpq = spoolQueue;
ThreadedExecutor exec = new ThreadedExecutor();
exec.execute(new Runnable() {
public void run() {
while (!closed.get()) {
try {
Packet packet = bpq.dequeue();
}
catch (InterruptedException e) {
log.warn("async dispatch got an interupt", e);
}
catch (JMSException e) {