Skip to content

RedisBroadcaster won't serialize messages #229

Description

@futuretec

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions