10.5. 예
다음 예제는 테스트에서 가져온 것입니다.
from("atmos:foo/get?remotePath=/path").to("mock:test");
from("atmos:foo/get?remotePath=/path").to("mock:test");
				다음은 소비자 예제입니다. remotePath 는 데이터를 읽고 생산자 Underneath와 관련하여 camel 교환을 전달하는 경로를 나타냅니다. 이 구성 요소는 atmos 클라이언트 API를 이 작업 및 기타 모든 작업에 사용합니다.
			
from("direct:start")
.to("atmos://get?remotePath=/dummy/dummy.txt")
.to("mock:result");
from("direct:start")
.to("atmos://get?remotePath=/dummy/dummy.txt")
.to("mock:result");
				여기에 프로듀서 샘플이 있습니다. remotePath 는 ViPR 오브젝트 데이터 서비스에서 작업이 발생하는 경로를 나타냅니다. 생산자에서 작업(Get,Del,Move,Put)을 ViPR 오브젝트 데이터 서비스에서 실행하고 결과는 camel 교환 헤더에 설정됩니다.
			
작업과 관련하여 다음 헤더는 camel exhange에 설정됩니다.
DOWNLOADED_FILE, DOWNLOADED_FILES, UPLOADED_FILE, UPLOADED_FILES, FOUND_FILES, DELETED_PATH, MOVED_PATH;
DOWNLOADED_FILE, DOWNLOADED_FILES, UPLOADED_FILE, UPLOADED_FILES, FOUND_FILES, DELETED_PATH, MOVED_PATH;