To forcefully remove an activity, use the following rhino-console command or related MBean operation.

Warning
Consult the spec before ending an activity

The JAIN SLEE 1.1 specification provides detailed rules for ending no-longer-required activities.

Console command: removeactivity

Command

removeactivity <activity pkey>*
  Description
    Remove activities

Example

To remove the activities with the primary keys A.103:108976019104:36.1 and A.103:108976019104:56.1

$ ./rhino-console removeactivity A.103:108976019104:36.1 A.103:108976019104:56.1
2 activities removed

MBean operation: removeActivity

MBean

Rhino operation

public void removeActivity(String activityPKey)
    throws InvalidPKeyException, UnknownActivityException,
            ManagementException;

This operation removes the activity with the given primary key.

Previous page Next page
Rhino Version 2.6.0