Uploaded image for project: 'Hybrid Cloud Console'
  1. Hybrid Cloud Console
  2. RHCLOUD-43278

Discard the message that can't be parsed

XMLWordPrintable

    • Product / Portfolio Work
    • False
    • Hide

      None

      Show
      None
    • False
    • None
    • Unset
    • None

      https://glitchtip.devshift.net/insights/issues/3988329?project=2 is not retriable
      There is \r in the header message: "esbWebUserLogin:Hi All,\r\\n\r
      n..." which is not allowed
      https://stomp.github.io/stomp-specification-1.2.html#Augmented_BNF

      StompFrameError: No escape sequence defined for this character (version 1.2): '\r' [text='Hi All,\r\\n\r
      nrhn…

      From Alec: if you get a parse error like this, there is no sense retrying the message, because the message is not going to change. It's equivalent to a 400 error – retrying it isn't going to make a difference. So I would suggest here throwing an error whiel also acking (not nacking) the message to move on in this case (leaving nacks in other cases which may be retryable).

              Unassigned Unassigned
              rh-ee-zhzeng Jay Zeng
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated: