diff --git a/core/lib/Drupal/Core/Queue/DatabaseQueue.php b/core/lib/Drupal/Core/Queue/DatabaseQueue.php
index 23060da..69ff16f 100644
--- a/core/lib/Drupal/Core/Queue/DatabaseQueue.php
+++ b/core/lib/Drupal/Core/Queue/DatabaseQueue.php
@@ -8,6 +8,7 @@
 namespace Drupal\Core\Queue;
 
 use Drupal\Core\Database\Connection;
+use Drupal\Core\DependencyInjection\DependencySerializationTrait;
 
 /**
  * Default queue implementation.
@@ -16,6 +17,8 @@
  */
 class DatabaseQueue implements ReliableQueueInterface {
 
+  use DependencySerializationTrait;
+
   /**
    * The name of the queue this instance is working with.
    *
