Unregistering an Agent

The agent is unregistered by using the TeaAgentServer.unregisterAgent() method.

Note: Prior to version 1.1.0, when you unregistered an agent, the associated data got deleted automatically from <TIBCO_HOME>\tea\1.0\data\sr\<Agent_Name>\<Version>\*.*. Now, you can control this setting manually by setting a flag in the <TIBCO_CONFIG_HOME>\tibco\cfgmgmt\tea\conf\tea.conf file. Set tea.dev.unregistration-cleanup=false to delete the files manually. If you have set the property to false, remember to cleanup manually after unregistering an agent.