Petals ESB Container

MessageExchangeFactory.createExchange(QName, QName) should fails to create exchange in case of incoherence

Details

  • Type: Improvement Request Improvement Request
  • Status: Resolved Resolved
  • Priority: Minor Minor
  • Resolution: Fixed
  • Affects Version/s: 5.0.0
  • Fix Version/s: 5.0.1
  • Component/s: ComponentContext
  • Security Level: Public
  • Description:
    Hide

    According to the JBI specification, when calling MessageExchangeFactory.createExchange(QName serviceName, QName operationName), it should fail if:

    • there is no endpoint for serviceName
    • the MEF was initialized with a default interface and no endpoint implements it
    • the operation does not exists for the service: it is important to get the MEP of the created exchange!

    In practice, we will consider that an endpoint with no interface specified is suitable (see PETALSESBCONT-398 for explanation).

    Show
    According to the JBI specification, when calling MessageExchangeFactory.createExchange(QName serviceName, QName operationName), it should fail if:
    • there is no endpoint for serviceName
    • the MEF was initialized with a default interface and no endpoint implements it
    • the operation does not exists for the service: it is important to get the MEP of the created exchange!
    In practice, we will consider that an endpoint with no interface specified is suitable (see PETALSESBCONT-398 for explanation).
  • Environment:
    -

Activity

People

Dates

  • Created:
    Wed, 24 Feb 2016 - 15:21:44 +0100
    Updated:
    Mon, 7 Mar 2016 - 15:39:08 +0100
    Resolved:
    Mon, 7 Mar 2016 - 15:39:08 +0100