Petals ESB Container

Verification of state when changing status is buggy in MessageExchangeImpl

Details

  • Type: Bug Bug
  • Status: Resolved Resolved
  • Priority: Blocker Blocker
  • Resolution: Fixed
  • Affects Version/s: 4.2.4
  • Fix Version/s: 4.3.2, 5.0.0
  • Component/s: Micro-kernel
  • Security Level: Public
  • Description:
    Hide

    In the container MessageExchange implementation, there seems to be error in the logic that checks the state of an exchange when the status is set (in method setStatus()).

    For example, it is not possible to set the Error status when one is provider and the message is in-out... there is no reason for this specific case.
    There is also some strange case where the provider can't set the done status on an InOnly message with a fault... which cannot happen at that point normally!

    This should be fixed.

    Show
    In the container MessageExchange implementation, there seems to be error in the logic that checks the state of an exchange when the status is set (in method setStatus()). For example, it is not possible to set the Error status when one is provider and the message is in-out... there is no reason for this specific case. There is also some strange case where the provider can't set the done status on an InOnly message with a fault... which cannot happen at that point normally! This should be fixed.
  • Environment:
    -

Issue Links

Activity

People

Dates

  • Created:
    Mon, 11 May 2015 - 16:07:19 +0200
    Updated:
    Fri, 29 Jan 2016 - 16:56:49 +0100
    Resolved:
    Thu, 21 May 2015 - 17:07:53 +0200