当前位置:网站首页>Some problems in using message queue service in thinkphp6
Some problems in using message queue service in thinkphp6
2022-06-10 10:05:00 【Still waters flow deep】
In today's thinkphp Use the extension of the official message queue .
thinkphp-queue
Of course, it's easy to use . It's not very complicated . Used to use . There are two problems when I use it suddenly today . Write it down specifically . In the future, I will have time to see in detail whether the extension was rewritten by the official or caused by some problems .
1.class not exists: queue
Because when it uses the facade , Returned to yes queque, But extending the namespace of internal files does think\queque So I return to the new class again .

2. There are no commands defined in the "queue" namespace.
When listening . Such problems as reporting errors . The general meaning is that the custom directive does not exist in the current namespace .

Define the instruction and its corresponding namespace again .
Both of the above are very simple questions . I don't know whether it was the official change or my local settings . But I also created a new project locally , There is no problem using it again . In the follow-up, I am looking for the root cause of the problem in detail . If someone encounters a problem similar to mine , You can refer to my process .
边栏推荐
- HMM details + examples
- 怎么办理艺术品备案?办理艺术品备案要准备哪些材料?
- 无心剑中译拜伦诗4首
- R language plot visualization: plot to visualize the box graph, and use the quartilemethod parameter to customize the calculation method of the quantile of the box graph (basic boxplot)
- R语言plotly可视化:plotly可视化箱图、使用quartilemethod参数自定义设置箱图分位数的计算方法(Basic Boxplot)
- 浏览器禁止缓存讲解
- 【图像特征提取】基于matlab脉冲耦合神经网络(PCNN)图像特征提取【含Matlab源码 1868期】
- 618 is coming. Is it too time-consuming to generate a large number of coupons? Threadpooltaskexecutor thread pool helps you
- 1143. longest common subsequence
- Demand and business model innovation - demand 15- demand specification
猜你喜欢

QChart笔记1:简单线性图LineSeries

【边缘检测】基于matlab八方向sobel图像边缘检测【含Matlab源码 1865期】

Genius! Only use four integers to write a snake game!

HPCA名人堂成员蒋晓维博士,任职大禹智芯首席科学家

Requirements and business model analysis - Requirements 17- requirements management

Basic process of program compilation

axure弹框设置

在thinkphp6中使用消息队列服务遇到的几个问题

SQL server always on monitoring script and some misunderstandings

What should we pay attention to when developing, designing and building the reward task source code
随机推荐
SAP 云平台多目标应用 Multi-Target Application 的开发技术介绍
Example 5 of lambda expression
Ce soir - là, j'ai battu mon collègue...
在启牛开户安全么,买股票怎么网上开户
Lambda expression
Mongodb publishes "queryable encryption" system
R语言使用lmPerm包应用于线性模型的置换方法(置换检验、permutation tests)、使用lm模型构建多项式回归模型、使用lmp函数生成置换检验多项式回归模型
R语言plotly可视化:plotly可视化箱图、使用quartilemethod参数自定义设置箱图分位数的计算方法(Basic Boxplot)
PostgreSQL cost model
China in Classics - I
On how T-level interactive development shines on our hands
2022劳务员-岗位技能(劳务员)考试试题及答案
Google Earth Engine(GEE)——GPWv411:平均行政单位面积数据集
Flutter:自定义单选按钮
ES6 new feature class
无心剑中译拜伦诗4首
无心剑中译里尔克《秋日》
Lambda表达式例一
【730. 统计不同回文子序列】
Radiolisttile is displayed in row of the shutter