Package es.kukenan.smartfi.amqp.config
Class AmqpProperties
java.lang.Object
es.kukenan.smartfi.amqp.config.AmqpProperties
@PropertySource("classpath:amqp-config.properties")
@Configuration
public class AmqpProperties
extends Object
Properties to configure AMPQ.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate BooleanTopic exchange to publish, autodelete property.private BooleanTopic exchange to publish, durable property.private StringTopic exchange to bind the queue to.Topic exchange to bind the queue to.private BooleanExchange to publish, autodelete property.private BooleanExchange to publish, durable property.private StringExchange to bind the deadletter queue to.private StringName of routing keys defined to bind the deadletter queue.private BooleanIf false do not requeue messages that are rejected (they must be sent to the dead-letter exchange).private StringTopic exchange to publish to.private StringThe name of the queue this service binds to the exchange. -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
producerExchangeName
Topic exchange to publish to. -
consumerExchangeDurable
Topic exchange to publish, durable property. -
consumerExchangeAutodelete
Topic exchange to publish, autodelete property. -
queueName
The name of the queue this service binds to the exchange. -
defaultRequeueRejected
If false do not requeue messages that are rejected (they must be sent to the dead-letter exchange). -
consumerExchangeName
Topic exchange to bind the queue to. -
consumerRoutingKey
@Value("#{\'${consumer.binding.routingKeys}\'.split(\',\')}") private List<String> consumerRoutingKeyTopic exchange to bind the queue to. -
deadletterExchangeName
Exchange to bind the deadletter queue to. -
deadletterExchangeDurable
Exchange to publish, durable property. -
deadletterExchangeAutodelete
Exchange to publish, autodelete property. -
deadletterRoutingKey
Name of routing keys defined to bind the deadletter queue.
-
-
Constructor Details
-
AmqpProperties
public AmqpProperties()
-