1 Reply Latest reply: Mar 20, 2012 12:54 PM by Christian Sadilek RSS

    Support for multiple subscribers???

    David Grigglestone Newbie

      I'll attach the project to this discussion .. but first question is should a client be able to create multiple subscribers (each subscribing to a different subject)?

       

      If so I'm assuming there is some kind of defect, since when I publish to the second subject the test app fails to make UI updates.

       

      See line:

       

      MessageBuilder.createMessage().toSubject("status2")

                              .command("StateChange").noErrorHandling()

                              .sendGlobalWith(StockService.this.requestDispatcher);

       

      .. when I change to the code below everything works fine (the images on the app start to randomly change)

       

      MessageBuilder.createMessage().toSubject("status")

                              .command("StateChange").noErrorHandling()

                              .sendGlobalWith(StockService.this.requestDispatcher);