コード例 #1
0
 @Override
 protected void tearDown() throws Exception {
   if (connection != null) {
     connection.close();
   }
   super.tearDown();
 }
コード例 #2
0
  @Override
  protected void setUp() throws Exception {
    super.setUp();

    connection = createConnection();
    connection.start();
  }
コード例 #3
0
  @Override
  protected void setUp() throws Exception {
    disableWrapper = true;
    bindAddress = "tcp://localhost:0";
    super.setUp();

    connection = createConnection();
    connection.start();
    queue = createQueue();
  }
コード例 #4
0
 @Override
 protected void tearDown() throws Exception {
   BrokerService.disableWrapper = false;
   connection.close();
   super.tearDown();
 }
コード例 #5
0
 @Override
 protected void startBroker() throws Exception {
   super.startBroker();
   bindAddress = newURI("localhost", 0);
 }