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

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

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Duplicate
    • 3.3.0
    • 3.10.0
    • camel-rabbitmq
    • None
    • 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

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

              Dates

                Created:
                Updated:
                Resolved: