228.6.2. listAll

탭 구분된 스트림의 모든 파일 이름과 해당 ID를 나열하는 리더를 반환합니다.

// from("direct:listAll").to("mongodb-gridfs?database=tickets&operation=listAll");
Reader result = template.requestBodyAndHeader("direct:listAll", "irrelevantBody");

filename1.txt   1252314321
filename2.txt   2897651254