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

RedisBroadcaster won't serialize messages #229

Open
futuretec opened this issue May 19, 2016 · 0 comments
Open

RedisBroadcaster won't serialize messages #229

futuretec opened this issue May 19, 2016 · 0 comments

Comments

@futuretec
Copy link

Hey there,

I'm trying to use Atmosphere with the RedisBroadcaster within a GWT 2.7 project.
Unfortunately all server-side sent messages won't be serialized with the specified classes (neither ManagedRPC nor Jersey).

The method "outgoingBroadcast(Object message)" of "RedisUtil" recieves an un-serialized Message (which simply will be converted via toString() .. not very helpful here)

Maybe I'm just setting the wrong configurations?
I'm using the ManagedService annotation with following settings:
interceptors = {
AtmosphereResourceLifecycleInterceptor.class,
TrackMessageSizeInterceptor.class,
GwtRpcInterceptor.class,
SuspendTrackerInterceptor.class,
AtmosphereMessageInterceptor.class,
IdleResourceInterceptor.class
}
broadcastFilters = {
AtmosphereMessageFilterEncoder.class
}

Is there any possibility to use Serialization with a RedisBroadcaster?

Thanks for any suggestions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant