@UriEndpoint(firstVersion="2.17.0",
scheme="ignite-queue",
title="Ignite Queues",
syntax="ignite-queue:name",
category={MESSAGING,QUEUE},
producerOnly=true)
public class IgniteQueueEndpoint
extends AbstractIgniteEndpoint
| Constructor and Description |
|---|
IgniteQueueEndpoint(String endpointUri,
String remaining,
Map<String,Object> parameters,
IgniteQueueComponent igniteComponent) |
| Modifier and Type | Method and Description |
|---|---|
org.apache.camel.Consumer |
createConsumer(org.apache.camel.Processor processor) |
org.apache.camel.Producer |
createProducer() |
int |
getCapacity()
Gets the queue capacity.
|
org.apache.ignite.configuration.CollectionConfiguration |
getConfiguration()
Gets the collection configuration.
|
String |
getName()
Gets the queue name.
|
IgniteQueueOperation |
getOperation()
Gets the queue operation to perform.
|
Long |
getTimeoutMillis()
Gets the queue timeout in milliseconds.
|
void |
setCapacity(int capacity)
The queue capacity.
|
void |
setConfiguration(org.apache.ignite.configuration.CollectionConfiguration configuration)
The collection configuration.
|
void |
setName(String name)
The queue name.
|
void |
setOperation(IgniteQueueOperation operation)
The operation to invoke on the Ignite Queue.
|
void |
setTimeoutMillis(Long timeoutMillis)
The queue timeout in milliseconds.
|
ignite, igniteComponent, isPropagateIncomingBodyIfNoReturnValue, isTreatCollectionsAsCacheObjects, setPropagateIncomingBodyIfNoReturnValue, setTreatCollectionsAsCacheObjectsconfigureConsumer, configureExchange, configurePollingConsumer, configureProperties, createAsyncProducer, createEndpointUri, createExchange, createExchange, createPollingConsumer, doInit, doStart, doStop, equals, getCamelContext, getComponent, getEndpointKey, getEndpointUri, getExceptionHandler, getExchangePattern, getId, getPollingConsumerBlockTimeout, getPollingConsumerQueueSize, hashCode, isAutowiredEnabled, isBridgeErrorHandler, isLazyStartProducer, isLenientProperties, isPollingConsumerBlockWhenFull, isPollingConsumerCopy, isSingleton, setAutowiredEnabled, setBridgeErrorHandler, setCamelContext, setComponent, setEndpointUri, setEndpointUriIfNotSpecified, setExceptionHandler, setExchangePattern, setLazyStartProducer, setPollingConsumerBlockTimeout, setPollingConsumerBlockWhenFull, setPollingConsumerCopy, setPollingConsumerQueueSize, setProperties, toStringbuild, doBuild, doFail, doLifecycleChange, doResume, doShutdown, doSuspend, fail, getStatus, init, isBuild, isInit, isNew, isRunAllowed, isShutdown, isStarted, isStarting, isStartingOrStarted, isStopped, isStopping, isStoppingOrStopped, isSuspended, isSuspending, isSuspendingOrSuspended, resume, shutdown, start, stop, suspendclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic org.apache.camel.Consumer createConsumer(org.apache.camel.Processor processor)
throws Exception
Exceptionpublic String getName()
public void setName(String name)
public IgniteQueueOperation getOperation()
public void setOperation(IgniteQueueOperation operation)
public int getCapacity()
public void setCapacity(int capacity)
public org.apache.ignite.configuration.CollectionConfiguration getConfiguration()
public void setConfiguration(org.apache.ignite.configuration.CollectionConfiguration configuration)
You can also conveniently set inner properties by using configuration.xyz=123 options.
public Long getTimeoutMillis()
public void setTimeoutMillis(Long timeoutMillis)
Apache Camel