Skip to content

Commit

Permalink
Use correct method for getting queues; missed in replay PR
Browse files Browse the repository at this point in the history
  • Loading branch information
Kuroshii committed Jun 4, 2017
1 parent 1f84705 commit 9269acc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/replay/src/main/java/forklift/replay/ReplayES.java
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ public void run() {
.filter(source -> !source.isLogicalSource())
.findFirst().get();

this.producer = connector.getTopicProducer(primarySource
this.producer = connector.getQueueProducer(primarySource
.apply(QueueSource.class, queue -> queue.getName())
.apply(TopicSource.class, topic -> topic.getName())
.apply(GroupedTopicSource.class, topic -> topic.getName())
Expand Down

0 comments on commit 9269acc

Please sign in to comment.