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

com.alibaba.tmq.common.domain.CreateMessage Maven / Gradle / Ivy

package com.alibaba.tmq.common.domain;

import java.util.Date;

/**
 * 创建消息
 * @author tianyao.myc
 *
 */
public class CreateMessage extends Message {

	private static final long serialVersionUID = -7163495127514704442L;
	
	public CreateMessage(String topic, String tag, Date fireTime, byte[] body) {
		super(topic, tag, fireTime, body);
	}
	
	public CreateMessage(String topic, String tag, String cronExpression, byte[] body) {
		super(topic, tag, cronExpression, body);
	}
	
	public CreateMessage(String topic, String tag, String cronExpression, byte[] body, Date startTime, long totalExeCount, Date endTime) {
		super(topic, tag, cronExpression, body, startTime, totalExeCount, endTime);
	}
	
	public CreateMessage(String topic, String tag, Date fireTime, byte[] body, String unitRoute) {
		super(topic, tag, fireTime, body, unitRoute);
	}
	
	public CreateMessage(String topic, String tag, String cronExpression, byte[] body, String unitRoute) {
		super(topic, tag, cronExpression, body, unitRoute);
	}
	
	public CreateMessage(String messageKey, String topic, String tag, Date fireTime, byte[] body) {
		super(messageKey, topic, tag, fireTime, body);
	}
	
	public CreateMessage(String messageKey, String topic, String tag, String cronExpression, byte[] body) {
		super(messageKey, topic, tag, cronExpression, body);
	}
	
	public CreateMessage(String messageKey, String topic, String tag, String cronExpression, byte[] body, Date startTime, long totalExeCount, Date endTime) {
		super(messageKey, topic, tag, cronExpression, body, startTime, totalExeCount, endTime);
	}
	
	public CreateMessage(String messageKey, String topic, String tag, Date fireTime, byte[] body, String unitRoute) {
		super(messageKey, topic, tag, fireTime, body, unitRoute);
	}
	
	public CreateMessage(String messageKey, String topic, String tag, String cronExpression, byte[] body, String unitRoute) {
		super(messageKey, topic, tag, cronExpression, body, unitRoute);
	}

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy