Class TerminusOptions<E extends TerminusOptions<E>>

java.lang.Object
org.apache.qpid.protonj2.client.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 Object
Base options type for configuration of Source and Target types used by Sender and Receiver end points.
  • Constructor Details

    • TerminusOptions

      public TerminusOptions()
  • Method Details

    • 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 String[] capabilities()
      Returns:
      the capabilities
    • capabilities

      public E capabilities(String... capabilities)
      Parameters:
      capabilities - the capabilities to set
      Returns:
      this options instance.
    • copyInto

      protected void copyInto(TerminusOptions<E> other)