NonStop JMS User's Manual (H06.03+, J06.03+, NonStop JMS 3.0+)
Reliable Messaging Bridge
NonStop Server for Java Message Service User’s Manual—522356-006
5-26
pathmon_process_name.properties File
pathmon_process_name.properties File
The pathmon_process_name.properties file is generated using the add
bridge command and is regenerated by the alter bridge and delete bridge
commands. The file is read by the bridge at startup, and contains the two properties
listed below in addition to the properties contained in the nsjms.properties file. For
information on the contents of the nsjms.properties file, see page 2-12.
Bridge.receive.timeout
Example 5-4. stop_template.txt File
#! /bin/sh
# Script for shuting down the Messaging Bridge pathway environment
#
# Execute comand to gracefully shut down servers
#
# Tell pathmon to shut down.
#
export PATHMON=@@PATHMON_NAME@@
#
gtacl -p pathcom \$$PATHMON <<eof
shutdown2, mode im, status ag
eof
# Just in case pathway wasn't configured, kill the pathmon process.
# If the shutdown above worked, this will have no effect since the
# pathmon process is gone. Otherwise this gets rid of the pathmon process.
kill -s GUARDIAN /G/$PATHMON > /dev/null 2>&1
Example 5-5. Stop Script Sample
#! /bin/sh
# Script for shuting down the Messaging Bridge pathway environment
#
# Execute comand to gracefully shut down servers
#
# Tell pathmon to shut down.
#
export PATHMON=sampl
#
gtacl -p pathcom \$$PATHMON <<eof
shutdown2, mode im, status ag
eof
# Just in case pathway wasn't configured, kill the pathmon process.
# If the shutdown above worked, this will have no effect since the
# pathmon process is gone. Otherwise this gets rid of the pathmon process.
kill -s GUARDIAN /G/$PATHMON > /dev/null 2>&1
Default: 60000
Values: milliseconds
Value
Descriptions:
milliseconds—The time (in milliseconds) the
receive() method waits for a message on the source
queue or topic.
Example: Bridge.receive.timeout=60000