0
from("direct:A")
.process(//processing here)
.recipientList(//expression that return two recipients [direct:B, direct:C])
from("direct:B")
.process(//processing here)...
from("direct:C")
.process(//processing here)...
.from("direct:A")
이 process()
에 계속 호출하는 스레드 즉 자바 메소드와 같이 동작합니다 앞으로 recipientList 방법.낙타는 메시지
위의 경우 어떻게됩니까?
는 스레드 t1
통화 from("direct:A")
다음
t1
이 process()
에 계속 생각한 다음 t1
통화 from("direct:B")
에-병동 것이다 t1
여기에서 지금 recipientList()
에 입력 한 다음 동 기적으로 from("direct:C")
를 호출합니다
또는
direct:b
및 direct:c
은 두 개의 새 스레드에서 비동기 적으로 호출됩니다.