atmosphere-extensions
atmosphere-extensions copied to clipboard
RedisBroadcaster won't serialize messages
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.