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) {