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

Can not create AWS MQ Broker using "aws-mq" component

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Won't Fix
    • Affects Version/s: 2.21.2
    • Fix Version/s: None
    • Component/s: camel-aws
    • Labels:
      None
    • Estimated Complexity:
      Unknown

      Description

      We are trying to create AWS MQ Broker according to https://github.com/apache/camel/blob/master/components/camel-aws/src/main/docs/aws-mq-component.adoc

      Operations listBrokers, stopBroker and reboteBroker works fine.

      The problem is  - createBroker operation failed with error:

      com.amazonaws.services.mq.model.BadRequestException: Specify broker engine type. (Service: AmazonMQ; Status Code: 400; Error Code: BadRequestException; Request ID: 0556f7f5-135e-11e9-9f2a-b5511078d731)
      at com.amazonaws.http.AmazonHttpClient$RequestExecutor.handleErrorResponse(AmazonHttpClient.java:1639) ~[aws-java-sdk-core-1.11.269.jar:?]

      I see that parameter "engine type" ( the same problem with  "engine version") is not propagated by Camel-AWS MQ component  to AWS MQ Client https://github.com/apache/camel/blob/camel-2.21.2/components/camel-aws/src/main/java/org/apache/camel/component/aws/mq/MQProducer.java#L122

       

      Test project is attached.

       

        Attachments

        1. test-awsmq.zip
          4 kB
          Andrey Poltavtsev

          Activity

            People

            • Assignee:
              acosentino Andrea Cosentino
              Reporter:
              apoltavtsev Andrey Poltavtsev
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: