Class DispatchMDBMessageListenerImpl

  • All Implemented Interfaces:
    Serializable, javax.ejb.EnterpriseBean, javax.ejb.MessageDrivenBean, DispatchMDBMessageListener

    public class DispatchMDBMessageListenerImpl
    extends Object
    implements javax.ejb.MessageDrivenBean, DispatchMDBMessageListener
    DispatchMDBMessageListenerImpl supports dispatching of calls to a Stateless Session Bean. DispatchMDBMessageListenerImpl is intended to be used as the of the bean in the resource adaptor's deployment descriptor (ra.xml). When it is used, the should be set to org.apache.cxf.jca.inbound.DispatchMDBMessageListener. Also, the resource adaptor's deployment descriptor should specify the same interface (org.apache.cxf.jca.inbound.DispatchMDBMessageListener) in the in order to activate the inbound facade endpoint. Since the Message Driven Bean is used to activate the inbound endpoint facade by CXF JCA connector, all the required resources (such as, service endpoint interface class, WSDL, or bus configuration) should be put in the same jar with the Message Driven Bean.
    See Also:
    Serialized Form
    • Constructor Detail

      • DispatchMDBMessageListenerImpl

        public DispatchMDBMessageListenerImpl()
    • Method Detail

      • ejbCreate

        public void ejbCreate()
      • ejbRemove

        public void ejbRemove()
        Specified by:
        ejbRemove in interface javax.ejb.MessageDrivenBean
      • setMessageDrivenContext

        public void setMessageDrivenContext​(javax.ejb.MessageDrivenContext mdc)
        Specified by:
        setMessageDrivenContext in interface javax.ejb.MessageDrivenBean