AMQP based worker/master pattern framework