You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
Serialization is not working on 2023.0.3 , same code working on 2023.0.2
Sample
Getting this error
stream bridge consumer class [B cannot be cast to class com.b.notificatoin.client.SmsNotification ([B is in module java.base of loader 'bootstrap'; com.b.notificatoin.client.SmsNotification is in unnamed module of loader 'app')
There is not enough information for us to diagnose especially since StreamBridge is sending message out to a messaging destination and your consumer is retrieving it from such destination. So effectively your consumer has nothing to do with StreamBridge.
Please provide a sample test/application that reproduces the issue you are describing
And if you read last comment on that issue, that particular issue has been addressed and I am just waiting for the user to confirm so I can close it
That said, neither of the issues has anything to do with StreamBridge.
Describe the bug
Serialization is not working on 2023.0.3 , same code working on 2023.0.2
Sample
Getting this error
stream bridge consumer class [B cannot be cast to class com.b.notificatoin.client.SmsNotification ([B is in module java.base of loader 'bootstrap'; com.b.notificatoin.client.SmsNotification is in unnamed module of loader 'app')
@Bean public Consumer<SmsNotification> sms() { return sms -> { log.debug("[SMS Consumer]: " + sms.getKey()); }; }
The text was updated successfully, but these errors were encountered: