@UriEndpoint(scheme="vertx",
title="Vert.x",
syntax="vertx:address",
consumerClass=VertxConsumer.class,
label="eventbus")
public class VertxEndpoint
extends org.apache.camel.impl.DefaultEndpoint
implements org.apache.camel.AsyncEndpoint, org.apache.camel.MultipleConsumersSupport
| Constructor and Description |
|---|
VertxEndpoint(String uri,
VertxComponent component,
String address) |
| Modifier and Type | Method and Description |
|---|---|
org.apache.camel.Consumer |
createConsumer(org.apache.camel.Processor processor) |
org.apache.camel.Producer |
createProducer() |
String |
getAddress() |
VertxComponent |
getComponent() |
io.vertx.core.eventbus.EventBus |
getEventBus() |
Boolean |
getPubSub() |
io.vertx.core.Vertx |
getVertx() |
boolean |
isMultipleConsumersSupported() |
boolean |
isPubSub() |
boolean |
isSingleton() |
void |
setAddress(String address)
Sets the event bus address used to communicate
|
void |
setPubSub(Boolean pubSub)
Whether to use publish/subscribe instead of point to point when sending to a vertx endpoint.
|
configureConsumer, configurePollingConsumer, configureProperties, createEndpointConfiguration, createEndpointUri, createExchange, createExchange, createExchange, createPollingConsumer, doStart, doStop, equals, getCamelContext, 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, toStringdoResume, doShutdown, doSuspend, getStatus, getVersion, isRunAllowed, isStarted, isStarting, isStopped, isStopping, isStoppingOrStopped, isSuspended, isSuspending, isSuspendingOrSuspended, resume, shutdown, start, stop, suspendclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic VertxEndpoint(String uri, VertxComponent component, String address)
public VertxComponent getComponent()
getComponent in class org.apache.camel.impl.DefaultEndpointpublic org.apache.camel.Producer createProducer()
throws Exception
createProducer in interface org.apache.camel.EndpointExceptionpublic org.apache.camel.Consumer createConsumer(org.apache.camel.Processor processor)
throws Exception
createConsumer in interface org.apache.camel.EndpointExceptionpublic boolean isSingleton()
isSingleton in interface org.apache.camel.IsSingletonpublic boolean isMultipleConsumersSupported()
isMultipleConsumersSupported in interface org.apache.camel.MultipleConsumersSupportpublic io.vertx.core.eventbus.EventBus getEventBus()
public io.vertx.core.Vertx getVertx()
public String getAddress()
public void setAddress(String address)
public boolean isPubSub()
public Boolean getPubSub()
public void setPubSub(Boolean pubSub)
Apache Camel