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
直连模式参数回调功能抛异常 #1472
Comments
Missing |
consumer.xml
provider.xml |
Callback class should never serialized and transfered to provider, it's only a signal for internal implementation to do some trick. You may have missed some configurations. |
Just noticed you use |
直连的模式下客户端无法感知服务端是否开启了callback. 所以直连模式下添加下面的参数可以实现 <dubbo:reference url="dubbo://127.0.0.1:20880/?addListener.1.callback=true" ..... |
直连模式下,使用参数回调功能Consumer端会抛出以下异常:
Caused by: java.lang.IllegalStateException: Serialized class com.dubbo.callback.Consumer$1 must implement java.io.Serializable
The text was updated successfully, but these errors were encountered: