Annotation Interface ByJms
Serializing by JsonView is supported on the body.
- Since:
- 1.0
- Author:
- Lei Yang
-
Nested Class Summary
Nested Classes -
Required Element Summary
Required Elements -
Optional Element Summary
Optional ElementsModifier and TypeOptional ElementDescriptionSpecifies the connection factory name by which the interface retrieves a Connection from ConnectionFactoryProvider.get(String).Specifies a value for MessageProducer.setDeliveryDelay(long) that applies to out-bound messages.Specifies a bean name by which the interface can be injected.String[]Specifies property name/value pairs for out-going messages.Specifies the return destination for out-bound messages.Specifies how long to wait for a reply on the out-going request.Specifies a value for MessageProducer.setTimeToLive(long) that applies to out-bound messages.
-
Element Details
-
-
properties
String[] propertiesSpecifies property name/value pairs for out-going messages.E.g.,
{ "AppName", "AufJms", "AppVersion", "1.0", ... }Must be specified in pairs. Missing value will trigger an exception.
E.g., the following is missing value for property '
appVersion' and will result an exception.{ "AppVersion" }If the same property is defined by a OfProperty parameter, the argument takes the precedence and is accepted. The value defined here is ignored.
Spring property placeholder is supported on values but not on names.
- Default:
- {}
-
name
String nameSpecifies a bean name by which the interface can be injected.The default is from
Class.getSimpleName()with the first letter in lower-case.- Returns:
- the bean name of the proxy interface.
- See Also:
-
Qualifier
- Default:
- ""
-
ttl
String ttlSpecifies a value for MessageProducer.setTimeToLive(long) that applies to out-bound messages.The value overwrites EnableByJms.ttl().
The value can be overridden by higher-priority sources, e.g., OfTtl.
The default is to follow EnableByJms.ttl().
Supports Spring property placeholder.
- Default:
- ""
-
delay
String delaySpecifies a value for MessageProducer.setDeliveryDelay(long) that applies to out-bound messages.This value overwrites EnableByJms.delay().
The default is to follow EnableByJms.delay().
Supports Spring property placeholder.
- Default:
- ""
-
requestTimeout
String requestTimeoutSpecifies how long to wait for a reply on the out-going request.Default is no timeout. I.e., wait indefinitely.
Only applies for request/reply pattern.
Supports Spring property placeholder.
- See Also:
- Default:
- ""
-
replyTo
ByJms.To replyToSpecifies the return destination for out-bound messages.- Default:
- @me.ehp246.aufjms.api.annotation.ByJms.To("")
-
connectionFactory
String connectionFactorySpecifies the connection factory name by which the interface retrieves a Connection from ConnectionFactoryProvider.get(String).- Default:
- ""
-