Using auto-start and the recovery database
-
Drag and drop the File protocol icon onto the Graph panel to
create two threads named
thread1 and
thread2 with a group name of
production_ex2.
-
For thread1, add a new route to thread2 and set it as static
when the Create Route dialog box opens.
-
Click
Apply and save the file.
-
On the thread1 Properties tab, select Save inbound messages in the Inbound pane and
specify thread1_in in File. Leave Auto-start connection and
Use recovery database
selected in the Thread pane.
-
Click Protocols Properties to open the protocol dialog box. Browse and select the
Input Filename and
click OK. In this
example, it is frl_adt_.dat.
-
Click
Apply and save the file.
-
Highlight thread2. In the Properties Outbound pane, select
Save outbound
messages and specify thread2_out in File. In the Thread pane, Auto-start connection and Use
Recovery Database are selected by default.
-
Click
Apply and save the file.
-
Open the Network Monitor and run the process process. In this example, it is trgprod. Because
Auto-start connection
is selected by default, both thread1 and thread2 start.
-
Shut down the process.
-
Open the
process
folder under %HCIROOT%\process
name\exec\processes\process name. There
are two files: thread1_in.msg (saved inbound
message) and thread2_out.msg (saved outbound
message).
-
Return to Network Configurator. Highlight thread2 and clear
Auto-start connection on
the
Properties tab. Click
Apply and save the file.
-
Open Network Monitor and run the process name
process. thread2 should not be started.
-
Open the Database Administrator and click
Apply Command.
-
Click
Done to close the result
pane. Then, shut down the process.