Interface DispatchMDBMessageListener

All Known Implementing Classes:
DispatchMDBMessageListenerImpl

public interface DispatchMDBMessageListener
The DispatchMDBMessageListener is intended to be used as the <messagelistener-type> of an <inbound-resourcesadapter> in the resource adapter's deployment descriptor (ra.xml). The default implementation class is DispatchMDBMessageListenerImpl. The benefit of using DispatchMDBMessageListener is that users are not required to put the Service Endpoint Interface (SEI) in the resource adaptor's deployment descriptor. Thus, users can leave the <messagelistener-type> as org.apache.cxf.jca.inbound.DispatchMDBMessageListener for any their endpoints.
  • Method Summary

    Modifier and Type
    Method
    Description
    lookupTargetObject(String targetJndiName)
    Looks up the target object by JNDI name.
  • Method Details

    • lookupTargetObject

      Object lookupTargetObject(String targetJndiName) throws Exception
      Looks up the target object by JNDI name.
      Parameters:
      targetJndiName -
      Returns:
      Throws:
      Exception