Class CxfEndpointUtils
java.lang.Object
org.apache.camel.component.cxf.jaxws.CxfEndpointUtils
-
Method Summary
Modifier and TypeMethodDescriptionstatic voidcheckServiceClassName(String className) static org.apache.cxf.BusCreate a CXF bus with either BusFactory or SpringBusFactory if Camel Context is SpringCamelContext.static StringgetEffectiveAddress(org.apache.camel.Exchange exchange, String defaultAddress) Get effective address for a client to invoke a service.static QNamestatic booleanhasAnnotation(Class<?> cls, Class<? extends Annotation> annotation) static booleanhasWebServiceAnnotation(Class<?> cls)
-
Method Details
-
getQName
-
hasWebServiceAnnotation
-
hasAnnotation
-
checkServiceClassName
- Throws:
org.apache.camel.CamelException
-
getEffectiveAddress
Get effective address for a client to invoke a service. It first looks for theExchange.DESTINATION_OVERRIDE_URLin the IN message header. If the header is not found, it will return the default address.- Parameters:
exchange-defaultAddress-
-
createBus
public static org.apache.cxf.Bus createBus()Create a CXF bus with either BusFactory or SpringBusFactory if Camel Context is SpringCamelContext. In the latter case, this method updates the bus configuration with the applicationContext which SpringCamelContext holds
-