Package org.apache.camel.core.xml
Class CamelServiceExporterDefinition
- java.lang.Object
-
- org.apache.camel.model.IdentifiedType
-
- org.apache.camel.core.xml.CamelServiceExporterDefinition
-
@Metadata(label="spring,configuration") public class CamelServiceExporterDefinition extends org.apache.camel.model.IdentifiedTypeUsed for export a service using Spring Remoting to hide the network call using an interface.
-
-
Constructor Summary
Constructors Constructor Description CamelServiceExporterDefinition()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetCamelContextId()StringgetMethod()Class<?>getServiceInterface()StringgetServiceRef()StringgetUri()voidsetCamelContextId(String camelContextId)The id of the CamelContext to use, if there is multiple CamelContext in the same JVM.voidsetMethod(String method)Name of method to invoke on servicevoidsetServiceInterface(Class<?> serviceInterface)Java interfaces to use as facade for the service to be exportedvoidsetServiceRef(String serviceRef)Reference to the service name to lookup in the registry.voidsetUri(String uri)Camel endpoint uri to use a remote transport when calling the service
-
-
-
Method Detail
-
getUri
public String getUri()
-
setUri
public void setUri(String uri)
Camel endpoint uri to use a remote transport when calling the service
-
getServiceRef
public String getServiceRef()
-
setServiceRef
public void setServiceRef(String serviceRef)
Reference to the service name to lookup in the registry.
-
getMethod
public String getMethod()
-
setMethod
public void setMethod(String method)
Name of method to invoke on service
-
getServiceInterface
public Class<?> getServiceInterface()
-
setServiceInterface
public void setServiceInterface(Class<?> serviceInterface)
Java interfaces to use as facade for the service to be exported
-
getCamelContextId
public String getCamelContextId()
-
setCamelContextId
public void setCamelContextId(String camelContextId)
The id of the CamelContext to use, if there is multiple CamelContext in the same JVM.
-
-