Any admin commands blocks all messaging in the server for the duration of that command. Compaction is an admin command and therefore falls into that category. In other words, even though you may be compacting "store1", producing or consuming messages from "store2", or even using NON_PERSISTENT messages - that are not even stored - will be delayed until the compact command ends (either due to completion or when the timeout specified is reached).