You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Jeremy Ross (Jira)" <ji...@apache.org> on 2022/08/07 18:59:00 UTC

[jira] [Work started] (CAMEL-18317) camel-salesforce - Endpoint syntax should have mandatory operationName

     [ https://issues.apache.org/jira/browse/CAMEL-18317?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Work on CAMEL-18317 started by Jeremy Ross.
-------------------------------------------
> camel-salesforce - Endpoint syntax should have mandatory operationName
> ----------------------------------------------------------------------
>
>                 Key: CAMEL-18317
>                 URL: https://issues.apache.org/jira/browse/CAMEL-18317
>             Project: Camel
>          Issue Type: Improvement
>          Components: camel-salesforce
>            Reporter: Claus Ibsen
>            Assignee: Jeremy Ross
>            Priority: Major
>             Fix For: 3.19.0
>
>
> Today both the operationName and topicName are marked as optional - which makes the logic to parse the uri complex. 
> A rule in Camel is that only one path parameter can be optional.
> It would be better to make operationName mandatory and add an operation for the consumer (what would be a good name, listen, consume, onMessage?), so you would do
> from("salesforce:listen:cheese")
> And in the uri for the producer uses the operationName already, where topicName is not in use.
> to("salesforce:updateSObject")



--
This message was sent by Atlassian Jira
(v8.20.10#820010)