@Named(value="cxf_cdi_xml_app") public class Application extends Object
ImportResource annotation.
The imported Camel XML file configures a Camel context that references CDI beans declared in this class.| Constructor and Description |
|---|
Application() |
| Modifier and Type | Method and Description |
|---|---|
org.apache.camel.component.cxf.CxfEndpoint |
createCxfConsumer() |
org.apache.camel.component.cxf.CxfEndpoint |
createCxfProducer() |
org.apache.camel.Processor |
createGreetingsProcessor() |
@Named(value="greetingsProcessor") @Produces public org.apache.camel.Processor createGreetingsProcessor()
@Named(value="cxfConsumer") @Produces public org.apache.camel.component.cxf.CxfEndpoint createCxfConsumer()
@Named(value="cxfProducer") @Produces public org.apache.camel.component.cxf.CxfEndpoint createCxfProducer()
Copyright © 2019. All rights reserved.