3 Replies Latest reply on Mar 23, 2006 1:14 PM by Steve Li

    Problem when receiving data from queue

    Steve Li Newbie

      Hello,

      I have a sender and a receiver for a queue defined as


      <depends optional-attribute-name="DestinationManager">
      jboss.mq:service=DestinationManager


      But whenever my receiver goes offline and is restarted again, it will miss all the messages during its offline time. My question is
      1. Should I specify more attributes in the above defintion to make the messages stay in the queue when receiver is offline?
      2. When sender sends a message, should it specify its expiration time or something?

      Thank you in advance.

      Steve