I’m using Axon 4.3.1 with AxonServer.
I would like to be able to send metadata on the query and command gateways without using interceptors.
For the command gateway it seems as it is enough to create GenericCommandMessage with the constructor that accepts metadata as a Map.
I’m not completely sure if this is correct, but it looks like it works. However, I believe that the command gateway’s API misses some convenient methods
for doing this without the need for creating GenericCommandMessage.
For query gateway, I didn’t found a way for sending custom metadata. Is it possible currently? Similarily as for command gateway, I think some
convenient methods for sending metadata would be very useful.