Skip to content

Commit

Permalink
修复
Browse files Browse the repository at this point in the history
  • Loading branch information
Yurunsoft committed Mar 29, 2022
1 parent 867aeb1 commit 2651f49
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Base/Traits/TAMQP.php
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,7 @@ protected function getConnection(): AbstractConnection
$poolName = null;
if (null === $this->poolName)
{
$class = BeanFactory::getObjectClass($this);
$connectionConfig = AnnotationManager::getClassAnnotations($class, Connection::class)[0] ?? null;
$connectionByPool = false;
if ($connectionConfig)
Expand Down

0 comments on commit 2651f49

Please sign in to comment.