Uploaded image for project: 'RESTEasy'
  1. RESTEasy
  2. RESTEASY-1775

SseImpl should return a new SseBroadcaster instance instead of a singleton

    Details

      Description

      org.jboss.resteasy.plugins.providers.sse.SseImpl#newBroadcaster() should return a new SseBroadcaster instance each time it is invoked.
      If user want to have "a static or per request SseBroadcaster" it's up to him to handle it as stated by the spec:

      9.4 Broadcasting
      
      The life-cycle and scope of an SseBroadcaster is fully controlled by applications and not the JAX-RS runtime.
      

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                asoldano Alessio Soldano
                Reporter:
                nicolas.n Nicolas NESMON
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: