RosettaNetControl Interface
- public interface RosettaNetControl
extends Control
Basic RosettaNet control. Send/Receive functionality is left to the
extensible control, for customization. The following methods are available
after a JCX instance is created.
sendMessage(): Sends the specified message to a trading partner.
-
All Superinterfaces
-
Control
, Serializable
Nested classes from interface com.bea.control.Control |
Control.Callback |
public String |
-
getProcessTimeout ()
- Returns the amount of time to wait for the entire business process to complete before timing out.
|
public RosettaNetControlPropertiesDocument |
-
getProperties ()
- Get the dynamic properties for the RosettaNet control
|
public int |
-
getRetryCount ()
- Returns the maximum number of retries for sending the message
|
public String |
-
getRetryInterval ()
- Returns the time interval between retries
|
public void |
-
sendAck ()
- Sends an acknowledgement of receipt of a business message to a trading partner and accepts the request.
|
public void |
-
sendError ()
- Sends an Exception
|
public void |
-
sendReject ()
- Sends an acknowledgement of receipt of the business message to a trading partner, but rejects the request.
|
public void |
-
setProperties (RosettaNetControlPropertiesDocument xmlPropsDoc)
- Sets dynamic properties at run-time, such as the business ID of the sender or recipient.
|
getProcessTimeout() Method
public String
getProcessTimeout()
Returns the amount of time to wait for the entire business process to complete before timing out.
getProperties() Method
public RosettaNetControlPropertiesDocument
getProperties()
Get the dynamic properties for the RosettaNet control
Returns
- the dynamic properties for the RosettaNet control
getRetryCount() Method
public int getRetryCount()
Returns the maximum number of retries for sending the message
getRetryInterval() Method
public String
getRetryInterval()
Returns the time interval between retries
sendAck() Method
public void sendAck()
Sends an acknowledgement of receipt of a business message to a trading partner and accepts the request.
sendError() Method
public void sendError()
Sends an Exception
sendReject() Method
public void sendReject()
Sends an acknowledgement of receipt of the business message to a trading partner, but rejects the request.
setProperties(RosettaNetControlPropertiesDocument) Method
public void setProperties(RosettaNetControlPropertiesDocument
xmlPropsDoc)
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.
Parameters
-
xmlPropsDoc
- the dynamic properties for the RosettaNet control