Module jakarta.ejb
Package jakarta.ejb

Annotation Interface MessageDriven


@Target(TYPE) @Retention(RUNTIME) public @interface MessageDriven
Component-defining annotation for a message driven bean.

The message driven bean must implement the appropriate message listener interface for the messaging type that the message-driven bean supports or specify the message listener interface using the messageListenerInterface element of this annotation.

Since:
EJB 3.0
See Also: