public class VertxComponent
extends org.apache.camel.impl.UriEndpointComponent
implements org.apache.camel.spi.EndpointCompleter
Constructor and Description |
---|
VertxComponent() |
VertxComponent(org.apache.camel.CamelContext context) |
Modifier and Type | Method and Description |
---|---|
List<String> |
completeEndpointPath(org.apache.camel.ComponentConfiguration componentConfiguration,
String text) |
protected org.apache.camel.Endpoint |
createEndpoint(String uri,
String remaining,
Map<String,Object> parameters) |
protected void |
doStart() |
protected void |
doStop() |
String |
getHost() |
int |
getPort() |
int |
getTimeout() |
io.vertx.core.Vertx |
getVertx() |
io.vertx.core.spi.VertxFactory |
getVertxFactory() |
io.vertx.core.VertxOptions |
getVertxOptions() |
void |
setHost(String host)
Hostname for creating an embedded clustered EventBus
|
void |
setPort(int port)
Port for creating an embedded clustered EventBus
|
void |
setTimeout(int timeout)
Timeout in seconds to wait for clustered Vertx EventBus to be ready.
|
void |
setVertx(io.vertx.core.Vertx vertx)
To use the given vertx EventBus instead of creating a new embedded EventBus
|
void |
setVertxFactory(io.vertx.core.spi.VertxFactory vertxFactory)
To use a custom VertxFactory implementation
|
void |
setVertxOptions(io.vertx.core.VertxOptions vertxOptions)
Options to use for creating vertx
|
createComponentConfiguration, createParameterConfigurationMap, getEndpointClass, getParameterConfigurationMap, populateParameterConfigurationMap, setEndpointClass
afterConfiguration, createConfiguration, createEndpoint, getAndRemoveOrResolveReferenceParameter, getAndRemoveOrResolveReferenceParameter, getAndRemoveParameter, getAndRemoveParameter, getCamelContext, getExtension, getSupportedExtensions, ifStartsWithReturnRemainder, isResolvePropertyPlaceholders, preProcessUri, registerExtension, registerExtension, resolveAndRemoveReferenceListParameter, resolveAndRemoveReferenceListParameter, resolveAndRemoveReferenceParameter, resolveAndRemoveReferenceParameter, setCamelContext, setProperties, setProperties, setResolvePropertyPlaceholders, useIntrospectionOnEndpoint, useRawUri, validateParameters, validateURI
public VertxComponent()
public VertxComponent(org.apache.camel.CamelContext context)
public io.vertx.core.spi.VertxFactory getVertxFactory()
public void setVertxFactory(io.vertx.core.spi.VertxFactory vertxFactory)
public String getHost()
public void setHost(String host)
public int getPort()
public void setPort(int port)
public io.vertx.core.VertxOptions getVertxOptions()
public void setVertxOptions(io.vertx.core.VertxOptions vertxOptions)
public io.vertx.core.Vertx getVertx()
public void setVertx(io.vertx.core.Vertx vertx)
public int getTimeout()
public void setTimeout(int timeout)
protected org.apache.camel.Endpoint createEndpoint(String uri, String remaining, Map<String,Object> parameters) throws Exception
createEndpoint
in class org.apache.camel.impl.DefaultComponent
Exception
public List<String> completeEndpointPath(org.apache.camel.ComponentConfiguration componentConfiguration, String text)
completeEndpointPath
in interface org.apache.camel.spi.EndpointCompleter
protected void doStart() throws Exception
doStart
in class org.apache.camel.impl.DefaultComponent
Exception
Apache Camel