You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Claus Ibsen (Jira)" <ji...@apache.org> on 2022/08/02 04:47:00 UTC
[jira] [Commented] (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:comment-tabpanel&focusedCommentId=17574034#comment-17574034 ]
Claus Ibsen commented on CAMEL-18317:
-------------------------------------
Thanks subscribe is a good name - lets use that
> 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
> 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)