com.sap.mw.jco.jra

Interface AsynchronousMessageListener

All Superinterfaces:
MessageListener, TIDHandler

public interface AsynchronousMessageListener
extends MessageListener, TIDHandler

MessageDrivenBean implementing this interface is able to receive asynchronous messages from R/3 over tRFC. Setting the property FunctionName to the RFM / BAPI Name in the ejb-jar.xml is required.


Method Summary
 void onMessage(MappedRecord msg, String transactionalID, Properties info)
          This method is called by EJB container when an R/3 calls asynchronously to the registered Resource Adapter server.
 
Methods inherited from interface com.sap.mw.jco.jra.TIDHandler
onCommit, onConfirm, onRollback
 

Method Detail

onMessage

void onMessage(MappedRecord msg,
               String transactionalID,
               Properties info)
               throws ResourceWarning
This method is called by EJB container when an R/3 calls asynchronously to the registered Resource Adapter server.

Parameters:
msg - message sent over tRFC from R/3
transactionalID - of the underlined transaction.
info - contains caller identification, like UserName, SystemID, etc.
Throws:
ResourceWarning - application exception corresponding an ABAP exception defined in the function module interface
Access Rights

This class can be accessed from:


SC DC Public Part ACH
[sap.com] ENGFACADE [sap.com] tc/bl/jra/api api BC-JAS


Copyright 2012 SAP AG Complete Copyright Notice