Petals SE Camel

Add Camel endpoints parameters for consuming services

Details

  • Type: Improvement Request Improvement Request
  • Status: Resolved Resolved
  • Priority: Minor Minor
  • Resolution: Fixed
  • Affects Version/s: 0.5.1, 1.0.0
  • Fix Version/s: 0.5.2, 1.0.1
  • Component/s: None
  • Security Level: Public
  • Description:
    Hide

    In JBI, a Consumes must specify the interface, but doesn't have to specify the service or the endpoint name.
    The CDK itself enables to specify operation and MEP.

    In the Camel SE, one consumes corresponds to a Camel endpoint.

    In case a Consumes does not specify one of the aforementioned elements, it could be useful for a route implementor to have parameters to force these.

    In order to stay on the safe side, we shouldn't accept overriding already specified elements and errors should be thrown during the deployment of the SU.

    We should thus add the following parameters:

    • "serviceName" to specify the service name (with a QName)
    • "endpointName" to specify the endpoint name (with a String)
    • "operation" to specify the operation (with a QName)
    • "exchangePattern" to specify the MEP (with Camel ExchangePattern, since this parameter already exists within Camel)

    QName should be expressed in String using the format accepted by QName.valueOf().
    ExchangePattern should be expressed in String using the format accepted by ExchangePattern.valueOf().

    Show
    In JBI, a Consumes must specify the interface, but doesn't have to specify the service or the endpoint name. The CDK itself enables to specify operation and MEP. In the Camel SE, one consumes corresponds to a Camel endpoint. In case a Consumes does not specify one of the aforementioned elements, it could be useful for a route implementor to have parameters to force these. In order to stay on the safe side, we shouldn't accept overriding already specified elements and errors should be thrown during the deployment of the SU. We should thus add the following parameters:
    • "serviceName" to specify the service name (with a QName)
    • "endpointName" to specify the endpoint name (with a String)
    • "operation" to specify the operation (with a QName)
    • "exchangePattern" to specify the MEP (with Camel ExchangePattern, since this parameter already exists within Camel)
    QName should be expressed in String using the format accepted by QName.valueOf(). ExchangePattern should be expressed in String using the format accepted by ExchangePattern.valueOf().
  • Environment:
    -

Activity

Transition Status Change Time Execution Times Last Executer Last Execution Date
New New Open Open
6s
1
Victor NOËL
Wed, 3 Feb 2016 - 09:54:24 +0100
Open Open In Progress In Progress
3s
1
Victor NOËL
Wed, 3 Feb 2016 - 09:54:27 +0100
In Progress In Progress Resolved Resolved
1h 2m
1
Victor NOËL
Wed, 3 Feb 2016 - 10:57:03 +0100

People

Dates

  • Created:
    Wed, 3 Feb 2016 - 09:54:18 +0100
    Updated:
    Wed, 3 Feb 2016 - 10:57:03 +0100
    Resolved:
    Wed, 3 Feb 2016 - 10:57:03 +0100