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/07/28 05:17:00 UTC
[jira] [Created] (CAMEL-18317) camel-salesforce - Endpoint syntax should have mandatory operationName
Claus Ibsen created CAMEL-18317:
-----------------------------------
Summary: 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
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)