[
https://issues.apache.org/jira/browse/CAMEL-13043?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Andrey Poltavtsev updated CAMEL-13043:
--------------------------------------
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.
was:
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/master/components/camel-aws/src/main/java/org/apache/camel/component/aws/mq/MQProducer.java#L124]
Test project is attached.
> Can not create AWS MQ Broker using "aws-mq" component
> -----------------------------------------------------
>
> Key: CAMEL-13043
> URL: https://issues.apache.org/jira/browse/CAMEL-13043
> Project: Camel
> Issue Type: Bug
> Components: camel-aws
> Affects Versions: 2.21.2
> Reporter: Andrey Poltavtsev
> Assignee: Andrea Cosentino
> Priority: Major
> Attachments: test-awsmq.zip
>
>
> 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.
>
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)