Class QosSettings

java.lang.Object
org.springframework.jms.support.QosSettings

public class QosSettings extends Object
Gather the Quality-of-Service settings that can be used when sending a message.
Since:
5.0
Author:
Stephane Nicoll
  • Constructor Summary

    Constructors
    Constructor
    Description
    Create a new instance with the default settings.
    QosSettings(int deliveryMode, int priority, long timeToLive)
    Create a new instance with the specified settings.
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    equals(Object other)
     
    int
    Return the delivery mode to use when sending a message.
    int
    Return the priority of a message when sending.
    long
    Return the time-to-live of the message when sending.
    int
     
    void
    setDeliveryMode(int deliveryMode)
    Set the delivery mode to use when sending a message.
    void
    setPriority(int priority)
    Set the priority of a message when sending.
    void
    setTimeToLive(long timeToLive)
    Set the time-to-live of the message when sending.
     

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait