Skip to content

[WIP][Messenger] Multiple queue support + prioritization #30699

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 2 commits into from
Closed
Show file tree
Hide file tree
Changes from 1 commit
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
Next Next commit
making method private
  • Loading branch information
weaverryan committed Mar 26, 2019
commit b74fc64c861ba8d5d96e13d9fdbee35472ea530a
1 change: 1 addition & 0 deletions src/Symfony/Component/Messenger/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ CHANGELOG
4.3.0
-----

* [BC BREAK]: The `Connection::exchange()` method for Amqp was made private.
* New classes: `RoutableMessageBus`, `AddBusNameStampMiddleware`
and `BusNameStamp` were added, which allow you to add a bus identifier
to the `Envelope` then find the correct bus when receiving from
Expand Down
12 changes: 6 additions & 6 deletions src/Symfony/Component/Messenger/Transport/AmqpExt/Connection.php
Original file line number Diff line number Diff line change
Expand Up @@ -343,7 +343,12 @@ public function queue(): \AMQPQueue
return $this->amqpQueue;
}

public function exchange(): \AMQPExchange
public function getConnectionConfiguration(): array
{
return $this->connectionConfiguration;
}

private function exchange(): \AMQPExchange
{
if (null === $this->amqpExchange) {
$this->amqpExchange = $this->amqpFactory->createExchange($this->channel());
Expand All @@ -359,11 +364,6 @@ public function exchange(): \AMQPExchange
return $this->amqpExchange;
}

public function getConnectionConfiguration(): array
{
return $this->connectionConfiguration;
}

private function clear(): void
{
$this->amqpChannel = null;
Expand Down