RabbitMQ Spring Integration notes
Inbound channel
Bridge- pass messages to another message
Outbound channel-adapter .. routiing-key-expression: headers.amqp_replyTo
Use splitter after the toRabbit channel
rabbitTemplate.sendAndReceive is used for synchronous calls to a rabbit queue, internally uses reply to queue in the message header. Generates its own GUID and slaps it to the reply to queue.
Use logging channels to track which reply queue is used.
Add bean to service adapter and wire the class to the bean id.