Skip to content

chore: Align routers - #99

Merged
patriknw merged 2 commits into
java-spifrom
wip-router-patriknw
Dec 17, 2024
Merged

patriknw merged 2 commits into
java-spifrom
wip-router-patriknw

Conversation

@patriknw

Copy link
Copy Markdown
Contributor
  • remove router abstraction, but keep the ReflectiveRouter
  • align HandlerNotFoundException
  • misc cleanup

* remove router abstraction, but keep the ReflectiveRouter
* align HandlerNotFoundException
* misc cleanup
val payload = message.payload()
// make sure we route based on the new type url if we get an old json type url message
val inputTypeUrl = serializer.removeVersion(AnySupport.replaceLegacyJsonPrefix(payload.contentType))
val inputTypeUrl = serializer.removeVersion(serializer.replaceLegacyJsonPrefix(payload.contentType))

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

consumer is different from the others, but I guess there is a reason, such as external messages from broker

@patriknw
patriknw merged commit 5ad3a6a into java-spi Dec 17, 2024
@patriknw
patriknw deleted the wip-router-patriknw branch December 17, 2024 16:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants