288.16. Spring Boot Auto-Configuration

コンポーネントは、以下に記載される 85 個のオプションをサポートします。

名前説明デフォルトタイプ

camel.component.salesforce.authentication-type

使用する明示的な認証方法で、USERNAME_PASSWORD、REFRESH_TOKEN、または JWT のいずれかです。Salesforce コンポーネントは、プロパティーセットから使用する認証方法を自動決定できます。このプロパティーを設定してあいまいさを排除します。

 

AuthenticationType

camel.component.salesforce.client-id

Salesforce インスタンス設定で設定された接続アプリケーションの OAuth コンシューマーキー。通常、接続アプリケーションを設定する必要がありますが、パッケージをインストールすることで提供できます。

 

String

camel.component.salesforce.client-secret

Salesforce インスタンス設定で設定された接続アプリケーションの OAuth コンシューマーシークレット。

 

String

camel.component.salesforce.config.apex-method

APEX メソッド名

 

String

camel.component.salesforce.config.apex-query-params

APEX メソッドのクエリーパラメーター

 

Map

camel.component.salesforce.config.apex-url

APEX メソッドの URL

 

String

camel.component.salesforce.config.api-version

Salesforce API バージョン、デフォルトは SalesforceEndpointConfig.DEFAULT_VERSION

 

String

camel.component.salesforce.config.approval

Approval API の承認リクエスト。@param 承認

 

ApprovalRequest

camel.component.salesforce.config.approval-action-type

実行するアクションの種類 (Submit、Approve、または Reject) を表します。@param アクションタイプ

 

ApprovalRequest$Action

camel.component.salesforce.config.approval-comments

このリクエストに関連付けられた履歴ステップに追加するコメント。@param コメント

 

String

camel.component.salesforce.config.approval-context-actor-id

承認レコードを要求している送信者の ID。@param contextActorId

 

String

camel.component.salesforce.config.approval-context-id

操作対象のアイテムの ID。@param contextId

 

String

camel.component.salesforce.config.approval-next-approver-ids

次回承認の指定が必要な処理の場合、次回申請を担当するユーザーの ID。@param nextApproverIds

 

List

camel.component.salesforce.config.approval-process-definition-name-or-id

プロセス定義の開発者名または ID。@param processDefinitionNameOrId

 

String

camel.component.salesforce.config.approval-skip-entry-criteria

プロセス定義名または ID が null でない場合に、プロセスの開始条件を評価するか (true)、否か (false) を決定します。プロセス定義名または ID が指定されていない場合、この引数は無視され、プロセスの順序に基づいて標準の評価が行われます。デフォルトでは、このリクエストで設定されていない場合、エントリー基準はスキップされません。@param skipEntryCriteria

 

Boolean

camel.component.salesforce.config.backoff-increment

CometD 自動再接続を超えた失敗に対するストリーミング接続の再起動を試みるバックオフ間隔の増分。

 

Long

camel.component.salesforce.config.batch-id

Bulk API バッチ ID

 

String

camel.component.salesforce.config.content-type

Bulk API コンテンツタイプ。XML、CSV、ZIP_XML、ZIP_CSV のいずれかです

 

ContentType

camel.component.salesforce.config.default-replay-id

initialReplayIdMap に値が見つからない場合のデフォルトの replayId 設定

 

Long

camel.component.salesforce.config.format

Salesforce API 呼び出しに使用するペイロード形式 (JSON または XML) のデフォルトは JSON です

 

PayloadFormat

camel.component.salesforce.config.http-client

Salesforce への接続に使用するカスタム Jetty Http クライアント。

 

SalesforceHttpClient

camel.component.salesforce.config.include-details

Salesforce1 Analytics レポートに詳細を含めます。デフォルトは false です。

 

Boolean

camel.component.salesforce.config.initial-replay-id-map

チャンネル名ごとに開始する Replay ID。

 

Map

camel.component.salesforce.config.instance-id

Salesforce1 Analytics レポート実行インスタンス ID

 

String

camel.component.salesforce.config.job-id

Bulk API ジョブ ID

 

String

camel.component.salesforce.config.limit

返されるレコード数の制限。一部の API に適用されます。Salesforce のドキュメントを確認してください。

 

Integer

camel.component.salesforce.config.max-backoff

CometD 自動再接続を超えた障害に対するストリーミング接続の再起動試行の最大バックオフ間隔。

 

Long

camel.component.salesforce.config.not-found-behaviour

Salesforce API から受信した 404 not found ステータスの動作を設定します。本文を NULL NotFoundBehaviour#NULL に設定する必要があるか、エクスチェンジで例外を通知する必要があります NotFoundBehaviour#EXCEPTION - デフォルト。

 

NotFoundBehaviour

camel.component.salesforce.config.notify-for-fields

