Class MDBInvoker

  • All Implemented Interfaces:
    Invoker
    Direct Known Subclasses:
    DispatchMDBInvoker

    public class MDBInvoker
    extends AbstractInvoker
    An invoker that supports direct Message Driven Bean invocation. It get invoked in the context of the Message Driven Bean that activates the CXF service endpoint facade. Applications that put service implementation inside the Message Driven Bean that activates the inbound endpoint facade should choose this invoker. It is more straightforward and faster than DispatchMBDInvoker but it requires to modify resource adapter's deployment descriptor (ra.xml) as the needs to be set to the Service Endpoint Interface (SEI) class.
    • Constructor Detail

      • MDBInvoker

        public MDBInvoker​(javax.resource.spi.endpoint.MessageEndpointFactory factory)
        Parameters:
        factory -
    • Method Detail

      • getMessageEndpoint

        public javax.resource.spi.endpoint.MessageEndpoint getMessageEndpoint()
        Returns:
        the messageEndpoint
      • releaseEndpoint

        protected void releaseEndpoint​(javax.resource.spi.endpoint.MessageEndpoint mep)