User Tools

Site Tools


typo3-message-bus-rabbitmq

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
typo3-message-bus-rabbitmq [2023/11/11 18:20] admintypo3-message-bus-rabbitmq [2023/11/12 01:34] (current) admin
Line 46: Line 46:
         # Exchange options: https://github.com/symfony/amqp-messenger/blob/6.3/Transport/Connection.php#L74-L80         # Exchange options: https://github.com/symfony/amqp-messenger/blob/6.3/Transport/Connection.php#L74-L80
         exchange:         exchange:
-          type: direct+          type: fanout
  
     tags:     tags:
Line 60: Line 60:
 // Unset the default, so that it no longer applies // Unset the default, so that it no longer applies
 unset($GLOBALS['TYPO3_CONF_VARS']['SYS']['messenger']['routing']['*']); unset($GLOBALS['TYPO3_CONF_VARS']['SYS']['messenger']['routing']['*']);
-// Set Webhook-Messages and DynamicsMessage to asynchronous transport via doctrine+// Set Webhook-Messages and DynamicsMessage to asynchronous transport via RabbitMQ
 foreach ([WebhookMessageInterface::class, MyCustomMessage::class] as $className) { foreach ([WebhookMessageInterface::class, MyCustomMessage::class] as $className) {
     $GLOBALS['TYPO3_CONF_VARS']['SYS']['messenger']['routing'][$className] = 'amqp'; // The tags identifier defines in Configuration/Services.yaml     $GLOBALS['TYPO3_CONF_VARS']['SYS']['messenger']['routing'][$className] = 'amqp'; // The tags identifier defines in Configuration/Services.yaml
typo3-message-bus-rabbitmq.1699723259.txt.gz · Last modified: 2023/11/11 18:20 by admin