-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #44 from ba-st/fanout-binding
Enhance RabbitMQ clients to support Fanout Exchanges
- Loading branch information
Showing
8 changed files
with
395 additions
and
61 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
25 changes: 25 additions & 0 deletions
25
source/Ansible-Deprecated-v3/RabbitMQPublisher.extension.st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
Extension { #name : 'RabbitMQPublisher' } | ||
|
||
{ #category : '*Ansible-Deprecated-v3' } | ||
RabbitMQPublisher >> publish: aMessageCollection onQueueNamed: aQueueName [ | ||
|
||
self | ||
deprecated: 'Use confirmPublicationWith:otherwise:' | ||
transformWith: | ||
'`@receiver publish: `@aMessageCollection onQueueNamed: `@aQueueName' | ||
-> '`@receiver publishAll: `@aMessageCollection to: `@aQueueName'. | ||
|
||
self publishAll: aMessageCollection to: aQueueName | ||
] | ||
|
||
{ #category : '*Ansible-Deprecated-v3' } | ||
RabbitMQPublisher >> publishOnly: aMessage onQueueNamed: aQueueName [ | ||
|
||
self | ||
deprecated: 'Use confirmPublicationWith:otherwise:' | ||
transformWith: | ||
'`@receiver publishOnly: `@aMessage onQueueNamed: `@aQueueName' | ||
-> '`@receiver publish: `@aMessage to: `@aQueueName'. | ||
|
||
self publish: aMessage to: aQueueName | ||
] |
Oops, something went wrong.