|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.axonframework.eventhandling.amqp.DefaultAMQPConsumerConfiguration
public class DefaultAMQPConsumerConfiguration
Implementation of the AMQPConsumerConfiguration that allows the Queue Name to be configured. The configuration specifies an exclusive consumer and no explicit prefetch count.
| Field Summary |
|---|
| Fields inherited from interface org.axonframework.eventhandling.amqp.AMQPConsumerConfiguration |
|---|
AMQP_CONFIG_PROPERTY |
| Constructor Summary | |
|---|---|
DefaultAMQPConsumerConfiguration(String queueName)
Initializes the configuration with the given queueName. |
|
| Method Summary | |
|---|---|
Boolean |
getExclusive()
Indicates whether this Cluster wishes to be an exclusive consumer on a Queue. |
Integer |
getPrefetchCount()
Indicates how many messages this Cluster's connector may read read from the Queue before expecting messages to be acknowledged. |
String |
getQueueName()
Returns the Queue Name the Cluster should be connected to, or null if no explicit cluster is
configured. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DefaultAMQPConsumerConfiguration(String queueName)
queueName.
queueName - The name of the Queue a cluster should connect to| Method Detail |
|---|
public String getQueueName()
AMQPConsumerConfigurationnull if no explicit cluster is
configured.
getQueueName in interface AMQPConsumerConfigurationnull to revert to a defaultpublic Boolean getExclusive()
AMQPConsumerConfigurationnull indicated that
no explicit preference is provided, and a default should be used.
getExclusive in interface AMQPConsumerConfigurationpublic Integer getPrefetchCount()
AMQPConsumerConfigurationnull means no specific value is provided and a default should be used.
getPrefetchCount in interface AMQPConsumerConfiguration
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||