Petals ESB Container

After/During component shutdown, reinject the exchanges left in the DeliveryChannel into the NMR

Details

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

    Currently, if there is exchanges still in the queue of the DeliveryChannel when a component is shut down, these messages are simply lost.

    For the new exchanges (those that are not answers to previous exchanges), it would make sense to reinject them in the router because:

    • either there is other provider that can answer them.
    • either there is not and the consumer should get an error for its request.

    For the non-new exchange, an error should be sent back to the consumer.

    This goes in the way to improve the reliability of the container for message delivery (PETALSDISTRIB-146).

    Show
    Currently, if there is exchanges still in the queue of the DeliveryChannel when a component is shut down, these messages are simply lost. For the new exchanges (those that are not answers to previous exchanges), it would make sense to reinject them in the router because:
    • either there is other provider that can answer them.
    • either there is not and the consumer should get an error for its request.
    For the non-new exchange, an error should be sent back to the consumer. This goes in the way to improve the reliability of the container for message delivery (PETALSDISTRIB-146).
  • Environment:
    -

Issue Links

Activity

Victor NOËL made changes - Wed, 6 Jan 2016 - 14:28:54 +0100
Field Original Value New Value
Status New [ 10000 ] Open [ 10002 ]
Priority Major [ 3 ]
Assignee Christophe DENEUX [ cdeneux ] Victor NOËL [ vnoel ]
Victor NOËL made changes - Wed, 6 Jan 2016 - 14:28:59 +0100
Status Open [ 10002 ] In Progress [ 10003 ]
Victor NOËL made changes - Wed, 6 Jan 2016 - 14:29:20 +0100
Link This issue blocks PETALSDISTRIB-146 [ PETALSDISTRIB-146 ]
Victor NOËL made changes - Wed, 6 Jan 2016 - 14:50:31 +0100
Component/s Router [ 10070 ]
Component/s Micro-kernel [ 10291 ]
Victor NOËL made changes - Mon, 11 Jan 2016 - 15:39:02 +0100
Status In Progress [ 10003 ] Resolved [ 10004 ]
Fix Version/s 5.0.1 [ 10579 ]
Resolution Fixed [ 1 ]
Victor NOËL made changes - Mon, 11 Jan 2016 - 17:11:25 +0100
Status Resolved [ 10004 ] Open [ 10002 ]
Resolution Fixed [ 1 ]
Victor NOËL made changes - Tue, 12 Jan 2016 - 11:19:00 +0100
Status Open [ 10002 ] In Progress [ 10003 ]
Victor NOËL made changes - Tue, 12 Jan 2016 - 11:40:55 +0100
Status In Progress [ 10003 ] Resolved [ 10004 ]
Resolution Fixed [ 1 ]
Victor NOËL made changes - Fri, 22 Jan 2016 - 15:38:51 +0100
Description Currently, if there is exchanges still in the queue of the DeliveryChannel when a component is shut down, these messages are simply lost.

For the new exchanges (those that are not answers to previous exchanges), it would make sense to reinject them in the router because:
 - either there is other provider that can answer them.
 - either there is not and the consumer should get an error for its request.

This goes in the way to improve the reliability of the container for message delivery (PETALSDISTRIB-146).
Currently, if there is exchanges still in the queue of the DeliveryChannel when a component is shut down, these messages are simply lost.

For the new exchanges (those that are not answers to previous exchanges), it would make sense to reinject them in the router because:
 - either there is other provider that can answer them.
 - either there is not and the consumer should get an error for its request.

For the non-new exchange, an error should be sent back to the consumer.

This goes in the way to improve the reliability of the container for message delivery (PETALSDISTRIB-146).
Victor NOËL made changes - Fri, 22 Jan 2016 - 15:39:14 +0100
Summary During component shutdown, reinject the exchanges left in the DeliveryChannel into the router After/During component shutdown, reinject the exchanges left in the DeliveryChannel into the NMR

People

Dates

  • Created:
    Wed, 6 Jan 2016 - 14:28:47 +0100
    Updated:
    Fri, 22 Jan 2016 - 15:39:14 +0100
    Resolved:
    Tue, 12 Jan 2016 - 11:40:55 +0100