Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

incorrect docs for MessageRoutingCallback #1100

Closed
minhster99 opened this issue Jan 3, 2024 · 0 comments
Closed

incorrect docs for MessageRoutingCallback #1100

minhster99 opened this issue Jan 3, 2024 · 0 comments
Labels
Milestone

Comments

@minhster99
Copy link

Describe the bug
ver 4.1.0

docs show the signature on the interface as
FunctionRoutingResult routingResult(Message<?> message);

https://docs.spring.io/spring-cloud-function/reference/spring-cloud-function/programming-model.html#messageroutingcallback

but looking at the interface, it is actually
String routingResult(Message<?> message)

https://github.com/spring-cloud/spring-cloud-function/blob/bd155628da87f2550469d8d1b7045c15430151e8/spring-cloud-function-context/src/main/java/org/springframework/cloud/function/context/MessageRoutingCallback.java#L47C1-L47C1

the javadocs for the interface is documented incorrectly as well and still refers to FunctionRoutingResult

Sample
n/a

@olegz olegz closed this as completed in cea464a Mar 27, 2024
@olegz olegz added this to the 4.1.2 milestone Mar 27, 2024
@olegz olegz added the bug label Mar 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants