ecotoneframework / ecotone-dev

Ecotone Framework Development - This is Monorepo which contains all official public modules
https://docs.ecotone.tech
Other
37 stars 16 forks source link

Add amqp routing key to message headers #11

Closed dgafka closed 1 year ago

dgafka commented 2 years ago

Description
Currently when polling message from AMQP, there is no way to get information about routing key which was used to sent the message.

In order to allow for more context, this can be added to the Ecotone's Message Headers under amqp.routingKey.

Example

Incoming message is build inside AmqpInboundChannelAdapter. Channel Adapters are part of implemention of EIP pattern.

To test the solution, test can be added AmqpChannelAdapterTest

dgafka commented 1 year ago

Closing does not seems to be needed atm.