Sometimes it may be necessary to delay the execution of an xUML service. To block the current activity for a given period of time, you can use the Block Thread Adapter.
Figure: Block Thread Action
You can use the Action Wizard to add a <<BlockThread>> action. Add an empty action node and select E2E Action Wizard from the context menu.
Parameters
Name | Type | Direction | Mandatory | Description | Allowed Values |
---|
time | Integer | in | | Specify a period of time in seconds defining the sleep time. | any integer |
highResolutionTime | Integer | in | | Specify a period of time in milliseconds defining the sleep time. | any integer |