Class HazelcastSedaConfiguration
- java.lang.Object
-
- org.apache.camel.component.hazelcast.seda.HazelcastSedaConfiguration
-
@UriParams public class HazelcastSedaConfiguration extends Object
Hazelcast SEDA Component configuration.
-
-
Constructor Summary
Constructors Constructor Description HazelcastSedaConfiguration()
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description int
getConcurrentConsumers()
int
getOnErrorDelay()
int
getPollInterval()
Deprecated.use pollTimeout insteadint
getPollTimeout()
String
getQueueName()
boolean
isTransacted()
boolean
isTransferExchange()
void
setConcurrentConsumers(int concurrentConsumers)
To use concurrent consumers polling from the SEDA queue.void
setOnErrorDelay(int onErrorDelay)
Milliseconds before consumer continues polling after an error has occurred.void
setPollInterval(int pollInterval)
Deprecated.use pollTimeout insteadvoid
setPollTimeout(int pollTimeout)
The timeout used when consuming from the SEDA queue.void
setQueueName(String queueName)
void
setTransacted(boolean transacted)
If set to true then the consumer runs in transaction mode, where the messages in the seda queue will only be removed if the transaction commits, which happens when the processing is complete.void
setTransferExchange(boolean transferExchange)
If set to true the whole Exchange will be transfered.
-
-
-
Method Detail
-
getConcurrentConsumers
public int getConcurrentConsumers()
-
getQueueName
public String getQueueName()
-
setQueueName
public void setQueueName(String queueName)
-
setConcurrentConsumers
public void setConcurrentConsumers(int concurrentConsumers)
To use concurrent consumers polling from the SEDA queue.
-
getPollInterval
@Deprecated public int getPollInterval()
Deprecated.use pollTimeout instead
-
setPollInterval
@Deprecated public void setPollInterval(int pollInterval)
Deprecated.use pollTimeout instead
-
getPollTimeout
public int getPollTimeout()
-
setPollTimeout
public void setPollTimeout(int pollTimeout)
The timeout used when consuming from the SEDA queue. When a timeout occurs, the consumer can check whether it is allowed to continue running. Setting a lower value allows the consumer to react more quickly upon shutdown.
-
isTransferExchange
public boolean isTransferExchange()
-
setOnErrorDelay
public void setOnErrorDelay(int onErrorDelay)
Milliseconds before consumer continues polling after an error has occurred.
-
getOnErrorDelay
public int getOnErrorDelay()
-
setTransferExchange
public void setTransferExchange(boolean transferExchange)
If set to true the whole Exchange will be transfered. If header or body contains not serializable objects, they will be skipped.
-
isTransacted
public boolean isTransacted()
-
setTransacted
public void setTransacted(boolean transacted)
If set to true then the consumer runs in transaction mode, where the messages in the seda queue will only be removed if the transaction commits, which happens when the processing is complete.
-
-