Skip to content

Commit

Permalink
Updates the mention to MessageRoutingCallback to the correct method v…
Browse files Browse the repository at this point in the history
…ersion
  • Loading branch information
VictorPongolino authored Jun 27, 2024
1 parent 23a6951 commit 27ca5c3
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -196,8 +196,8 @@ The `MessageRoutingCallback` is a strategy to assist with determining the name o
----
public interface MessageRoutingCallback {
default String routingResult(Message<?> message) {
return (String) message.getHeaders().get("spring.cloud.function.definition");
}
return (String) message.getHeaders().get(FunctionProperties.FUNCTION_DEFINITION);
}
}
----

Expand Down

0 comments on commit 27ca5c3

Please sign in to comment.