Heikki created CAMEL-16511:
------------------------------

             Summary: Make args(query parameter) bean arguments reusable
                 Key: CAMEL-16511
                 URL: https://issues.apache.org/jira/browse/CAMEL-16511
             Project: Camel
          Issue Type: Improvement
          Components: camel-rabbitmq
            Reporter: Heikki


As a camel-rabbitmq module user I would want to reuse argument map bean in args 
query parameter in rabbitmq routes. Currently bean arguments gets removed when 
set successfully.
Usage example:
rabbitmq:exchangeName?queue=queueName&args=#consumerArgs 
@Bean("consumerArgs")
public Map<String, Object> bindConsumerArgs() {
HashMap<String, Object> args = new HashMap<>();
//
return args;
}

Current bypass is to make bean as prototype.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to