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.IdentifiedType
Used 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 String
getCamelContextId()
String
getMethod()
Class<?>
getServiceInterface()
String
getServiceRef()
String
getUri()
void
setCamelContextId(String camelContextId)
The id of the CamelContext to use, if there is multiple CamelContext in the same JVM.void
setMethod(String method)
Name of method to invoke on servicevoid
setServiceInterface(Class<?> serviceInterface)
Java interfaces to use as facade for the service to be exportedvoid
setServiceRef(String serviceRef)
Reference to the service name to lookup in the registry.void
setUri(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.
-
-