Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 9 additions & 2 deletions source/Ansible-Protocol-Core/AmqpQueueDeclareBuilder.class.st
Original file line number Diff line number Diff line change
Expand Up @@ -26,12 +26,19 @@ AmqpQueueDeclareBuilder >> autoDelete [
autoDelete := true
]

{ #category : 'configuring' }
{ #category : 'configuring - deprecated' }
AmqpQueueDeclareBuilder >> beDurable [

self deprecated: 'Deprecated as queues are initialized as durable by default'.
durable := true
]

{ #category : 'configuring' }
AmqpQueueDeclareBuilder >> beTransient [

durable := false
]

{ #category : 'configuring' }
AmqpQueueDeclareBuilder >> beExclusive [

Expand Down Expand Up @@ -64,7 +71,7 @@ AmqpQueueDeclareBuilder >> initializeFor: aProtocolVersion [
protocolVersion := aProtocolVersion.
"Initialize default values."
queueName := ''.
durable := false.
durable := true.
exclusive := false.
autoDelete := false.
passive := false.
Expand Down