You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "James Netherton (JIRA)" <ji...@apache.org> on 2017/09/26 13:41:00 UTC

[jira] [Created] (CAMEL-11843) Unable to configure some URI options on DockerEndpoint

James Netherton created CAMEL-11843:
---------------------------------------

             Summary: Unable to configure some URI options on DockerEndpoint 
                 Key: CAMEL-11843
                 URL: https://issues.apache.org/jira/browse/CAMEL-11843
             Project: Camel
          Issue Type: Improvement
          Components: camel-docker
    Affects Versions: 2.19.3, 2.20.0
            Reporter: James Netherton
            Priority: Minor


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)