Use these instructions to make the timer values more flexible for the PortalControllerAgent.
The PortalControllerAgent can support two timer settings in the matrix.properties file. You can make a timeout value flexible, meaning you can apply one timer to different timeout values. In order to do this, the timer1.delay and timer2.delay properties have been replaced by one timer.delay property.
In a default installation of WebSphere® Sensor Events, the PortalControllerAgent is set to use the Basic Dock Door Receiving matrix file (BDDR.properties). This properties file needs to be modified in order to use the flexible timer setting.
This is a sample of the XML configuration of the PortalControllerAgent with multiple values set:
<configuration factoryPid="com.ibm.rfid.agent.portalcontroller.bundle. PortalControllerAgentManagedServiceFactoryActivator" name="PortalControllerAgent" description="Portal Controller Agent"> <property key="timer.delay" value="60000,20000,1000" type="String" cardinality="0" name="Timer Delay" description="timer delay" />
This is a sample of what the properties file would look like for a flexible timer value configuration. The index value is highlighted in bold type:
# state1.4:reader did not start in time state1.4.in=OFF,DONT_CARE,DONT_CARE,DONT_CARE,DONT_CARE,OFF,NOT_EXPIRED,EXPIRED state1.4.out.reader=OFF state1.4.out.error=1 state1.4.out.timer2=ON.3