Understanding the Configuration
The following shared resources are defined in the project:
- The Incoming HTTP Request process starter listens on the connection specified in ListeningHTTPConnection.httpConnResource. The request_news.html file contains a form and clicking the Get News from Wiki! button sends the corresponding text string to the Incoming HTTP Request activity.
- The conditional transition routes the request to the Send HTTP Request activity, which sends the request to the host using the ListeningHTTPConnection. After receiving a response from the remote site, the Send HTTP Response activity closes the HTTP Connection established by the Incoming HTTP Request process starter.
- An internet connection is required for the sample to connect to Wiki News. The ListeningHTTPConnection listens on BW.CLOUD.PORT (default value 8080).
- The HTTP client shared resource contains the Circuit Breaker configuration as shown below:
Copyright © Cloud Software Group, Inc. All rights reserved.