0 Replies Latest reply on Jun 28, 2012 2:01 AM by afxgroup1976

    BlazeDS and messages

    afxgroup1976

      Hello,

      I have an application that use a single push channel where many clients are connected.

      Is there a way to understant if a client don't receive a messages sent from the server?

       

      this is the code i'm using

       

       

      public void sendMessage(MyMessage msgtosend)
      {
      AsyncMessage msg = new AsyncMessage();
      AcknowledgeMessage resultMsg;
      msg.setDestination(this.channel);
      msg.setMessageId(UUIDUtils.createUUID());
      msg.setTimestamp(System.currentTimeMillis());
      msg.setBody(msgtosend);
      resultMsg = msgBroker.routeMessageToService(msg, null);
      if (resultMsg==null) Main.logger.error("resultMsg==NULL!!!!!");
      }

       

      Thank you