On Mon, Nov 9, 2009 at 12:32 PM, Tomas Lukošius <[email protected]> wrote:
> I would like to run my JUnit tests without explicitly starting QPID server > (similar as ActiveMQ tests are configured using VM transport - > vm://localhost). > Is there any documentation how to use VM broker for JUnit tests. There isn't really anything you'd call documentation for that, no. Your best bet is to extend QpidTestCase from systests/ and use getConnection() - if you don't specify a broker SystemProperty you'll get a VM broker connection from that. - Aidan -- Apache Qpid - AMQP, JMS, other messaging love http://qpid.apache.org "A witty saying proves nothing" - Voltaire --------------------------------------------------------------------- Apache Qpid - AMQP Messaging Implementation Project: http://qpid.apache.org Use/Interact: mailto:[email protected]
