@Documented @Retention(value=RUNTIME) @Target(value=TYPE) @Inherited public @interface JmsMessageListener
Modifier and Type | Required Element and Description |
---|---|
String |
destinationName
The name of the JMS destination to listen to.
|
Modifier and Type | Optional Element and Description |
---|---|
String |
connection
The name of the JMS connection used to listen.
|
DestinationType |
destinationType
The type of the JMS destination to listen to.
|
String |
destinationTypeStr
The destination type as a string.
|
Class<? extends MessagePoller>[] |
poller |
String |
selector
An optional selector to only retrieve messages that matches it.
|
public abstract String destinationName
public abstract String connection
public abstract DestinationType destinationType
destinationTypeStr()
instead. Defaults to QUEUE.public abstract String destinationTypeStr
destinationType()
.public abstract String selector
public abstract Class<? extends MessagePoller>[] poller
MessagePoller
to retrieve messages via receive() instead
of asynchronous delivery.Copyright © 2013-2018–2019 SeedStack. All rights reserved.