Gordon Sim wrote:
How does any of this integrate into a single-threaded application's main loop?Alan Conway wrote:// Pull style: LocalQueue lq; queue.subscribe(lq); while (...) { Message m = lq.get(); ... }// Push style MyListener l; queue.subscribe(l); sessoin.run(); }
James --------------------------------------------------------------------- Apache Qpid - AMQP Messaging Implementation Project: http://qpid.apache.org Use/Interact: mailto:dev-subscr...@qpid.apache.org