@UriEndpoint(firstVersion="2.17.0",
scheme="ignite-queue",
title="Ignite Queues",
syntax="ignite-queue:[name]",
label="nosql,cache",
producerOnly=true)
public class IgniteQueueEndpoint
extends AbstractIgniteEndpoint
component| Constructor and Description |
|---|
IgniteQueueEndpoint(String endpointUri,
String remaining,
Map<String,Object> parameters,
IgniteQueueComponent igniteComponent) |
IgniteQueueEndpoint(String endpointUri,
URI remainingUri,
Map<String,Object> parameters,
IgniteComponent igniteComponent)
Deprecated.
|
| 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, isSingleton, isTreatCollectionsAsCacheObjects, setPropagateIncomingBodyIfNoReturnValue, setTreatCollectionsAsCacheObjectsconfigureConsumer, configurePollingConsumer, configureProperties, createEndpointConfiguration, createEndpointUri, createExchange, createExchange, createExchange, createPollingConsumer, doStart, 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, toStringdoResume, doShutdown, doSuspend, getStatus, getVersion, isRunAllowed, isStarted, isStarting, isStopped, isStopping, isStoppingOrStopped, isSuspended, isSuspending, isSuspendingOrSuspended, resume, shutdown, start, stop, suspend@Deprecated public IgniteQueueEndpoint(String endpointUri, URI remainingUri, Map<String,Object> parameters, IgniteComponent igniteComponent) throws Exception
Exceptionpublic org.apache.camel.Consumer createConsumer(org.apache.camel.Processor processor)
throws Exception
Exceptionpublic String getName()
public void setName(String name)
name - public IgniteQueueOperation getOperation()
public void setOperation(IgniteQueueOperation operation)
operation - public int getCapacity()
public void setCapacity(int capacity)
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.
configuration - public Long getTimeoutMillis()
public void setTimeoutMillis(Long timeoutMillis)
timeoutMillis - Apache Camel