title: RabbitMQ work Queue : Starting Consumer after Sender [Java]
body: <p>I am quite new to using RabbitMQ as message queuing protocol.I have written a code for sender and consumer work queue as given in RabbitMQ tutorials.</p>
  
  <p>[Link : <a href="http://www.rabbitmq.com/tutorials/tutorial-two-java.html" rel="nofollow">http://www.rabbitmq.com/tutorials/tutorial-two-java.html</a> ]</p>
  
  <p>The above thing works fine when we start the consumer before the sender.
  But there is an issue if we start the consumer after running the sender.
  None of the messages are consumed by those consumers which are started 
  after running the sender.
  After looking into the architecture of RabbitMQ and the AMQP related things,it seems quite difficult.</p>
  
  <p>1] Is it possible,that we start the consumer after sender and the consumer which are started after the sender receives the messages in Queue?</p>
  
  <p>2] If yes.Then how this thing can be done.Is there some technique to do the same?</p>