Deleting deployed resources
Use the IBM® Integration Toolkit or the web user interface to remove deployed integration solution resources such as applications and libraries from an integration server.
About this task
Deleting a deployed resource by using the web user interface
Procedure
-
Start the web user interface for your integration node; see Accessing the web user interface.
The navigator is displayed on the left side of the pane, showing the servers (integration servers), message flows, and other resources that are owned by your integration node.
- In the navigator, expand Servers and then the integration server that hosts the resource you want to delete.
- Click the down arrow beside the resource to display the menu, and click Delete.
Results
A message is sent to the integration node to delete the selected resource.
Removing a deployed object by using the IBM Integration Toolkit
About this task
To remove an object from an integration server by using the IBM Integration Toolkit, complete the following steps.
Procedure
- In the Integration Nodes view, right-click the object that you want to remove.
- Click Delete, then OK to confirm.
Results
The request is sent to the integration node, and a synchronous response is sent back.
Removing a deployed object by using the mqsideploy command
About this task
To remove an object from an integration server by using the mqsideploy command, complete the following steps.
Procedure
Results
The command reports when responses are received from the integration node. If the command completes successfully, it returns zero (0).
Removing a deployed object by using the IBM Integration API
About this task
ExecutionGroupProxy
object, then run the
deleteDeployedObjectsByName method. Use the following code as an
example.import com.ibm.broker.config.proxy.*;
public class DeleteDeployedObjects {
public static void main(String[] args) {
BrokerConnectionParameters bcp =
new IntegrationNodeConnectionParameters
("localhost", 4414);
try {
BrokerProxy b =
BrokerProxy.getInstance(bcp);
ExecutionGroupProxy e =
b.getExecutionGroupByName("default");
e.deleteDeployedObjectsByName(
new String[] { "file1.msgflow",
"file2.msgflow",
"file3.xsd",
"file4.msgflow" }, 0);
}
catch (ConfigManagerProxyException e) {
e.printStackTrace();
}
}
}
What to do next
If you have removed one or more message flows, you can now remove the resource files that are associated with those message flows; for example, JAR files.