As per the specification,
"In EJB 3.x, the functionality previously provided by the MessageDriven-Bean interface is available to the bean class through selective use of dependency injection (of the
MessageDrivenContext) and optional life-cycle callback methods."
Can someone please provide a example showing
A.Injecting MessageDriven-Bean interface through DI B.Using MessageDriven-Bean interface using optional lifecycle callback methods.