![JAR search and dependency download from the Maven repository](/logo.png)
io.github.pleuvoir.rabbit.autoconfigure.EnableRabbitPlugin Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of rabbitmq-plugin Show documentation
Show all versions of rabbitmq-plugin Show documentation
The project provide more reliability to use rabbitmq.
package io.github.pleuvoir.rabbit.autoconfigure;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
import org.springframework.context.annotation.Import;
import io.github.pleuvoir.rabbit.RabbitConst;
@Target(ElementType.TYPE)
@Retention(RetentionPolicy.RUNTIME)
@Import(EnableRabbitPluginRegistrar.class)
public @interface EnableRabbitPlugin {
/**
* this is plugin name, it must be no-empty value.
*/
String name() default "rabbitmq-plugin";
/**
* 最大重试次数
*/
int maxRetry() default RabbitConst.DEFAULT_MAX_RETRY;
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy