Annotation Interface EnableForJms.Inbound
- Enclosing class:
- EnableForJms
-
Nested Class Summary
Nested Classes -
Required Element Summary
Required ElementsModifier and TypeRequired ElementDescriptionDestination of the incoming messages. -
Optional Element Summary
Optional ElementsModifier and TypeOptional ElementDescriptionSpecifies whether the listener should be started automatically.Supports Spring property placeholder.Specifies the bean name of the FailedInvocationInterceptor type to receive FailedInvocation.The bean name of the endpoint.Class<?>[]
-
Element Details
-
value
Destination of the incoming messages.
-
-
-
scan
Class<?>[] scan- Default:
- {}
-
concurrency
String concurrency- Default:
- "0"
-
name
String nameThe bean name of the endpoint. Must be unique if specified.Does not support Spring property placeholder.
- Default:
- ""
-
autoStartup
String autoStartupSpecifies whether the listener should be started automatically.Supports Spring property placeholder.
- Default:
- "true"
-
connectionFactory
String connectionFactory- Default:
- ""
-
completedInvocationConsumer
String completedInvocationConsumerSupports Spring property placeholder.
- Default:
- ""
-
failedInvocationInterceptor
String failedInvocationInterceptorSpecifies the bean name of the FailedInvocationInterceptor type to receive FailedInvocation.If the execution of a ForJmsType object on this in-bound endpoint throws an exception, the consumer bean will be invoked.
If the invocation of the bean completes without an exception, the Message will be acknowledged to the broker as a success.
The bean can throw exception in which case the message follows broker's dead-lettering process.
The consumer bean is meant to handle exceptions thrown by ForJmsType objects. It applies only after a matching ForJmsType class has been found. E.g., the bean will not be invoked for basic JMSException prior to Message.getJMSType() matching, i.e., UnknownTypeException.
Supports Spring property placeholder.
- Default:
- ""
-