10 Replies Latest reply on Nov 13, 2009 5:15 AM by Andy Taylor

    Why connection.start() need to be called before consumer.rec

    anthony lee Newbie


      In examples I realized that there is always connection.start() before consumer.receive(),
      but it is OK that there is NO connection.start() before producer.send().
      It is not so clear for me.
      If a connection.start() before producer.send() and consumer.receive() then that is clearer.

      Can someone explain a little bit the reason?

      Thanks in advance.