# RosettaNet Control Interface

The RosettaNetControl interface extends com.bea.control and includes the methods described in the following table:

Method Name | Description
--- | ---
getProcessTimeout | Returns the amount of time to wait for the entire business process to complete before timing out. Base method.
getRetryCount | Returns the maximum number of times to retry sending the message in case of failure. Base method.
getRetryInterval | Returns the amount of time to wait between retries. Base method.
onAck | Invoked when a RosettaNet acknowledgement is received.
onError | Invoked when a RosettaNet error notification is received.
onMessage | Invoked when a RosettaNet business message is received.
sendAck | Sends an acknowledgement of receipt of a business message to a trading partner and accepts the request. Base method.
sendError | Sends an RosettaNet error to a trading partner. Base method.
sendMessage | Sends the specified message to a trading partner.
sendReject | Sends an acknowledgement of receipt of the business message to a trading partner, but rejects the request. Base method.
setProperties | Sets dynamic properties at run-time, such as the business ID of the sender or recipient. Use this method to set the debug mode during testing. Base method.
getProperties | Lists current property settings.

Note: To learn about the syntax for using a particular method, view the method in Source View.

Related Topics

RosettaNet Control Annotations