open class MethodJmsListenerEndpoint : AbstractJmsListenerEndpoint, BeanFactoryAware
A JmsListenerEndpoint providing the method to invoke to process an incoming message for this endpoint.
Author
Stephane Nicoll
Author
Juergen Hoeller
Since
4.1
MethodJmsListenerEndpoint()
A JmsListenerEndpoint providing the method to invoke to process an incoming message for this endpoint. |
open fun getBean(): Any |
|
open fun getMethod(): Method |
|
open fun getMostSpecificMethod(): Method |
|
open fun setBean(bean: Any): Unit
Set the actual bean instance to invoke this endpoint method on. |
|
open fun setBeanFactory(beanFactory: BeanFactory): Unit
Set the BeanFactory to use to resolve expressions (may be |
|
open fun setEmbeddedValueResolver(embeddedValueResolver: StringValueResolver): Unit
Set a value resolver for embedded placeholders and expressions. |
|
open fun setMessageHandlerMethodFactory(messageHandlerMethodFactory: MessageHandlerMethodFactory): Unit
Set the MessageHandlerMethodFactory to use to build the InvocableHandlerMethod responsible to manage the invocation of this endpoint. |
|
open fun setMethod(method: Method): Unit
Set the method to invoke for processing a message managed by this endpoint. |
|
open fun setMostSpecificMethod(mostSpecificMethod: Method): Unit
Set the most specific method known for this endpoint's declaration. In case of a proxy, this will be the method on the target class (if annotated itself, that is, if not just annotated in an interface). |
open fun getConcurrency(): String
Return the concurrency for the listener, if any. |
|
open fun getDestination(): String
Return the name of the destination for this endpoint. |
|
open fun getId(): String |
|
open fun getSelector(): String
Return the JMS message selector expression, if any. |
|
open fun getSubscription(): String
Return the name for the durable subscription, if any. |
|
open fun setConcurrency(concurrency: String): Unit
Set a concurrency for the listener, if any. The concurrency limits can be a "lower-upper" String, e.g. "5-10", or a simple upper limit String, e.g. "10" (the lower limit will be 1 in this case). The underlying container may or may not support all features. For instance, it may not be able to scale: in that case only the upper value is used. |
|
open fun setDestination(destination: String): Unit
Set the name of the destination for this endpoint. |
|
open fun setId(id: String): Unit |
|
open fun setSelector(selector: String): Unit
Set the JMS message selector expression. See the JMS specification for a detailed definition of selector expressions. |
|
open fun setSubscription(subscription: String): Unit
Set the name for the durable subscription. |
|
open fun setupListenerContainer(listenerContainer: MessageListenerContainer): Unit |
|
open fun toString(): String |