All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.solace.spring.cloud.stream.binder.properties.SolaceCommonProperties Maven / Gradle / Ivy

There is a newer version: 5.0.1
Show newest version
package com.solace.spring.cloud.stream.binder.properties;

import com.solacesystems.jcsmp.EndpointProperties;
import lombok.Getter;
import lombok.Setter;

@Setter
@Getter
public class SolaceCommonProperties {
    /**
     * When set to true, messages will be received/sent using local transactions.
     * The maximum transaction size is 256 messages.
     */
    private boolean transacted = false;

    /**
     * Whether to provision durable queues for non-anonymous consumer groups.
     * This should only be set to false if you have externally pre-provisioned the required queue on the message broker.
     */
    private boolean provisionDurableQueue = true;

    /**
     * Whether to add the Destination as a subscription to queue during provisioning.
     */
    private boolean addDestinationAsSubscriptionToQueue = true;

    // Queue Properties -------
    /**
     * Access type for the consumer group queue.
     */
    private int queueAccessType = EndpointProperties.ACCESSTYPE_NONEXCLUSIVE;
    /**
     * Permissions for the consumer group queue.
     */
    private int queuePermission = EndpointProperties.PERMISSION_CONSUME;
    /**
     * If specified, whether to notify sender if a message fails to be enqueued to the consumer group queue.
     */
    private Integer queueDiscardBehaviour = null;
    /**
     * Sets the maximum message redelivery count on consumer group queue. (Zero means retry forever).
     */
    private Integer queueMaxMsgRedelivery = null;
    /**
     * Maximum message size for the consumer group queue.
     */
    private Integer queueMaxMsgSize = null;
    /**
     * Message spool quota for the consumer group queue.
     */
    private Integer queueQuota = null;
    /**
     * Whether the consumer group queue respects Message TTL.
     */
    private Boolean queueRespectsMsgTtl = null;
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy