* Evaluation artical : Different Types of Bean Injection in Spring

* Evaluation artical : Different Types of Bean Injection in Spring

* Evaluation artical : Different Types of Bean Injection in Spring

* BAEL-482

* Evaluation artical : Different Types of Bean Injection in Spring

* Evaluation artical : Different Types of Bean Injection in Spring

* Evaluation artical : Different Types of Bean Injection in Spring

* Evaluation artical : Different Types of Bean Injection in Spring

* BAEL-482

* Evaluation artical : Different Types of Bean Injection in Spring

* BAEL-482

* BAEL-482
This commit is contained in:
Johnson Okorie 2017-03-13 23:20:14 +01:00 committed by Grzegorz Piwowarek
parent 15f5037879
commit 46b1f93d52
1 changed files with 2 additions and 2 deletions

View File

@ -104,9 +104,9 @@ public class RedissonIntegrationTest {
RTopic<CustomMessage> subscribeTopic = client.getTopic("baeldung"); RTopic<CustomMessage> subscribeTopic = client.getTopic("baeldung");
subscribeTopic.addListener((channel, customMessage) -> future.complete(customMessage.getMessage())); subscribeTopic.addListener((channel, customMessage) -> future.complete(customMessage.getMessage()));
RTopic<CustomMessage> receiveTopic = client.getTopic("baeldung"); RTopic<CustomMessage> publishTopic = client.getTopic("baeldung");
long clientsReceivedMessage long clientsReceivedMessage
= receiveTopic.publish(new CustomMessage("This is a message")); = publishTopic.publish(new CustomMessage("This is a message"));
assertEquals("This is a message", future.get()); assertEquals("This is a message", future.get());