Changed from ArrayBlockingQueue to MessageQueue.