package de.effms.wamp.core.message;

import com.fasterxml.jackson.annotation.JsonIgnore;

public class EventMessage implements Message
{
    private String topicURI;

    private Object payload;

    public EventMessage(String topicURI, Object payload)
    {
        this.topicURI = topicURI;
        this.payload = payload;
    }

    @Override
    @JsonIgnore
    public int getMessageCode()
    {
        return Message.EVENT;
    }

    public String getTopicURI()
    {
        return topicURI;
    }

    public Object getPayload()
    {
        return payload;
    }
}

@@ -34,61 +34,8 @@
 e;%0A%0A
-import com.fasterxml.jackson.annotation.JsonIgnore;%0A%0A
 publ
@@ -290,24 +290,8 @@
 ide%0A
-    @JsonIgnore%0A
     

Remove unnecessary annotation