Package org.apache.qpid.protonj2.client
Class SourceOptions
java.lang.Object
org.apache.qpid.protonj2.client.TerminusOptions<SourceOptions>
org.apache.qpid.protonj2.client.SourceOptions
- All Implemented Interfaces:
Cloneable
Options type that carries configuration for link Source types.
-
Field Summary
Modifier and TypeFieldDescriptionstatic final ClientDeliveryState
The default AMQP Outcome that will be specified for all newReceiver
instances. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionclone()
protected SourceOptions
copyInto
(SourceOptions other) Copy all options from thisSourceOptions
instance into the instance provided.defaultOutcome
(DeliveryState defaultOutcome) distributionMode
(DistributionMode distributionMode) filters()
outcomes()
outcomes
(DeliveryState.Type... outcomes) Methods inherited from class org.apache.qpid.protonj2.client.TerminusOptions
capabilities, capabilities, copyInto, durabilityMode, durabilityMode, expiryPolicy, expiryPolicy, timeout, timeout
-
Field Details
-
DEFAULT_RECEIVER_OUTCOME
The default AMQP Outcome that will be specified for all newReceiver
instances.
-
-
Constructor Details
-
SourceOptions
public SourceOptions()
-
-
Method Details
-
clone
-
copyInto
Copy all options from thisSourceOptions
instance into the instance provided.- Parameters:
other
- the target of this copy operation.- Returns:
- this
SourceOptions
instance.
-
distributionMode
- Returns:
- the distributionMode
-
distributionMode
- Parameters:
distributionMode
- the distributionMode to set- Returns:
- this
SourceOptions
instance.
-
filters
- Returns:
- the filters
-
filters
- Parameters:
filters
- the filters to set- Returns:
- this
SourceOptions
instance.
-
defaultOutcome
- Returns:
- the configured default outcome as a
DeliveryState
instance.
-
defaultOutcome
- Parameters:
defaultOutcome
- The default outcome to assign to the created link source.- Returns:
- this
SourceOptions
instance.
-
outcomes
- Returns:
- the currently configured supported outcomes to be used on the create link.
-
outcomes
- Parameters:
outcomes
- The supported outcomes for the link createdSource
.- Returns:
- this
SourceOptions
instance.
-