######################################################################
# PVM Properties
######################################################################
#
#
# This file is used to set up the properties for the PVM engine.
#
# It supports the following parameters:
#
# monitor.enable (optional)
#	Tells the AMX-BPM framework that it should monitor this properties file for changes.   If omitted it defaults to false
#
#		true	-	Monitor the file
#		false	-	Don't monitor the file (the default)
#
# monitor.interval (optional)
#	Tells the AMX-BPM framework with what frequency (in milliseconds) it should check this file for modifications.   If omitted it defaults to 5000ms.
#
#
monitor.enable=true
monitor.interval=60000

# Processing thread pool sizes 
inMemoryThreadPoolSize=8
inMemoryThreadPoolStepCount=-1
persistThreadPoolSize=16
pagingThreadPoolSize=8

# Cleanup of PVM_REQUEST_QUEUE
requestQueueCleanupInline=true
requestQueueCleanupBatchSize=500
requestQueueCleanupBatchCount=-1
requestQueueCleanupInterval=P30

# Cleanup of PVM_WORK_ITEM 
workItemCleanupInline=true
workItemCleanupBatchSize=500
workItemCleanupBatchCount=-1
workItemCleanupInterval=P30

# Engine heartbeat monitor
recoveryHeartbeatInterval=15
recoveryFailureThreshold=120
recoveryGCInterval=3600
recoveryGCBatchSize=10000
recoveryPeriodicRecoveryInterval=310

# Compression of blob attribute values
blobCompress=false
blobCompressThreshold=4096
blobCompressBufferSize=2048

# BPEL Maintenance 
moduleCleanupInterval=P10
purgeProcessInterval=D1

# Loading rows from PVM_REQUEST_QUEUE
requestQueueBatchSize=25
requestQueueFillLevel=50
requestQueueLowLevel=10
requestQueueIdleSleep=100

# Loading rows from PVM_EQ_ENGINE
engineEventQueueBatchSize=25
engineEventQueueIdleSleep=500

# Cleaning rows from PVM_EQ_ENGINE
engineEventQueueCleanupBatchSize=500
engineEventQueueCleanupBatchCount=-1
engineEventQueueCleanupInterval=P30

# Cleaning rows from PVM_QUERY_PAGING
queryPagingCleanupBatchSize=500
queryPagingCleanupBatchCount=-1
queryPagingCleanupInterval=P30
queryPagingCleanupTimeout=30

# Sequence cache sizes
sequenceCacheSizeInstTask=500 			
sequenceCacheSizeInstLink=500			
sequenceCacheSizeInstProcess=250		
sequenceCacheSizeInstProcessIm=500		

# Transaction verification
txVerificationEnable=false
txVerificationRetryInterval=5
txVerificationTimeout=60000
txVerificationWarn=false

# System transaction timeout
systemTxTimeout=-1

# BPEL Maintenance
bpelMaintenanceModuleCleanupInterval=P10
bpelPendingMessageProcessorNumMessages=500
bpelMaintenancePurgeProcessInterval=D1
bpelUnclaimedPendingMsgProcessorStart=false
bpelUnclaimedPendingMsgProcessorInterval=P30
bpelUnclaimedPendingMsgProcessorNumMsgs=500
bpelInMemoryRecoveryInterval=P10

# Global signals
globalSignalProcessorInterval=P30
globalSignalProcessorNumMessages=500

# Allow null message parts
allowNullMessagePart=true

# Prefixes for threads and URIs
idUriPrefix=pvm:
threadPrefix=PVM

# Background job scheduler service
jobSchedulerPoolSize=3

# Whether to use the old PVM processing method or not, and the maximum items of
# work to perform per transaction.
useOldWorkProcessing=false
maxItemsProcessedPerTx=100

# How many work items dequeued from the database to add to the in-memory queue 
# for the current thread
workItemInMemoryEnqueueCount=10

# Cache DB token tracker rows
cacheTokenTrackers=true

# How long in-memory instance processing will wait for work (seconds)
inMemoryInstanceMaxWorkWaitTime=30
