ARTEMIS-1645 fix typo in DivertTest

This commit is contained in:
Justin Bertram 2018-02-02 14:24:26 -06:00 committed by Clebert Suconic
parent f4e8051675
commit 8b64ca183a
1 changed files with 1 additions and 1 deletions

View File

@ -356,7 +356,7 @@ public class DivertTest extends ActiveMQTestBase {
System.out.println("Received message " + message);
assertNotNull(message);
if (message.getStringProperty(Message.HDR_ORIGINAL_QUEUE).equals("queue1")) {
if (message.getStringProperty(Message.HDR_ORIGINAL_QUEUE).equals("divert1")) {
countOriginal1++;
} else if (message.getStringProperty(Message.HDR_ORIGINAL_QUEUE).equals("queue2")) {
countOriginal2++;