215.5. Lumberjack Usage Samples
215.5.1. 예: 로그 메시지 스트리밍 링크 복사링크가 클립보드에 복사되었습니다!
링크 복사링크가 클립보드에 복사되었습니다!
RouteBuilder builder = new RouteBuilder() {
public void configure() {
from("lumberjack:0.0.0.0"). // Listen on all network interfaces using the default port
setBody(simple("${body[message]}")). // Select only the log message
to("stream:out"); // Write it into the output stream
}
};