replayFailedMessages.py administrative script
Use the replayFailedMessages.py administrative script to retry processing failed messages.
Prerequisites
The following conditions must be met:- Run the script in the connected mode, that is, do not use the wsadmin -conntype none option.
- At least one cluster member must be running.
- If your user ID does not have operator authority, include the wsadmin -user and -password options to specify a user ID that has operator authority.
Location
The replayFailedMessages.py administrative script is in the Business Process Choreographer admin directory.
Syntax
-f replayFailedMessages.py
-cluster cluster_name
-queue replayQueue
[ -bfm | -htm ]
Parameters
- -cluster clusterName
- The name of the cluster where Business Process Choreographer is configured. In a multicluster setup, you must specify the application cluster because that is where Business Process Choreographer is configured.
- -bfm | -htm
- These keywords are optional and mutually exclusive. The default, if neither option is specified is to replay failed messages for both BPEL processes and human tasks. If you want to only replay the messages for BPEL processes, specify the -bfm option. If you want to only replay messages for human tasks, specify the -htm option.
- -queue replayQueue
- Optionally specifies the queue to replay. replayQueue can have one of the following values:
- holdQueue (this is the default value)
- retentionQueue (only valid when the -bfm option is specified)
- both (not valid when the -htm option is specified)