43.11. Chrony Recent Items API 사용
최근 항목을 가져오려면 salesforce:recent
작업을 사용합니다. 이 작업은 org.apache.camel.component.salesforce.api.dto.RecentItem
개체(List<RecentItem> )의
를 반환하고, 그 결과 java.util.List
Id
,Name
및 Attributes
( 유형
및 URL
속성 포함)가 포함됩니다. 반환할 최대 레코드 수로 설정된 limit
매개변수를 지정하여 반환된 항목의 수를 제한할 수 있습니다. 예를 들면 다음과 같습니다.
from("direct:fetchRecentItems") to("salesforce:recent") .split().body() .log("${body.name} at ${body.attributes.url}");
from("direct:fetchRecentItems")
to("salesforce:recent")
.split().body()
.log("${body.name} at ${body.attributes.url}");