@@ -93,6 +93,9 @@ public function testShouldSendMessageInstanceAsCommandWithoutNeedForReply()
93
93
'enqueue.processor_name ' => RouterProcessor::class,
94
94
'enqueue.command_name ' => 'theCommand ' ,
95
95
'enqueue.processor_queue_name ' => 'default ' ,
96
+ // compatibility with 0.9x
97
+ 'enqueue.command ' => 'theCommand ' ,
98
+ 'enqueue.topic ' => '__command__ ' ,
96
99
], $ traces [0 ]['properties ' ]);
97
100
}
98
101
@@ -116,6 +119,9 @@ public function testShouldSendExclusiveCommandWithNeedForReply()
116
119
'enqueue.processor_name ' => 'theExclusiveCommandName ' ,
117
120
'enqueue.command_name ' => 'theExclusiveCommandName ' ,
118
121
'enqueue.processor_queue_name ' => 'the_exclusive_command_queue ' ,
122
+ // compatibility with 0.9x
123
+ 'enqueue.command ' => 'theExclusiveCommandName ' ,
124
+ 'enqueue.topic ' => '__command__ ' ,
119
125
], $ traces [0 ]['properties ' ]);
120
126
}
121
127
@@ -139,6 +145,9 @@ public function testShouldSendMessageInstanceCommandWithNeedForReply()
139
145
'enqueue.processor_name ' => RouterProcessor::class,
140
146
'enqueue.command_name ' => 'theCommand ' ,
141
147
'enqueue.processor_queue_name ' => 'default ' ,
148
+ // compatibility with 0.9x
149
+ 'enqueue.command ' => 'theCommand ' ,
150
+ 'enqueue.topic ' => '__command__ ' ,
142
151
], $ traces [0 ]['properties ' ]);
143
152
}
144
153
0 commit comments