org.axonframework.eventhandling.amqp
Interface AMQPConsumerConfiguration

All Known Implementing Classes:
DefaultAMQPConsumerConfiguration, SpringAMQPConsumerConfiguration

public interface AMQPConsumerConfiguration

Author:
Allard Buijze

Field Summary
static String AMQP_CONFIG_PROPERTY
          The key of the property in the Cluster Meta Data that reflects the AMQPConsumerConfiguration instance for that cluster
 
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.
 

Field Detail

AMQP_CONFIG_PROPERTY

static final String AMQP_CONFIG_PROPERTY
The key of the property in the Cluster Meta Data that reflects the AMQPConsumerConfiguration instance for that cluster

See Also:
Constant Field Values
Method Detail

getQueueName

String getQueueName()
Returns the Queue Name the Cluster should be connected to, or null if no explicit cluster is configured.

Returns:
the Queue the cluster should be connected to, or null to revert to a default

getExclusive

Boolean getExclusive()
Indicates whether this Cluster wishes to be an exclusive consumer on a Queue. null indicated that no explicit preference is provided, and a default should be used.

Returns:
the exclusivity indicator for this cluster

getPrefetchCount

Integer getPrefetchCount()
Indicates how many messages this Cluster's connector may read read from the Queue before expecting messages to be acknowledged. null means no specific value is provided and a default should be used.

Returns:
the number of messages a Cluster's connector may read ahead before waiting for acknowledgements.


Copyright © 2010-2016. All Rights Reserved.