Skip to content

Commit 8a28c72

Browse files
committed
AC-14558::Migration form RabbitMQ to Apache ActiveMQ
1 parent a675909 commit 8a28c72

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed

dev/tests/integration/_files/Magento/TestModuleMessageQueueConfiguration/etc/communication.xml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,4 +22,9 @@
2222
</topic>
2323
<topic name="anotherTopic1" request="string"/>
2424
<topic name="anotherTopic2" request="string"/>
25+
26+
<!-- Stomp topics -->
27+
<topic name="stomp.topic.declaration" request="string">
28+
<handler name="handler1" type="Magento\TestModuleMessageQueueConfiguration\AsyncHandler" method="methodWithStringParam"/>
29+
</topic>
2530
</config>

dev/tests/integration/_files/Magento/TestModuleMessageQueueConfiguration/etc/queue.xml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,4 +19,9 @@
1919
<broker topic="overlapping.topic.declaration" exchange="overlappingDeprecatedExchange">
2020
<queue consumer="overlappingConsumerDeclaration" name="consumer.config.queue" consumerInstance="Magento\Framework\MessageQueue\BatchConsumer" maxMessages="222" handler="Magento\TestModuleMessageQueueConfiguration\AsyncHandler::methodWithMixedParam"/>
2121
</broker>
22+
23+
<!-- Stomp brokers -->
24+
<broker topic="stomp.topic.declaration">
25+
<queue consumer="stompConsumerDeclaration" name="stomp.consumer.config.queue" consumerInstance="Magento\Framework\MessageQueue\BatchConsumer" maxMessages="222" handler="Magento\TestModuleMessageQueueConfiguration\AsyncHandler::methodWithMixedParam"/>
26+
</broker>
2227
</config>

0 commit comments

Comments
 (0)