383.3. unmarshal
이 예에서는 MY_QUEUE라는 ActiveMQ 큐에서 원래 형식으로 압축된 페이로드를 분리하고 처리를 위해 UnZippedMessageProcessor로 전달합니다. 마샬링 중에 사용되는 압축 수준은 오류를 방지하기 위해 unmarshalling 중에 사용된 것과 동일해야 합니다.
from("activemq:queue:MY_QUEUE").unmarshal().zip().process(new UnZippedMessageProcessor());
from("activemq:queue:MY_QUEUE").unmarshal().zip().process(new UnZippedMessageProcessor());