Java EE 5 SDK

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
 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.

Java EE 5 SDK

Submit a bug or feature

Copyright 2007 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms.

Scripting on this page tracks web page traffic, but does not change the content in any way.