Uploaded image for project: 'Spring Framework'
  1. Spring Framework
  2. SPR-16265

Stomp Broker Relay may ignore configured destination prefixes

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Complete
    • Affects Version/s: 4.3.13, 5.0.2
    • Fix Version/s: 4.3.14, 5.0.3
    • Component/s: Messaging
    • Labels:

      Description

      There's a bug in StompHeaderAccessor class, method updateStompCommandAsClientMessage.

      Problem occurs when getCommand() returns null. setHeader is called with SEND command, but command variable is not set after that and method returns null instead of SEND

      It cause the stomp broker relay to ignore destination prefixes because command is null (see StompBrokerRelayMessageHandler L507).

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              rstoya05-aop Rossen Stoyanchev
              Reporter:
              Toilal Rémi Alvergnat
              Last updater:
              Spring Issues Spring Issues
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Days since last comment:
                3 years, 24 weeks, 5 days ago