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

Victor NOËL made changes - Wed, 24 Feb 2016 - 15:21:52 +0100
Field Original Value New Value
Status New [ 10000 ] Open [ 10002 ]
Priority Minor [ 4 ]
Assignee Christophe DENEUX [ cdeneux ] Victor NOËL [ vnoel ]
Victor NOËL made changes - Wed, 24 Feb 2016 - 17:10:12 +0100
Status Open [ 10002 ] In Progress [ 10003 ]
Victor NOËL made changes - Thu, 25 Feb 2016 - 12:09:19 +0100
Status In Progress [ 10003 ] Resolved [ 10004 ]
Fix Version/s 5.0.1 [ 10579 ]
Resolution Fixed [ 1 ]
Victor NOËL made changes - Tue, 1 Mar 2016 - 10:54:27 +0100
Description 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

While checking the last one is a bit complex and not very useful (we would need to access the WSDL of each matching endpoint to check if the interface has the operation...), the two first should be implemented.
In practice, we will consider that an endpoint with no interface specified is suitable (see PETALSESBCONT-398 for explanation).
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).
Victor NOËL made changes - Tue, 1 Mar 2016 - 10:54:34 +0100
Status Resolved [ 10004 ] Open [ 10002 ]
Resolution Fixed [ 1 ]
Victor NOËL made changes - Mon, 7 Mar 2016 - 15:38:59 +0100
Status Open [ 10002 ] In Progress [ 10003 ]
Victor NOËL made changes - Mon, 7 Mar 2016 - 15:39:09 +0100
Status In Progress [ 10003 ] Resolved [ 10004 ]
Resolution Fixed [ 1 ]

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