第 119 章 Google Calendar Stream Component

作为 Camel 版本 2.23 可用

Google Calendar 组件通过 Google Calendar Web API 提供对 Calendar 的访问。

Google Calendar 使用 OAuth 2.0 协议 对 Google 帐户进行身份验证并授权访问用户数据。在使用此组件前,您需要 创建帐户并生成 OAuth 凭证。凭证包括 clientId、clientSecret 和 refreshToken。生成长期刷新Token 的方便资源是 OAuth playground

Maven 用户需要在这些组件的 pom.xml 中添加以下依赖项:

    <dependency>
            <groupId>org.apache.camel</groupId>
            <artifactId>camel-google-calendar</artifactId>
            <version>2.23.0</version>
    </dependency>

119.1. URI 格式

Google Calendar 组件使用以下 URI 格式:

        google-calendar-stream://index?[options]