Skip to content

Commit

Permalink
replace deprecated method call of getId() with getEntityName();
Browse files Browse the repository at this point in the history
Signed-off-by: Stefan Maute <stefan.maute@bosch.io>
  • Loading branch information
Stefan Maute committed Apr 14, 2021
1 parent e9e752b commit 729f376
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,7 @@ public CompletionStage<Void> suspendConsumption() {

private static String getPointerBusKey(final Adaptable adaptable) {
final TopicPath topic = adaptable.getTopicPath();
return String.format("/things/%s:%s%s", topic.getNamespace(), topic.getId(), adaptable.getPayload().getPath());
return String.format("/things/%s:%s%s", topic.getNamespace(), topic.getEntityName(), adaptable.getPayload().getPath());
}

/*
Expand Down

0 comments on commit 729f376

Please sign in to comment.