How do I shut down the adapter gracefully?

How do I shut down the adapter gracefully?

book

Article ID: KB0087230

calendar_today

Updated On:

Products Versions
TIBCO ActiveMatrix BusinessWorks Plug-in for Siebel -
Not Applicable -

Description

Resolution:
Sending a message on the adapter termination subject is one of the recommended ways of stopping the adapter. This will make sure that the current message is processed completely and all the existing connections are safely logged off.

In order to send the message on adapter terminate subject, run below command

tibrvsend "&ltAdapter_Terminate_Subject>" "&ltMessage>"

where,
Adapter_Terminate_Subject will be the Terminate Subject configured for the adapter instance. To configure / verify / modify terminate subject, go to "General" tab of the adapter instance and check value for field Terminate Subject or Topic (General tab will be visible upon checking 'Show All Tabs' fields under Configuration tab).
Message can be any message, say "Hi"

e.g.: tibrvsend "domain.deployment.instance.exit" "Hi"

Issue/Introduction

How do I shut down the adapter gracefully?