@@ -93,6 +93,9 @@ public function testShouldSendMessageInstanceAsCommandWithoutNeedForReply()
9393 'enqueue.processor_name ' => RouterProcessor::class,
9494 'enqueue.command_name ' => 'theCommand ' ,
9595 'enqueue.processor_queue_name ' => 'default ' ,
96+ // compatibility with 0.9x
97+ 'enqueue.command ' => 'theCommand ' ,
98+ 'enqueue.topic ' => '__command__ ' ,
9699 ], $ traces [0 ]['properties ' ]);
97100 }
98101
@@ -116,6 +119,9 @@ public function testShouldSendExclusiveCommandWithNeedForReply()
116119 'enqueue.processor_name ' => 'theExclusiveCommandName ' ,
117120 'enqueue.command_name ' => 'theExclusiveCommandName ' ,
118121 'enqueue.processor_queue_name ' => 'the_exclusive_command_queue ' ,
122+ // compatibility with 0.9x
123+ 'enqueue.command ' => 'theExclusiveCommandName ' ,
124+ 'enqueue.topic ' => '__command__ ' ,
119125 ], $ traces [0 ]['properties ' ]);
120126 }
121127
@@ -139,6 +145,9 @@ public function testShouldSendMessageInstanceCommandWithNeedForReply()
139145 'enqueue.processor_name ' => RouterProcessor::class,
140146 'enqueue.command_name ' => 'theCommand ' ,
141147 'enqueue.processor_queue_name ' => 'default ' ,
148+ // compatibility with 0.9x
149+ 'enqueue.command ' => 'theCommand ' ,
150+ 'enqueue.topic ' => '__command__ ' ,
142151 ], $ traces [0 ]['properties ' ]);
143152 }
144153
0 commit comments