Integration with Quartz
Every minute, a Quartz timer (trigger) executes the integration, which then sends a GET request to a specific endpoint.
- from:
uri: quartz://ipaas/my-trigger?cron=0+*+*+*+*+?
steps:
- to:
uri: "direct:myroute"
- to:
uri: "log:info"
- from:
uri: "direct:myroute"
steps:
- to:
uri: "https://httpbin.org/status/200bridgeEndpoint=true"
-
fromwith URIquartz://ipaas/my-trigger?: this block establishes that the integration will be triggered by a Quartz timer.The timer is set to trigger the integration every minute:
cron=0+*+*+*+*+?
Next, the following steps will be executed:
-
Route the message to
myrouteusing the URI"direct:myroute". -
Log information.
-
-
fromwith URI"direct:myroute": this block establishes that the integration will be triggered when a message is sent directly to the route namedmyroute.Next, the following step will be executed:
-
The integration sends a
GETrequest to the URL"https://httpbin.org/status/200", which returns an HTTP status200(OK).
-
Share your suggestions with us!
Click here and then [+ Submit idea]