[ 
https://issues.apache.org/jira/browse/CAMEL-11843?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16182116#comment-16182116
 ] 

Claus Ibsen commented on CAMEL-11843:
-------------------------------------

You are welcome to work on a fix. I wonder if this validation is needed at all? 
Or if so it should only do very specific validation of a limited set of known 
docker only options.

The default component will do generic validation afterwards.

> 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
>            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)

Reply via email to