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

io.camunda.webapps.schema.descriptors.operate.template.MessageTemplate Maven / Gradle / Ivy

There is a newer version: 8.7.0-alpha2-rc1
Show newest version
/*
 * Copyright Camunda Services GmbH and/or licensed to Camunda Services GmbH under
 * one or more contributor license agreements. See the NOTICE file distributed
 * with this work for additional information regarding copyright ownership.
 * Licensed under the Camunda License 1.0. You may not use this file
 * except in compliance with the Camunda License 1.0.
 */
package io.camunda.webapps.schema.descriptors.operate.template;

import io.camunda.webapps.schema.descriptors.backup.Prio3Backup;
import io.camunda.webapps.schema.descriptors.operate.OperateTemplateDescriptor;

public class MessageTemplate extends OperateTemplateDescriptor implements Prio3Backup {

  public static final String INDEX_NAME = "message";

  public static final String ID = "id";
  public static final String KEY = "key";
  public static final String MESSAGE_NAME = "messageName";
  public static final String CORRELATION_KEY = "correlationKey";
  public static final String PUBLISH_DATE = "publishDate";
  public static final String EXPIRE_DATE = "expireDate";
  public static final String DEADLINE = "deadline";
  public static final String TIME_TO_LIVE = "timeToLive";
  public static final String MESSAGE_ID = "messageId";
  public static final String VARIABLES = "variables";

  public MessageTemplate(final String indexPrefix, final boolean isElasticsearch) {
    super(indexPrefix, isElasticsearch);
  }

  @Override
  public String getIndexName() {
    return INDEX_NAME;
  }

  @Override
  public String getVersion() {
    return "8.5.0";
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy