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
FieldsModifier and TypeFieldDescriptionstatic final ClientDeliveryStateThe default AMQP Outcome that will be specified for all newReceiverinstances. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()protected SourceOptionscopyInto(SourceOptions other) Copy all options from thisSourceOptionsinstance 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 newReceiverinstances.
-
-
Constructor Details
-
SourceOptions
public SourceOptions()
-
-
Method Details
-
clone
-
copyInto
Copy all options from thisSourceOptionsinstance into the instance provided.- Parameters:
other- the target of this copy operation.- Returns:
- this
SourceOptionsinstance.
-
distributionMode
- Returns:
- the distributionMode
-
distributionMode
- Parameters:
distributionMode- the distributionMode to set- Returns:
- this
SourceOptionsinstance.
-
filters
- Returns:
- the filters
-
filters
- Parameters:
filters- the filters to set- Returns:
- this
SourceOptionsinstance.
-
defaultOutcome
- Returns:
- the configured default outcome as a
DeliveryStateinstance.
-
defaultOutcome
- Parameters:
defaultOutcome- The default outcome to assign to the created link source.- Returns:
- this
SourceOptionsinstance.
-
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
SourceOptionsinstance.
-