javax.resource.cci

## Interface MessageListener

-     public interface MessageListener

  This serves as a request-response message listener type that message endpoints (message-driven beans) may implement. This allows an EIS to communicate with an endpoint using a request-response style.
  Version:
    1.0
  Author:
    Ram Jeyaraman

- - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `Record` | `onMessage(Record inputData)` This method allows an EIS to call a message endpoint using a request-response style communication.

- - ### Method Detail

    - #### onMessage

          Record onMessage(Record inputData)
                           throws ResourceException

      This method allows an EIS to call a message endpoint using a request-response style communication.
      Parameters:
        `inputData` - a `Record` instance.
      Returns:
        a `Record` instance or null.
      Throws:
        `ResourceException` - indicates an exceptional condition.

Copyright © 1996-2013, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.