summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--netconfsimulator/src/main/java/org/onap/netconfsimulator/websocket/NetconfEndpoint.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/netconfsimulator/src/main/java/org/onap/netconfsimulator/websocket/NetconfEndpoint.java b/netconfsimulator/src/main/java/org/onap/netconfsimulator/websocket/NetconfEndpoint.java
index 5870ee1..5719214 100644
--- a/netconfsimulator/src/main/java/org/onap/netconfsimulator/websocket/NetconfEndpoint.java
+++ b/netconfsimulator/src/main/java/org/onap/netconfsimulator/websocket/NetconfEndpoint.java
@@ -84,11 +84,11 @@ class NetconfEndpoint extends Endpoint {
private void addKafkaListener(RemoteEndpoint.Basic remoteEndpoint) {
- MessageListener messageListener = new NetconfMessageListener(remoteEndpoint);
+ MessageListener<String, String> messageListener = new NetconfMessageListener(remoteEndpoint);
KafkaListenerEntry kafkaListener = kafkaListenerHandler.createKafkaListener(messageListener, TOPIC_NAME);
- AbstractMessageListenerContainer listenerContainer = kafkaListener.getListenerContainer();
+ AbstractMessageListenerContainer<String,String> listenerContainer = kafkaListener.getListenerContainer();
listenerContainer.start();
entry = Optional.of(kafkaListener);
}