462463464465466467468469470471472
@Override public void run() { try { outBuffer.waitCompletion(0); waiting.countDown(); } catch (Exception e) { e.printStackTrace();
537538539540541542543544545546547
outBuffer.setOutputStream(new FakeOutputStream()); long time = System.currentTimeMillis(); try { outBuffer.waitCompletion(0); fail("supposed to throw an exception"); } catch (HornetQException e) { }
583584585586587588589590591592593
} } }; sender.start(); outBuffer.waitCompletion(0); sender.join(); } public void testErrorOnSetStreaming() throws Exception {
463464465466467468469470471472473
538539540541542543544545546547548
584585586587588589590591592593594