avro 데이터 형식을 사용하는 것은 경로에서 마샬링 또는 축소 해제하려는 클래스를 지정하는 것처럼 쉽습니다.
AvroDataFormat format = new AvroDataFormat(Value.SCHEMA$);
from("direct:in").marshal(format).to("direct:marshal");
from("direct:back").unmarshal(format).to("direct:unmarshal");
AvroDataFormat format = new AvroDataFormat(Value.SCHEMA$);
from("direct:in").marshal(format).to("direct:marshal");
from("direct:back").unmarshal(format).to("direct:unmarshal");
Copy to ClipboardCopied!Toggle word wrapToggle overflow