Skip to content

Commit

Permalink
changes
Browse files Browse the repository at this point in the history
  • Loading branch information
Andreas Mautsch committed Jul 5, 2024
1 parent 4ea8323 commit ca10763
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@ public void produce(ChangeEvent changeEvent) {
changeEvent.referenceId());
}

private void send(String key, String referenceId) {
natsConnection.publish(key, createEvent(new EventData(referenceId)));
private void send(String subject, String referenceId) {
natsConnection.publish(subject, createEvent(new EventData(referenceId)));
}

private byte[] createEvent(EventData eventData) {
Expand Down

0 comments on commit ca10763

Please sign in to comment.