0 Replies Latest reply on Jun 20, 2009 6:24 PM by Mario Romano

    JMS - Peer to Peer

    Mario Romano Newbie

      Hi how i can develop a p2p JMS service , with Seam?

      Now i use Topic (Publish/Subscribe):

      private TopicPublisher stockTickerPublisher;
      private TopicSession topicSession;
      public void publish(StockPrice price) {
      {stockTickerPublisher.publish( topicSession.createObjectMessage(price) );}
      catch (Exception ex)
      {throw new RuntimeException(ex);}

      Thanks in advance