@UriEndpoint(firstVersion="2.17.0", scheme="ignite-compute", title="Ignite Compute", syntax="ignite-compute:endpointId", label="nosql,cache,compute", producerOnly=true) public class IgniteComputeEndpoint extends AbstractIgniteEndpoint
component
Constructor and Description |
---|
IgniteComputeEndpoint(String uri,
String remaining,
Map<String,Object> parameters,
IgniteComputeComponent igniteComponent) |
IgniteComputeEndpoint(String uri,
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.ignite.IgniteCompute |
createIgniteCompute() |
org.apache.camel.Producer |
createProducer() |
ClusterGroupExpression |
getClusterGroupExpression()
Gets the cluster group expression.
|
String |
getComputeName()
Gets the name of the compute job, which will be set via
IgniteCompute.withName(String) . |
String |
getEndpointId()
Gets the endpoint ID.
|
IgniteComputeExecutionType |
getExecutionType()
Gets the execution type of this producer.
|
String |
getTaskName()
Gets the task name, only applicable if using the
IgniteComputeExecutionType.EXECUTE execution type. |
Long |
getTimeoutMillis()
Gets the timeout interval for triggered jobs, in milliseconds, which will be set via
IgniteCompute.withTimeout(long) . |
void |
setClusterGroupExpression(ClusterGroupExpression clusterGroupExpression)
An expression that returns the Cluster Group for the IgniteCompute instance.
|
void |
setComputeName(String computeName)
The name of the compute job, which will be set via
IgniteCompute.withName(String) . |
void |
setEndpointId(String endpointId)
The endpoint ID (not used).
|
void |
setExecutionType(IgniteComputeExecutionType executionType)
The compute operation to perform.
|
void |
setTaskName(String taskName)
The task name, only applicable if using the
IgniteComputeExecutionType.EXECUTE execution type. |
void |
setTimeoutMillis(Long timeoutMillis)
The timeout interval for triggered jobs, in milliseconds, which will be set via
IgniteCompute.withTimeout(long) . |
ignite, igniteComponent, isPropagateIncomingBodyIfNoReturnValue, isSingleton, isTreatCollectionsAsCacheObjects, setPropagateIncomingBodyIfNoReturnValue, setTreatCollectionsAsCacheObjects
configureConsumer, 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, toString
doResume, doShutdown, doSuspend, getStatus, getVersion, isRunAllowed, isStarted, isStarting, isStopped, isStopping, isStoppingOrStopped, isSuspended, isSuspending, isSuspendingOrSuspended, resume, shutdown, start, stop, suspend
@Deprecated public IgniteComputeEndpoint(String uri, URI remainingUri, Map<String,Object> parameters, IgniteComponent igniteComponent) throws ClassNotFoundException
ClassNotFoundException
public IgniteComputeEndpoint(String uri, String remaining, Map<String,Object> parameters, IgniteComputeComponent igniteComponent) throws ClassNotFoundException
ClassNotFoundException
public org.apache.camel.Consumer createConsumer(org.apache.camel.Processor processor) throws Exception
Exception
public org.apache.ignite.IgniteCompute createIgniteCompute()
public String getEndpointId()
public void setEndpointId(String endpointId)
endpointId
- endpoint ID (not used)public ClusterGroupExpression getClusterGroupExpression()
public void setClusterGroupExpression(ClusterGroupExpression clusterGroupExpression)
clusterGroupExpression
- cluster group expressionpublic IgniteComputeExecutionType getExecutionType()
public void setExecutionType(IgniteComputeExecutionType executionType)
executionType
- public String getTaskName()
IgniteComputeExecutionType.EXECUTE
execution type.public void setTaskName(String taskName)
IgniteComputeExecutionType.EXECUTE
execution type.taskName
- public String getComputeName()
IgniteCompute.withName(String)
.public void setComputeName(String computeName)
IgniteCompute.withName(String)
.computeName
- public Long getTimeoutMillis()
IgniteCompute.withTimeout(long)
.public void setTimeoutMillis(Long timeoutMillis)
IgniteCompute.withTimeout(long)
.timeoutMillis
- Apache Camel