Uploaded image for project: 'Camel'
  1. Camel
  2. CAMEL-16511

camel-rabbitmq - Make args(query parameter) bean arguments reusable

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Duplicate
    • Affects Version/s: 3.3.0
    • Fix Version/s: 3.10.0
    • Component/s: camel-rabbitmq
    • Labels:
      None
    • Estimated Complexity:
      Unknown

      Description

      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.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                heikki.laidinen Heikki
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: