Class SourceOptions

  • All Implemented Interfaces:
    java.lang.Cloneable

    public final class SourceOptions
    extends TerminusOptions<SourceOptions>
    implements java.lang.Cloneable
    Options type that carries configuration for link Source types.
    • Field Detail

      • DEFAULT_RECEIVER_OUTCOME

        public static final ClientDeliveryState DEFAULT_RECEIVER_OUTCOME
        The default AMQP Outcome that will be specified for all new Receiver instances.
    • Constructor Detail

      • SourceOptions

        public SourceOptions()
    • Method Detail

      • clone

        public SourceOptions clone()
        Overrides:
        clone in class java.lang.Object
      • distributionMode

        public DistributionMode distributionMode()
        Returns:
        the distributionMode
      • filters

        public java.util.Map<java.lang.String,​java.lang.String> filters()
        Returns:
        the filters
      • filters

        public SourceOptions filters​(java.util.Map<java.lang.String,​java.lang.String> filters)
        Parameters:
        filters - the filters to set
        Returns:
        this SourceOptions instance.
      • defaultOutcome

        public SourceOptions defaultOutcome​(DeliveryState defaultOutcome)
        Parameters:
        defaultOutcome - The default outcome to assign to the created link source.
        Returns:
        this SourceOptions instance.
      • outcomes

        public DeliveryState.Type[] outcomes()
        Returns:
        the currently configured supported outcomes to be used on the create link.