@UriEndpoint(scheme="xmlrpc",
title="XML RPC",
syntax="xmlrpc:address",
producerOnly=true,
label="transformation")
public class XmlRpcEndpoint
extends org.apache.camel.impl.DefaultEndpoint
Constructor and Description |
---|
XmlRpcEndpoint() |
XmlRpcEndpoint(String uri,
XmlRpcComponent component,
String address) |
Modifier and Type | Method and Description |
---|---|
org.apache.xmlrpc.client.XmlRpcClient |
createClient() |
org.apache.camel.Consumer |
createConsumer(org.apache.camel.Processor processor) |
org.apache.camel.Producer |
createProducer() |
protected void |
doStart() |
String |
getAddress() |
org.apache.xmlrpc.client.XmlRpcClientConfigImpl |
getClientConfig() |
XmlRpcClientConfigurer |
getClientConfigurer() |
XmlRpcConfiguration |
getConfiguration() |
String |
getDefaultMethodName() |
boolean |
isSingleton() |
void |
setAddress(String address)
The server url
|
void |
setClientConfig(org.apache.xmlrpc.client.XmlRpcClientConfigImpl config)
To use the given XmlRpcClientConfigImpl as configuration for the client.
|
void |
setClientConfigurer(XmlRpcClientConfigurer configurer)
To use a custom XmlRpcClientConfigurer to configure the client
|
void |
setConfiguration(XmlRpcConfiguration configuration) |
void |
setDefaultMethodName(String defaultMethodName)
The method name which would be used for the xmlrpc requests by default, if the Message header CamelXmlRpcMethodName is not set.
|
configureConsumer, configurePollingConsumer, configureProperties, createEndpointConfiguration, createEndpointUri, createExchange, createExchange, createExchange, createPollingConsumer, doStop, equals, getCamelContext, getComponent, getConsumerProperties, getEndpointConfiguration, getEndpointKey, getEndpointUri, getExceptionHandler, getExchangePattern, getId, getPollingConsumerBlockTimeout, getPollingConsumerQueueSize, hashCode, isBridgeErrorHandler, isLenientProperties, isPollingConsumerBlockWhenFull, isSynchronous, setBridgeErrorHandler, setCamelContext, setConsumerProperties, setEndpointConfiguration, setEndpointUri, setEndpointUriIfNotSpecified, setExceptionHandler, setExchangePattern, setPollingConsumerBlockTimeout, setPollingConsumerBlockWhenFull, setPollingConsumerQueueSize, setProperties, setSynchronous, toString
doResume, doShutdown, doSuspend, getStatus, getVersion, isRunAllowed, isStarted, isStarting, isStopped, isStopping, isStoppingOrStopped, isSuspended, isSuspending, isSuspendingOrSuspended, resume, shutdown, start, stop, suspend
public XmlRpcEndpoint()
public XmlRpcEndpoint(String uri, XmlRpcComponent component, String address)
public org.apache.camel.Consumer createConsumer(org.apache.camel.Processor processor) throws Exception
Exception
public boolean isSingleton()
public org.apache.xmlrpc.client.XmlRpcClient createClient() throws MalformedURLException
MalformedURLException
public String getAddress()
public void setAddress(String address)
public XmlRpcClientConfigurer getClientConfigurer()
public void setClientConfigurer(XmlRpcClientConfigurer configurer)
public void setClientConfig(org.apache.xmlrpc.client.XmlRpcClientConfigImpl config)
public org.apache.xmlrpc.client.XmlRpcClientConfigImpl getClientConfig()
public String getDefaultMethodName()
public void setDefaultMethodName(String defaultMethodName)
public XmlRpcConfiguration getConfiguration()
public void setConfiguration(XmlRpcConfiguration configuration)
Apache Camel