Description
there are a few map parsers on AMQPMessage that could be avoided...
... we currently parse ApplicationProperties if no Properties are defined.. only to throw it away.
... we currently parse MessageAnnotations to throw away also.. because of getAnnotation Properties on Message.type
We could avoid all that by:
- reading the ID of the section ahead.
- using the destination type on the producer instead of the Message.. and only use the message on the case of an anonymous producer.