Пример #1
0
 @Test
 public void testNetty2978() throws Exception {
   CamelClient client = new CamelClient();
   try {
     for (int i = 0; i < 1000; i++) {
       Object reply = client.lookup(i);
       assertEquals("Bye " + i, reply);
     }
   } finally {
     client.close();
   }
 }