// Path: jms-base/src/main/java/me/chanjar/jms/base/utils/StrongUuidGenerator.java
// public class StrongUuidGenerator {
// 
//   private StrongUuidGenerator() {
//     // make singleton
//   }
//   // different ProcessEngines on the same classloader share one generator.
//   private static TimeBasedGenerator timeBasedGenerator = Generators.timeBasedGenerator(EthernetAddress.fromInterface());
// 
//   public static String getNextId() {
//     return timeBasedGenerator.generate().toString();
//   }
// 
// }


import me.chanjar.jms.base.utils.StrongUuidGenerator;
import java.io.Serializable;
package me.chanjar.jms.base.msg;



public abstract class MessageDto implements Serializable {

  private static final long serialVersionUID = 9003442515985424079L;
  /**
   * 应该保证全局唯一, 用uuid
   */
  protected final String id;

// Path: jms-base/src/main/java/me/chanjar/jms/base/utils/StrongUuidGenerator.java
// public class StrongUuidGenerator {
// 
//   private StrongUuidGenerator() {
//     // make singleton
//   }
//   // different ProcessEngines on the same classloader share one generator.
//   private static TimeBasedGenerator timeBasedGenerator = Generators.timeBasedGenerator(EthernetAddress.fromInterface());
// 
//   public static String getNextId() {
//     return timeBasedGenerator.generate().toString();
//   }
// 
// }


// Path: jms-base/src/main/java/me/chanjar/jms/base/msg/MessageDto.java
import me.chanjar.jms.base.utils.StrongUuidGenerator;
import java.io.Serializable;

package me.chanjar.jms.base.msg;



public abstract class MessageDto implements Serializable {

  private static final long serialVersionUID = 9003442515985424079L;
  /**
   * 应该保证全局唯一, 用uuid
   */
  protected final String id;

  public MessageDto() {