All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.enodeframework.queue.QueueMessage Maven / Gradle / Ivy

There is a newer version: 1.1.10
Show newest version
package org.enodeframework.queue;

import java.io.Serializable;

/**
 * @author [email protected]
 */
public class QueueMessage implements Serializable {

    /**
     * 消息体
     */
    private String body;
    /**
     *
     */
    private String topic;
    /**
     * 业务标识
     */
    private String tag;
    /**
     * 路由的键
     */
    private String routeKey;
    /**
     * 消息唯一标识
     */
    private String key;

    public String getBody() {
        return body;
    }

    public void setBody(String body) {
        this.body = body;
    }

    public String getTopic() {
        return topic;
    }

    public void setTopic(String topic) {
        this.topic = topic;
    }

    public String getTag() {
        return tag;
    }

    public void setTag(String tag) {
        this.tag = tag;
    }

    public String getRouteKey() {
        return routeKey;
    }

    public void setRouteKey(String routeKey) {
        this.routeKey = routeKey;
    }

    public String getKey() {
        return key;
    }

    public void setKey(String key) {
        this.key = key;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy