59.3. 자동 구성된 Camel 기본 사항
Camel CDI는 모든 CDI 빈에 삽입할 수 있는 공통 Camel 프리미티브에 대한 빈을 제공합니다. 예를 들면 다음과 같습니다.
@Inject @Uri("direct:inbound") ProducerTemplate producerTemplate; @Inject @Uri("direct:inbound") FluentProducerTemplate fluentProducerTemplate; @Inject MockEndpoint outbound; // URI defaults to the member name, i.e. mock:outbound @Inject @Uri("direct:inbound") Endpoint endpoint; @Inject TypeConverter converter;