Class DispatchMDBInvoker

  • All Implemented Interfaces:
    Invoker

    public class DispatchMDBInvoker
    extends MDBInvoker
    DispatchMDBInvoker is executed in the context of a Message Driven Bean that dispatches calls to the target Session Bean where the service logic is implemented. The target must be a Stateless Session Bean. Since DispatchMDBInvoker makes EJB local invocation to the target bean, the Message Driven Bean must be configured to include a local reference to the target bean in the deployment descriptor. The advantage of using DispatchMDBInvoker is that no modification to the resource adapter's deployment descriptor (ra.xml) is required to add or remove inbound endpoints.
    • Constructor Detail

      • DispatchMDBInvoker

        public DispatchMDBInvoker​(javax.resource.spi.endpoint.MessageEndpointFactory factory,
                                  String targetJndiName)