This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
| typo3-message-bus-rabbitmq [2023/11/11 15:28] – created admin | typo3-message-bus-rabbitmq [2023/11/12 00:34] (current) – admin | ||
|---|---|---|---|
| Line 24: | Line 24: | ||
| ddev composer req symfony/ | ddev composer req symfony/ | ||
| </ | </ | ||
| + | |||
| + | Configure the '' | ||
| + | |||
| + | <code yaml Configuration/ | ||
| + | services: | ||
| + | Symfony\Component\Messenger\Bridge\Amqp\Transport\AmqpTransportFactory: | ||
| + | public: true | ||
| + | Symfony\Component\Messenger\Bridge\Amqp\Transport\AmqpTransport: | ||
| + | factory: [ ' | ||
| + | arguments: | ||
| + | # You may want to store this in a environment variable. | ||
| + | # Example: amqp://< | ||
| + | $dsn: ' | ||
| + | # For all available options see https:// | ||
| + | $options: | ||
| + | auto_setup: true | ||
| + | # Queue options https:// | ||
| + | queues: | ||
| + | MagicRabbit: | ||
| + | flags: 2 | ||
| + | # Exchange options: https:// | ||
| + | exchange: | ||
| + | type: fanout | ||
| + | |||
| + | tags: | ||
| + | - name: ' | ||
| + | identifier: ' | ||
| + | - name: ' | ||
| + | identifier: ' | ||
| + | </ | ||
| + | |||
| + | Use the '' | ||
| + | |||
| + | <code php ext_localconf.php> | ||
| + | // Unset the default, so that it no longer applies | ||
| + | unset($GLOBALS[' | ||
| + | // Set Webhook-Messages and DynamicsMessage to asynchronous transport via RabbitMQ | ||
| + | foreach ([WebhookMessageInterface:: | ||
| + | $GLOBALS[' | ||
| + | } | ||
| + | </ | ||
| + | |||
| + | For more details see: | ||
| + | |||
| + | * https:// | ||
| + | * https:// | ||