yiisoft/yii2-queue
Yii2 Queue runs tasks asynchronously via pluggable queue backends: DB, Redis, RabbitMQ/AMQP, Beanstalk, ActiveMQ, and Gearman. Define jobs as classes implementing JobInterface and push them to the queue for background processing.
???̃h???C?o?? ActiveMQ ?L???[?œ??삵?܂??B
enqueue/stomp ?p?b?P?[?W??K?v?Ƃ??܂??B
?????:
return [
'bootstrap' => [
'queue', // ?R???|?[?l???g?????g?̃R???\?[???E?R?}???h??o?^???܂?
],
'components' => [
'queue' => [
'class' => \yii\queue\stomp\Queue::class,
'host' => 'localhost',
'port' => 61613,
'queueName' => 'queue',
],
],
];
?L???[?ɓ????ꂽ?W???u?????s???邽?߂ɃR????[???E?R?}???h???g?p????܂??B
yii queue/listen [timeout]
listen ?R?}???h?͖????ɃL???[?ב?????f?[???????N?????܂??B?L???[?ɐV?????^?X?N??????ƁA?????Ɏ擾????A???s????܂??B
timeout ?p?????[?^?̓L???[?ׂ?Ԃ̃X???[?v?̕b?????w?肷????̂ł??B
???̃R?}???h?? supervisor ?܂??? systemd ?ɂ???ēK?Ƀf?[??????????̂??A
?ł??????I?ȕ??@?ł??B
How can I help you explore Laravel packages today?