Package de.otto.synapse.annotation
Annotation Type EnableMessageQueueReceiverEndpoint
@Target(TYPE)
@Retention(RUNTIME)
@Documented
@Import({MessageQueueReceiverEndpointBeanRegistrar.class,MessageQueueReceiverEndpointAutoConfiguration.class})
@Repeatable(EnableMessageQueueReceiverEndpoints.class)
public @interface EnableMessageQueueReceiverEndpoint
-
Required Element Summary
Required Elements Modifier and Type Required Element Description java.lang.StringchannelNameThe name of the message queue. -
Optional Element Summary
Optional Elements Modifier and Type Optional Element Description java.lang.StringnameThe name of the registered MessageQueueReceiverEndpoint bean.
-
Element Details
-
channelName
java.lang.String channelNameThe name of the message queue.Resolving placeholders like "${my.channel.name}" is supported for this property.
- Returns:
- channel name
-
-
-
name
java.lang.String nameThe name of the registered MessageQueueReceiverEndpoint bean.If
#nameis 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".- Returns:
- bean name
- Default:
- ""
-