以下网址记录了常用命令:
https://blog.youkuaiyun.com/shaoyunzhe/article/details/96461703
启动插件代码:
rabbitmq-plugins enable rabbitmq_mqtt
》》 需要重启生效
测试环节:
此网站代码给出了一个javaGUI测试工具,非常好用
https://blog.youkuaiyun.com/chenbo163/article/details/78742218
TextUtils.isEmpty()的实现如下:
/**
* Returns true if the string is null or 0-length.
* @param str the string to be examined
* @return true if str is null or zero length
*/
public static boolean isEmpty(CharSequence str) {
if (str == null || str.length() == 0)
return true;
else
return false;
}