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"
  1. from with URI quartz://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 myroute using the URI "direct:myroute".

    • Log information.

  2. from with URI "direct:myroute": this block establishes that the integration will be triggered when a message is sent directly to the route named myroute.

    Next, the following step will be executed:

    • The integration sends a GET request to the URL "https://httpbin.org/status/200", which returns an HTTP status 200 (OK).

Thanks for your feedback!
EDIT

Share your suggestions with us!
Click here and then [+ Submit idea]