フィールドの通知、オプションは ALL、REFERENCED、SELECT、WHERE です

 

NotifyForFieldsEnum

camel.component.salesforce.config.notify-for-operation-create

作成操作を通知します。デフォルトは false (API バージョン = 29.0) です

 

Boolean

camel.component.salesforce.config.notify-for-operation-delete

削除操作を通知します。デフォルトは false (API バージョン = 29.0) です

 

Boolean

camel.component.salesforce.config.notify-for-operation-undelete

削除取り消し操作を通知します。デフォルトは false (API バージョン = 29.0) です

 

Boolean

camel.component.salesforce.config.notify-for-operation-update

更新操作を通知します。デフォルトは false (API バージョン = 29.0) です

 

Boolean

camel.component.salesforce.config.notify-for-operations

操作を通知します。オプションは ALL、CREATE、EXTENDED、UPDATE (API バージョン 29.0) です

 

NotifyForOperations 列挙

camel.component.salesforce.config.object-mapper

Salesforce オブジェクトをシリアライズ/デシリアライズするときに使用するカスタム Jackson ObjectMapper。

 

ObjectMapper

camel.component.salesforce.config.raw-payload

DTO の代わりに、リクエストとレスポンス (形式に応じて JSON または XML) に Raw ペイロード文字列を使用します。デフォルトでは false です

false

Boolean

camel.component.salesforce.config.report-id

Salesforce1 Analytics レポート ID

 

String

camel.component.salesforce.config.report-metadata

フィルタリング用の Salesforce1 Analytics レポートのメタデータ

 

ReportMetadata

camel.component.salesforce.config.result-id

Bulk API の結果 ID

 

String

camel.component.salesforce.config.s-object-blob-field-name

SObject blob フィールド名

 

String

camel.component.salesforce.config.s-object-class

完全修飾 SObject クラス名。通常は camel-salesforce-maven-plugin を使用して生成されます

 

String

camel.component.salesforce.config.s-object-fields

取得する SObject フィールド

 

String

camel.component.salesforce.config.s-object-id

API で必要な場合は SObject ID

 

String

camel.component.salesforce.config.s-object-id-name

sObject 外部 ID 項目名

 

String

camel.component.salesforce.config.s-object-id-value

sObject 外部 ID 項目の値

 

String

camel.component.salesforce.config.s-object-name

API で必要またはサポートされている場合の sObject 名

 

String

camel.component.salesforce.config.s-object-query

Salesforce SOQL クエリー文字列

 

String

camel.component.salesforce.config.s-object-search

Salesforce SOSL 検索文字列

 

String

camel.component.salesforce.config.serialize-nulls

指定された DTO の NULL 値を空 (NULL) 値でシリアル化する必要があります。これは、JSON データ形式のみに影響します。

false

Boolean

camel.component.salesforce.config.update-topic

ストリーミング API の使用時に既存のプッシュトピックを更新するかどうか。デフォルトは false です

false

Boolean

camel.component.salesforce.enabled

Salesforce コンポーネントを有効にする

true

Boolean

camel.component.salesforce.http-client-properties

基になる HTTP クライアントで設定できるプロパティーを設定するために使用されます。利用可能なすべてのオプションについては、SalesforceHttpClient と Jetty HttpClient のプロパティーを参照してください。

 

Map

camel.component.salesforce.http-proxy-auth-uri

HTTP プロキシーサーバーに対する認証で使用されます。httpProxyUsername と httpProxyPassword を認証に使用するには、プロキシーサーバーの URI と一致する必要があります。

 

String

camel.component.salesforce.http-proxy-excluded-addresses

HTTP プロキシーサーバーを使用しないアドレスのリスト。

 

Set

camel.component.salesforce.http-proxy-host

使用する HTTP プロキシーサーバーのホスト名。

 

String

camel.component.salesforce.http-proxy-included-addresses

HTTP プロキシーサーバーを使用するアドレスのリスト。

 

Set

camel.component.salesforce.http-proxy-password

HTTP プロキシーサーバーに対する認証に使用するパスワード。

 

String

camel.component.salesforce.http-proxy-port

使用する HTTP プロキシーサーバーのポート番号。

 

Integer

camel.component.salesforce.http-proxy-realm

HTTP プロキシーサーバーに対するプリエンプティブ Basic/Digest 認証方式で使用される、プロキシーサーバーのレルム。

 

String

camel.component.salesforce.http-proxy-use-digest-auth

true に設定すると、HTTP プロキシーへの認証時にダイジェスト認証が使用されます。それ以外の場合は、基本認証方法が使用されます

false

Boolean

camel.component.salesforce.http-proxy-username

HTTP プロキシーサーバーに対する認証に使用するユーザー名。

 

String

camel.component.salesforce.instance-url

認証後に使用される Salesforce インスタンスの URL。デフォルトでは、認証の成功時に Salesforce から受信されます

 

