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

de.otto.synapse.annotation.EnableMessageQueueReceiverEndpoint Maven / Gradle / Ivy

Go to download

A library used at otto.de to implement Spring Boot based event-sourcing microservices.

The newest version!
package de.otto.synapse.annotation;

import de.otto.synapse.configuration.MessageQueueReceiverEndpointAutoConfiguration;
import org.springframework.context.annotation.Import;

import java.lang.annotation.*;


@Target(ElementType.TYPE)
@Retention(RetentionPolicy.RUNTIME)
@Documented
@Import({MessageQueueReceiverEndpointBeanRegistrar.class, MessageQueueReceiverEndpointAutoConfiguration.class})
@Repeatable(EnableMessageQueueReceiverEndpoints.class)
public @interface EnableMessageQueueReceiverEndpoint {

    /**
     * The name of the message queue.
     * 

* Resolving placeholders like "${my.channel.name}" is supported for this property. *

* * @return channel name */ String channelName(); /** * The name of the registered MessageQueueReceiverEndpoint bean. *

* If {@code #name} is not set, the name of the bean is derived from the name of the message channel. The name * is constructed by tranforming hyphenated variable naming convention, e.g., "my-channel" into * the Spring bean naming convention, e.g., "myChannel". After this conversion, the string * "MessageQueueReceiverEndpoint" is appended. A channel named "my-channel" will therefore result in a bean name * "myChannelMessageQueueReceiverEndpoint". *

* * @return bean name */ String name() default ""; }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy