Do these arrays need to be explicitly keyed 0, 1, 2? If these arrays don't need key names, I'd prefer to not have them there - especially if they're just matching up with the index number.

I tried it out recently on another producer or consumer I was doing and the MessageBroker class still seemed to act okay.