![JAR search and dependency download from the Maven repository](/logo.png)
com.dell.cpsd.common.rabbitmq.annotation.Message Maven / Gradle / Ivy
/**
* Copyright © 2017 Dell Inc. or its subsidiaries. All Rights Reserved.
* Dell EMC Confidential/Proprietary Information
*/
package com.dell.cpsd.common.rabbitmq.annotation;
import java.lang.annotation.Documented;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
/**
* An annotation to indicate a POJO to be a message class.
*
* Copyright © 2017 Dell Inc. or its subsidiaries. All Rights Reserved.
* Dell EMC Confidential/Proprietary Information
*
* @since SINCE-TDB
*/
@Documented
@Target(ElementType.TYPE)
@Retention(RetentionPolicy.RUNTIME)
public @interface Message
{
/**
* This is the message Id, for example the __TypeId__ used for SpringAMQP
*/
String value();
/**
* This is the message version
*/
String version();
/**
* Content type
*
*/
MessageContentType content() default MessageContentType.CLEAR;
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy