Hi, I'm Ask INFA!
What would you like to know?
ASK INFAPreview
Please to access Ask INFA.

Table of Contents

Search

  1. Preface
  2. The Application Integration Console
  3. Process Server Configuration
  4. Deployed Assets
  5. Process Schedules
  6. Processes
  7. Process Server Health
  8. Process Metrics
  9. APIs
  10. Connections
  11. Guides
  12. Logs

Monitor

Monitor

Starting an event source in a listener-based connection by using a REST API

Starting an event source in a listener-based connection by using a REST API

Use a POST request to specify and start an event source in a listener-based connection that runs on a Secure Agent or a Secure Agent group.
POST request
To start an event source in a listener-based connection, use the following URI:
POST <Cloud Application Integration URL>/active-bpel/local/restadmin/eventconnection/start?agentName=<agent_name>
Include the following fields in the request:
Field
Required
Description
connection_name
Yes
The name of the connection that contains the event source that you want to start.
event_source_name
Yes
The name of the event source that you want to start.
POST request example
To start an event source in a listener-based connection, you can use the following request:
{ "routeInfo": [ { "eventRoute": " project:/rt.connection/<connection_name>/$public/<connection_name>:<eventsource_name>" } ] }
POST response
If the request to start an event source in a listener-based connection is successful, you will receive a response similar to the following example:
{ "startOperation": [ { "agent": "<agent_name>:<port>", "operationStatus": [ { "eventRoute": "project:/rt.connection/<connection_name/$public/<connection_name:<eventsource_name>", "eventRouteStatus": "ACTIVE", "message": null, "internalRoute": false } ] } ] }

0 COMMENTS

We’d like to hear from you!