WebLogic Integration


com.bea.b2b.protocol.xocp.messaging
Interface XOCPMessageListener


public interface XOCPMessageListener

The XOCPMessageListener interface represents a listener for receiving messages. XOCP applications should implement this interface.

Author:
Copyright © 2000, 2001 BEA Systems, Inc. All Rights Reserved.

Method Summary
 void onMessage(XOCPMessage msg)
          Callback to indicate that the specified message was received.
 void onTerminate(Conversation conv, int result)
          Callback to indicate that the specified conversation was terminated with the specified result (SUCCESS or FAILURE).
 

Method Detail

onMessage

public void onMessage(XOCPMessage msg)
Callback to indicate that the specified message was received.

Parameters:
msg - XOCP business message.

onTerminate

public void onTerminate(Conversation conv,
                        int result)
Callback to indicate that the specified conversation was terminated with the specified result (SUCCESS or FAILURE).

Parameters:
conv - Conversation being terminated.
result - Result of the conversation.

WebLogic Integration

WebLogic Integration (WLI)