Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id CB615200C73 for ; Wed, 10 May 2017 11:24:09 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id C93FA160BC6; Wed, 10 May 2017 09:24:09 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 2467A160BB4 for ; Wed, 10 May 2017 11:24:08 +0200 (CEST) Received: (qmail 61920 invoked by uid 500); 10 May 2017 09:24:08 -0000 Mailing-List: contact issues-help@camel.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@camel.apache.org Delivered-To: mailing list issues@camel.apache.org Received: (qmail 61895 invoked by uid 99); 10 May 2017 09:24:08 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd4-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 10 May 2017 09:24:08 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd4-us-west.apache.org (ASF Mail Server at spamd4-us-west.apache.org) with ESMTP id D01A1C0EA2 for ; Wed, 10 May 2017 09:24:07 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd4-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -99.201 X-Spam-Level: X-Spam-Status: No, score=-99.201 tagged_above=-999 required=6.31 tests=[KAM_ASCII_DIVIDERS=0.8, RP_MATCHES_RCVD=-0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001, USER_IN_WHITELIST=-100] autolearn=disabled Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd4-us-west.apache.org [10.40.0.11]) (amavisd-new, port 10024) with ESMTP id 5HV3mz85iDb5 for ; Wed, 10 May 2017 09:24:06 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTP id AD2C05FBB8 for ; Wed, 10 May 2017 09:24:05 +0000 (UTC) Received: from jira-lw-us.apache.org (unknown [207.244.88.139]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id 0AAD3E0D53 for ; Wed, 10 May 2017 09:24:05 +0000 (UTC) Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id 621EE21E11 for ; Wed, 10 May 2017 09:24:04 +0000 (UTC) Date: Wed, 10 May 2017 09:24:04 +0000 (UTC) From: "Luca Burgazzoli (JIRA)" To: issues@camel.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Comment Edited] (CAMEL-11096) Connector semantics with respect to default values MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Wed, 10 May 2017 09:24:09 -0000 [ https://issues.apache.org/jira/browse/CAMEL-11096?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16004365#comment-16004365 ] Luca Burgazzoli edited comment on CAMEL-11096 at 5/10/17 9:23 AM: ------------------------------------------------------------------ Ok so options outside endpointOptions are not supposed to be overridden by the user correct ? i.e. if there is something in endpointValues which is not in endpointOptions and the user provides it --> component failure i.e. in this case if a user sets operationName there should be a failure was (Author: lb): Ok so options outside endpointOptions are not supposed to be overridden by the user correct ? i.e. if there is something in endpointValues which is not in endpointOptions and the user provides it --> component failure > Connector semantics with respect to default values > -------------------------------------------------- > > Key: CAMEL-11096 > URL: https://issues.apache.org/jira/browse/CAMEL-11096 > Project: Camel > Issue Type: Task > Components: camel-connector > Affects Versions: 2.19.0 > Reporter: Roland Huss > Priority: Minor > > 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)