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

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