[
https://issues.apache.org/jira/browse/CAMEL-11843?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16182275#comment-16182275
]
ASF GitHub Bot commented on CAMEL-11843:
----------------------------------------
GitHub user jamesnetherton opened a pull request:
https://github.com/apache/camel/pull/1967
CAMEL-11843: Fix issues configuring some URI options on DockerEndpoint
https://issues.apache.org/jira/browse/CAMEL-11843
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/jamesnetherton/camel CAMEL-11843
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/camel/pull/1967.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #1967
----
commit 35c6e0a27cd8adfca6c0aab42b4a36f0f3cfc46f
Author: James Netherton <[email protected]>
Date: 2017-09-27T09:36:04Z
CAMEL-11843: Fix issues configuring some URI options on DockerEndpoint
----
> Unable to configure some URI options on DockerEndpoint
> -------------------------------------------------------
>
> Key: CAMEL-11843
> URL: https://issues.apache.org/jira/browse/CAMEL-11843
> Project: Camel
> Issue Type: Bug
> Components: camel-docker
> Affects Versions: 2.19.3
> Reporter: James Netherton
> Assignee: James Netherton
> Priority: Minor
> Fix For: 2.19.4, 2.20.0
>
>
> The docker component triggers some [custom
> logic|https://github.com/apache/camel/blob/master/components/camel-docker/src/main/java/org/apache/camel/component/docker/DockerComponent.java#L65]
> to validate URI options.
> It does not handle all of the valid set of URI options. E.g setting
> exchangePattern, maxTotalConnections and others, results in:
> {code}
> Caused by: com.github.dockerjava.api.exception.DockerClientException:
> bridgeErrorHandler is not a valid URI parameter
> at
> org.apache.camel.component.docker.DockerHelper.validateParameters(DockerHelper.java:56)
> at
> org.apache.camel.component.docker.DockerComponent.createEndpoint(DockerComponent.java:65)
> at
> org.apache.camel.impl.DefaultComponent.createEndpoint(DefaultComponent.java:126)
> at
> org.apache.camel.impl.DefaultCamelContext.getEndpoint(DefaultCamelContext.java:703)
> ... 51 more
> {code}
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)