Uploaded image for project: 'Camel'
  1. Camel
  2. CAMEL-18317

camel-salesforce - Endpoint syntax should have mandatory operationName

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 3.19.0
    • camel-salesforce
    • None
    • Unknown

    Description

      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")

      Attachments

        Activity

          People

            jeremyross Jeremy Ross
            davsclaus Claus Ibsen
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: