!--------------------------------------------------------------------
!
! An OPUS Java Internal Poller example with resource value fetches,
! using an OSF trigger
!
!--------------------------------------------------------------------
!                          REVISION HISTORY
!--------------------------------------------------------------------
!            PR
!   DATE   NUMBER  User      Description
! -------- ------  --------- -------------------------------------
! 09/20/02 46438   Sontag    Initial version
! 06/24/04 51412   Sherbert  For PR 50437 Remove DISPLAY_ORDER
! 01/21/05 52462   Sontag    Use OPUS_CLASSPATH; show -ssrl example
!--------------------------------------------------------------------
!
PROCESS_NAME = jpoller
TASK = < java -classpath $OPUS_CLASSPATH OPUS.UTIL.JIntPoller -p $PATH_FILE -r jpoller -ssrl INFO >
DESCRIPTION = 'Example Java Internal Poller'
SYSTEM = SAMPLE
CLASS = ALL
!
OSF_RANK          = 1            ! Sets this to use an OSF trigger
OSF_TRIGGER1.KW   = w            ! when OSF column KW = "w" (waiting)
OSF_PROCESSING.KW = p            ! then set column KW to "p" when triggered
OSF_SUCCESS.KW    = c            ! then set column KW to "c" on success
OSF_SUCCESS.HD    = w            ! then set column HD to "w", to start it
OSF_ERROR.KW      = e            ! or to "e" if the process has a failure
!
POLLING_TIME      = 10           ! Wait (seconds) before polling for next
MINBLOCKS         = 2000         ! blocks required on output disk
INPATH            = input_data   ! make INPATH available to process
OUTPATH           = success_dir  ! check for space in success directory
ERRPATH           = error_dir    ! make ERRPATH available to process
!
! And the path file should contain the following key-value pairs:
!
! STAGE_FILE             = OPUS_DEFINITIONS_DIR:g2f_pipeline.stage
! OPUS_OBSERVATIONS_DIR  = (set this to your OSF directory)
! input_data             = (set this to the location of input files)
! success_dir            = (set this to the dir to copy files on success)
! error_dir              = (set this to the dir to copy files on error)
!