String

camel.component.salesforce.is-http-proxy-secure

false に設定すると、HTTP プロキシーへのアクセス時に TLS の使用が無効になります。

true

Boolean

camel.component.salesforce.is-http-proxy-socks4

true に設定すると、SOCKS4 プロキシーとして使用するように HTTP プロキシーが設定されます。

false

Boolean

camel.component.salesforce.keystore

OAuth JWT フローで使用する KeyStore パラメーター。KeyStore には、秘密鍵と証明書を含むエントリーを 1 つだけ含める必要があります。Salesforce は証明書チェーンを検証しないため、これは簡単に自己署名証明書になる可能性があります。対応する接続アプリケーションに証明書をアップロードしていることを確認してください。オプションは org.apache.camel.util.jsse.KeyStoreParameters タイプです。

 

String

camel.component.salesforce.lazy-login

true に設定すると、コンポーネントの開始時にコンポーネントが Salesforce に対して認証されなくなります。通常、これを (デフォルトの) false に設定し、早期に認証して、認証の問題をすぐに認識します。

false

Boolean

camel.component.salesforce.login-config.client-id

Salesforce 接続アプリケーションコンシューマーキー

 

String

camel.component.salesforce.login-config.client-secret

Salesforce 接続アプリケーションコンシューマーシークレット

 

String

camel.component.salesforce.login-config.instance-url

  

String

camel.component.salesforce.login-config.keystore

OAuth 2.0 JWT ベアラートークンフローに必要な証明書と秘密鍵を含むキーストアのキーストアパラメーター。

 

KeyStoreParameters

camel.component.salesforce.login-config.lazy-login

遅延 OAuth を有効/無効にするフラグ。デフォルトは false です。有効にすると、最初の API 呼び出しまで OAuth トークンの取得または生成は行われません

 

Boolean

camel.component.salesforce.login-config.login-url

Salesforce ログイン URL、デフォルトは https://login.salesforce.com

 

String

camel.component.salesforce.login-config.password

Salesforce アカウントのパスワード

 

String

camel.component.salesforce.login-config.refresh-token

Salesforce 接続アプリケーションコンシューマートークン

 

String

camel.component.salesforce.login-config.type

  

AuthenticationType

camel.component.salesforce.login-config.user-name

Salesforce アカウントのユーザー名

 

String

camel.component.salesforce.login-url

認証に使用される Salesforce インスタンスの URL。デフォルトでは https://login.salesforce.com に設定されています。

https://login.salesforce.com

String

camel.component.salesforce.long-polling-transport-properties

ストリーミング API によって使用される BayeuxClient (CometD) によって使用される LongPollingTransport で設定できる任意のプロパティーを設定するために使用されます

 

Map

camel.component.salesforce.packages

生成された DTO クラスが含まれているパッケージ。通常、クラスは camel-salesforce-maven-plugin を使用して生成されます。生成された DTO を使用して、パラメーター/ヘッダー値で短い SObject 名を使用する利点を得る場合に設定します。

 

String[]

camel.component.salesforce.password

アクセストークンにアクセスするために OAuth フローで使用されるパスワード。パスワード OAuth フローは簡単に開始できますが、他のフローよりも安全性が低いと見なされるため、一般的には避けるべきです。セキュリティートークンを使用する場合は、パスワードの末尾にセキュリティートークンを追加してください。

 

String

camel.component.salesforce.refresh-token

リフレッシュトークン OAuth フローですでに取得されているリフレッシュトークン。Web アプリケーションをセットアップして、リフレッシュトークンを受け取るコールバック URL を設定するか、https://login.salesforce.com/services/oauth2/success または https://test.salesforce.com/services/oauth2/success で組み込みのコールバックを使用して設定し、フローの最後で URL から refresh_token を取得する必要があります。開発組織では、Salesforce がコールバック Web アプリケーションを localhost でホストすることを許可していることに注意してください。

 

String

camel.component.salesforce.resolve-property-placeholders

起動時にコンポーネントがプロパティープレースホルダーを解決するかどうか。String タイプのプロパティーのみがプロパティープレースホルダーを使用できます。

true

Boolean

camel.component.salesforce.ssl-context-parameters

使用する SSL パラメーター。使用可能なすべてのオプションについては、SSLContextParameters クラスを参照してください。このオプションは org.apache.camel.util.jsse.SSLContextParameters タイプです。

 

String

camel.component.salesforce.use-global-ssl-context-parameters

グローバル SSL コンテキストパラメーターの使用を有効にします

false

Boolean

camel.component.salesforce.user-name

アクセストークンにアクセスするために OAuth フローで使用されるユーザー名。パスワード OAuth フローは簡単に開始できますが、他のフローよりも安全性が低いと見なされるため、一般的には避けるべきです。

 

String