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

Victor NOËL made changes - Wed, 3 Feb 2016 - 09:54:24 +0100
Field Original Value New Value
Status New [ 10000 ] Open [ 10002 ]
Priority Minor [ 4 ]
Victor NOËL made changes - Wed, 3 Feb 2016 - 09:54:27 +0100
Status Open [ 10002 ] In Progress [ 10003 ]
Victor NOËL made changes - Wed, 3 Feb 2016 - 10:57:03 +0100
Status In Progress [ 10003 ] Resolved [ 10004 ]
Fix Version/s 0.5.2 [ 10576 ]
Fix Version/s 1.0.1 [ 10577 ]
Resolution Fixed [ 1 ]

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