c2.connect("TransportThreadPoolTest");
Util.blockUntilViewsReceived(5000, 500, c1, c2);
assert c2.getView().size() == 2 : "view is " + c2.getView() + ", but should have had a size of 2";
TP transport=c1.getProtocolStack().getTransport();
ExecutorService thread_pool=Executors.newFixedThreadPool(2);
transport.setDefaultThreadPool(thread_pool);
transport=c2.getProtocolStack().getTransport();
thread_pool=Executors.newFixedThreadPool(2);
transport.setDefaultThreadPool(thread_pool);
c1.send(null, null, "hello world");
c2.send(null, null, "bela");
c1.send(null, null, "message 3");
c2.send(null, null, "message 4");