camel-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Roland Huss (JIRA)" <j...@apache.org>
Subject [jira] [Created] (CAMEL-11096) Connector semantics with respect to default values
Date Thu, 30 Mar 2017 13:31:41 GMT
Roland Huss created CAMEL-11096:
-----------------------------------

             Summary: Connector semantics with respect to default values
                 Key: CAMEL-11096
                 URL: https://issues.apache.org/jira/browse/CAMEL-11096
             Project: Camel
          Issue Type: Bug
          Components: camel-connector
    Affects Versions: 2.19.0
            Reporter: Roland Huss


I would like to discuss the semantics of default parameters for connectors. Currently a user
can override 'frozen' (== pre-configured) component options when [creating the endpoint|https://github.com/apache/camel/blob/bc9d07700678604ae43754a32519898c47bb9529/connectors/camel-connector/src/main/java/org/apache/camel/component/connector/DefaultConnectorComponent.java#L261]

I wonder whether this is the desired behaviour ? E.g. when creating a `salesforce-upsert-connector`
and letting override the "operationName" (which was preconfigured in the connector) defeats
its purpose imo. (Although it was just quite helpful in my case ;-)

Of course the ideal solution would be to mark options as overridable or not.

What do you think ?



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Mime
View raw message