Created
June 17, 2019 10:43
-
-
Save tyb/7e8e0affa8006cfc1061e9a7b9e82d57 to your computer and use it in GitHub Desktop.
sample
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@Test | |
public void testReceive1() throws Exception { | |
receiver.addMessageListener("NotificationQueue"); | |
sender.sendMessage("NotificationQueue", "bir mesaj gönderiliyor...queue.ya", null); | |
System.out.println("First style message send..."); | |
TimeUnit.SECONDS.sleep(10); | |
//receiver.getLatch().await(10000, TimeUnit.MILLISECONDS); | |
//assertThat(receiver.getLatch().getCount()).isEqualTo(0); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment