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

com.zxyinfo.queue.PersistentBusProperties Maven / Gradle / Ivy

package com.zxyinfo.queue;

import org.springframework.boot.context.properties.ConfigurationProperties;

/**
 * @author joewee
 * @version 1.0.0
 * @date 2021/9/21 20:21
 */
@ConfigurationProperties(prefix = PersistentBusProperties.PERFIX)
public class PersistentBusProperties extends PersistentQueueProperties{
  public static final String PERFIX = "transactional.outbox.persistent.bus";
  public static final String TABLE_NAME = "bus_events";
  public static final String HISTORY_TABLE_NAME = "bus_events_history";
  /**
   * Bus events 存储的数据库表
   */
  private String tableName = TABLE_NAME;
  /**
   * Bus events 存储的历史数据库表
   */
  private String historyTableName = HISTORY_TABLE_NAME;

  public void setTableName(String tableName) {
    this.tableName = tableName;
  }

  public void setHistoryTableName(String historyTableName) {
    this.historyTableName = historyTableName;
  }

  public String getTableName() {
    return this.tableName;
  }

  public String getHistoryTableName() {
    return this.historyTableName;
  }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy