Package jakarta.jms

Annotation Interface JMSDestinationDefinition


@Target(TYPE) @Retention(RUNTIME) @Repeatable(JMSDestinationDefinitions.class) public @interface JMSDestinationDefinition
An application may use this annotation to specify a Jakarta Messaging Destination resource that it requires in its operational environment. This provides information that can be used at the application's deployment to provision the required resource and allows an application to be deployed into a Java EE environment with more minimal administrative configuration.

The Destination resource may be configured by setting the annotation elements for commonly used properties. Additional properties may be specified using the properties element. Once defined, a Destination resource may be referenced by a component in the same way as any other Destination resource, for example by using the lookup element of the Resource annotation.

Since:
JMS 2.0
Version:
Jakarta Messaging 2.0
See Also: