Extending : Channel policy management and extension : Running the channel policy sample
  
Running the channel policy sample
The BPRuntimeTest.war file is provided as the channel policy sample. The sample implements the real case that demonstrates how to use the UNICOM® Digital Transformation Toolkit (UDTT™) channel policy. The guide shows the code and configuration related with channel policy, and the extension point.
1 Deploy the WAR file to Tomcat or WebSphere Application Server. After the file is deployed, enter the following URL in a web browser to start the sample: http://localhost:8080/BPRuntimeTest/EstablishSession
This graphic is described in the surrounding text.
2 There are two transaction flows in the sample. The first transaction Information Submission should not be executed by users according to the channel policy implementation. Click it to display the following page.
This graphic is described in the surrounding text.
3 For the other account transfer transactions, it can be executed by the channel policy for users. But the sample implements a simple rule to check transaction limit. If the amount is more than 10000, an error page is displayed.
This graphic is described in the surrounding text.This graphic is described in the surrounding text.
See also
Channel policy management and extension