Class TerminusOptions<E extends TerminusOptions<E>>

  • Type Parameters:
    E - the subclass that implements this terminus options type.
    Direct Known Subclasses:
    SourceOptions, TargetOptions

    public abstract class TerminusOptions<E extends TerminusOptions<E>>
    extends java.lang.Object
    Base options type for configuration of Source and Target types used by Sender and Receiver end points.
    • Constructor Detail

      • TerminusOptions

        public TerminusOptions()
    • Method Detail

      • durabilityMode

        public DurabilityMode durabilityMode()
        Returns:
        the durabilityMode
      • durabilityMode

        public E durabilityMode​(DurabilityMode durabilityMode)
        Parameters:
        durabilityMode - the durabilityMode to set
        Returns:
        this options instance.
      • timeout

        public long timeout()
        Returns:
        the timeout
      • timeout

        public E timeout​(long timeout)
        Parameters:
        timeout - the timeout to set
        Returns:
        this options instance.
      • expiryPolicy

        public ExpiryPolicy expiryPolicy()
        Returns:
        the expiryPolicy
      • expiryPolicy

        public E expiryPolicy​(ExpiryPolicy expiryPolicy)
        Parameters:
        expiryPolicy - the expiryPolicy to set
        Returns:
        this options instance.
      • capabilities

        public java.lang.String[] capabilities()
        Returns:
        the capabilities
      • capabilities

        public E capabilities​(java.lang.String... capabilities)
        Parameters:
        capabilities - the capabilities to set
        Returns:
        this options instance.