wsit
  1. wsit
  2. WSIT-1554

When RM is turned on the HTTP status code is no longer returned consistently from the MessageContext.

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Incomplete
    • Affects Version/s: 2.0.1
    • Fix Version/s: None
    • Component/s: rm
    • Labels:
      None
    • Environment:

      Standalone webservice client dispatch APi

      Description

      I came across with a one-way reliable operation.
      In a normal case where my webservice is returning a 202 response, the client is able to get the 202 response by querying the message context:
      dispatcher.getResponseContext().get(MessageContext.HTTP_RESPONSE_CODE);
      Which I think is OK.
      However, in the case where my webservice (purposely return http 404)
      dispatcher.getResponseContext().get(MessageContext.HTTP_RESPONSE_CODE);
      Will return a 200 response.
      When I look at the log the only 200 reponse in the whole reliable session is the "SequenceAcknowledgement" message.
      Is this a defect? Or is there another way to get the 404 response code? Is this even a valid check?
      If reliable messaging is guarnatees delievery, and if there's a failure what should be returned to the client?

        Activity

        Hide
        Marek Potociar added a comment -

        Please attach a reproducible test case.

        Show
        Marek Potociar added a comment - Please attach a reproducible test case.
        Hide
        Marek Potociar added a comment -

        Closing as incomplete.

        Show
        Marek Potociar added a comment - Closing as incomplete.

          People

          • Assignee:
            Marek Potociar
            Reporter:
            Mhui
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: