@Metadata(label="spring,configuration")
public class CamelProxyFactoryDefinition
extends org.apache.camel.model.IdentifiedType
Constructor and Description |
---|
CamelProxyFactoryDefinition() |
Modifier and Type | Method and Description |
---|---|
Boolean |
getBinding() |
String |
getCamelContextId() |
Class<?> |
getServiceInterface() |
String |
getServiceRef() |
String |
getServiceUrl() |
void |
setBinding(Boolean binding)
Camel parameter binding is enabled by default, which will use binding information from the method signature
parameters to bind to the Exchange/Message with the following annotations.
|
void |
setCamelContextId(String camelContextId)
The id of the CamelContext to use, if there is multiple CamelContext in the same JVM.
|
void |
setServiceInterface(Class<?> serviceInterface)
Java interfaces to use as facade for the service to be proxied
|
void |
setServiceRef(String serviceRef)
Deprecated.
use serviceUrl instead with the ref endpoint.
|
void |
setServiceUrl(String serviceUrl)
The camel endpoint uri used to send the message to when calling the service from the interface.
|
public String getServiceUrl()
public void setServiceUrl(String serviceUrl)
public String getServiceRef()
public void setServiceRef(String serviceRef)
public Class<?> getServiceInterface()
public void setServiceInterface(Class<?> serviceInterface)
public String getCamelContextId()
public void setCamelContextId(String camelContextId)
public Boolean getBinding()
public void setBinding(Boolean binding)
org.apache.camel.component.bean.CamelInvocationHandler
is used.Apache Camel