Package me.ehp246.aufjms.api.annotation
Annotation Interface EnableByJms
@Retention(RUNTIME)
@Target(TYPE)
@Import({AufJmsConfiguration.class,ByJmsRegistrar.class,ByJmsFactory.class,DefaultInvocationDispatchBuilder.class})
public @interface EnableByJms
Enables
ByJms-annotated proxy interfaces scanning.- Since:
- 1.0
- Author:
- Lei Yang
-
Optional Element Summary
Optional ElementsModifier and TypeOptional ElementDescriptionString[]Specifies whether to register JmsDispatchFn beans with JMS connection from the named connection factories.Class<?>[]Spring property is supported.
-
Element Details
-
scan
Class<?>[] scan- Default:
- {}
-
ttl
String ttlSpring property is supported.- Default:
- "PT0S"
-
dispatchFns
String[] dispatchFnsSpecifies whether to register JmsDispatchFn beans with JMS connection from the named connection factories.The values are passed to ConnectionFactoryProvider.get(String) to create the bean.
The bean name is of the form
JmsDistpchFn-${index}where the index starts at 0. E.g.,JmsDispatchFn-0,JmsDispatchFn-1, and etc.- Default:
- {}
-