Based on headers exchange consumer example I tried to create a route for headers exchange producer using different syntax for specifying headers, but it does not seem to work. Please provide an example for headers exchange producer.
I have already tried to use spring-amqp:myHeaderExchange:'':cheese=gouda and
spring-amqp:myHeaderExchange:qName:cheese=gouda but they do not work.
Solution: The header cheese need to be set as http header in camel with a value "gouda". Once the http header is set, producer route with exchange name set to correct exchange name works.
Based on headers exchange consumer example I tried to create a route for headers exchange producer using different syntax for specifying headers, but it does not seem to work. Please provide an example for headers exchange producer.
I have already tried to use spring-amqp:myHeaderExchange:'':cheese=gouda and spring-amqp:myHeaderExchange:qName:cheese=gouda but they do not work.