Receiving messages from a JCA 1.5 connector

To receive messages from a JCA 1.5 connector, map the inbound resource adapter to an MDB. In the Ant configuration file that defines the MDB, set the value of messageListener name to the name of the com.sybase.djc.connector.MessageListener component that implements the inbound resource adapter. In the following example, “myMDB” is the name of the MDB component, and “connectorListener” is the name of the inbound resource adapter:

                    <setProperties component="ejb.components.abctest.myMDB">
                       <messageListener name="connectorListener" />
                      </setProperties>