Extract topic to a class so it matches queue