Paho:添加其他订阅

时间:2019-11-27 08:01:42

标签: java mqtt paho

我正在使用ERROR in src/app/signup/signup.component.html(77,78): Property 'customLoadingTemplate' does not exist on type 'SignupComponent'. src/app/signin/signin.component.html(48,78): Property 'customLoadingTemplate' does not exist on type 'SigninComponent'. src/app/questionseven/questionseven.component.html(15,41): Expected 1 arguments, but got 0. src/app/addemployee/addemployee.component.html(157,78): Property 'customLoadingTemplate' does not exist on type 'AddemployeeComponent'. src/app/editemployee/editemployee.component.html(164,78): Property 'customLoadingTemplate' does not exist on type 'EditemployeeComponent'. src/app/editemployee/editemployee.component.html(311,53): Property 'buttonDisabled' does not exist on type 'EditemployeeComponent'. src/app/editemployee/editemployee.component.html(322,50): Property 'buttonDisabled' does not exist on type 'EditemployeeComponent'. src/app/editemployee/editemployee.component.html(332,11): Property 'buttonDisabled' does not exist on type 'EditemployeeComponent'. src/app/editemployee/editemployee.component.html(15,24): Property 'personalInfo' does not exist on type 'EditemployeeComponent'. src/app/editemployee/editemployee.component.html(173,54): Property 'PersonalInfoClicked' does not exist on type 'EditemployeeComponent'. src/app/employees/employees.component.html(91,80): Property 'customLoadingTemplate' does not exist on type 'EmployeesComponent'. src/app/employeeposition/employeeposition.component.html(136,74): Property 'customLoadingTemplate' does not exist on type 'EmployeepositionComponent'. src/app/employeedepartment/employeedepartment.component.html(135,76): Property 'customLoadingTemplate' does not exist on type 'EmployeedepartmentComponent'. src/app/banks/banks.component.html(136,76): Property 'customLoadingTemplate' does not exist on type 'BanksComponent'. 1.2.2的最新Java版本。

我创建了一个客户端,现在,我想向其动态添加 多个订阅。

Paho

当前,该代码似乎在第二个订阅语句处阻塞。

我知道我可以将数组传递给subscription方法,但是我想动态添加预订(例如,方法A中的预订,方法B中的第二个,...)。

0 个答案:

没有答案