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

SseImpl should return a new SseBroadcaster instance instead of a singleton

    XMLWordPrintable

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.
      

      Attachments

        Activity

          People

            rhn-support-asoldano Alessio Soldano
            nicones Nicolas NESMON
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: