Scheduling the RaiseECEvent job
The RaiseECEvent job raises an event for each of the business events in the
BUSEVENT database table that have a status of CHECKED = 0. Registered event listeners are notified
when events are raised. After an event is raised, the value of the CHECKED column is updated to -10.
By default, this scheduled job runs every 5 minutes.
Procedure
- Open the Administration Console and select Site on the Administration Console Site/Store Selection page.
- From the Configuration menu, click Scheduler. A list of jobs that are scheduled to run on your store is displayed.
- From the list of jobs, select RaiseECEvent.
-
Update the Schedule interval field to reflect your preferred
interval.
By default this value is set to 300 seconds so that the job runs every 5 minutes.
You can shorten or lengthen this interval to enable higher concurrency or throughput, or lessen the impact of this job on your site performance.
- Click OK.
Results
What to do next
- Sends analytics events to an external analytics system and updates the value of the CHECKED column to -20.
- Updates the value of the CHECKED column to -20 for non-analytics events.
To determine whether the EventProcessor is sending analytics events to an external analytics
system, examine the Analytics Event Configuration in the HCL Commerce configuration file (wc-server.xml)
file. If the enable parameter is set to
false
, or if no stores
are enabled, the analytics component is not used.
<component compClassName="com.ibm.commerce.bi.events.AnalyticsComponentConfiguration"
enable="true"
name="Analytics Event Configuration"
>
<property display="false">
<supportedEvents inProcessState="-15"
mapper="mapCommonEvents.xml"
maxBatchSize="200"
maxProcessTime="86400"
processState="-10"
purgeState="-20">
...
<stores>
<store enabled="false" storeId="-1">
<configuration cmClientID=""
password=""
serviceURL="https://wscreceiver.coremetrics.com/Receiver/sendEventData"
sslKeyPassphrase="WebAS"
sslKeyStore="/usr/WebSphere/AppServer/profiles/demo/etc/DummyServerKeyFile.jks"
sslTrustPassphrase="WebAS"
sslTrustStore="/usr/WebSphere/AppServer/profiles/demo/etc/DummyServerTrustFile.jks"
transmitClassName="com.ibm.commerce.bi.events.transmit.CMWebServiceTransmitter"
transmitEnabled="false"
username="" />
</store>
</stores>
</property>
</component>
The CleanECEvent scheduled job deletes business events with a value of -20 in the CHECKED column from the BUSEVENT database table.