站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > Java Platform, Enterprise Edition v1.4 API Specifications

MessageListener (Java 2 Platform Ent. Ed. v1.4) - Java Platform, Enterprise Edition v1.4 API Specifications

JavaTM 2 Platform
Ent. Ed. v1.4

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

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

JavaTM 2 Platform
Ent. Ed. v1.4

Submit a bug or feature

Copyright 2003 Sun Microsystems, Inc. All rights reserved.