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

camel-infinispan - producer command and operation discrepancies

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • 2.20.0
    • camel-infinispan
    • None
    • Unknown

    Description

      As today in camel-infinispan you can configure which operation the producer should perform in two ways:

      • by setting the CamelInfinispanOperation header
      • by setting the command option in the endpoint

      The first thing to notice is that they use a different naming but for consistency we should use either operation or command but not both. The second thing is that if you set the operation on header you should use i.e. CamelInfinispanOperationPut but the same "operation" set to the command uri option is PUT so again there is a discrepancy in the naming used.

      As solution we should use:

      • CamelInfinispanOperation for the header
      • operation as endpoint option
      • the operation should be in the simple form like PUT, GET, etc as it is clear from the context that we are targeting Infinispan.

      Attachments

        Activity

          People

            lb Luca Burgazzoli
            lb Luca Burgazzoli
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: