我正在尝试将pubsub节点的通知类型设置为" normal"而不是"标题"。我知道xep-060中有一个名为" pubsub#notification_type"但是当我尝试在创建时使用配置表单设置该属性时,我收到错误。下面是我的代码片段
ConfigureForm form = new ConfigureForm(DataForm.Type.submit);
form.setAccessModel(AccessModel.open);
form.setDeliverPayloads(true);
form.setNotifyRetract(true);
form.setPersistentItems(false);
form.setPublishModel(PublishModel.open);
form.setAnswer("pubsub#notification_type", "normal");
node = (LeafNode)pubSubMgr.createNode(bean.getGroupId(), form);
有人可以指导我如何在创建节点时设置通知类型吗?