amqp plugin: Use the content type to determine how to decode received messages.