Generically map amqp messages to arbitrarity actions