本文介绍了如何在安慰中删除带有Semp的客户端的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何通过semp在solace中删除客户端.我尝试如下操作:

How remove client by semp in solace.I try it like follows:

<rpc xmlns="http://www.solacesystems.com/semp/topic_routing/d35m1">
<no><client-username><username>user1</username>    
<vpn-name>jiavpn</vpn-name>   </client-username></no></rpc>

但它提醒我不允许通过消息总线上的SEMP命令",它和SEMP TOPIC有关系吗,我的主题是#SEMP/soalce1/SHOW.感谢您的回答

but it alert me "Command is not allowed via SEMP over the message bus",did it have some relation with the SEMP TOPIC,my topic is #SEMP/soalce1/SHOW.thanks for answer

推荐答案

以下两个都是无法通过消息总线执行的SEMP命令.

Both of the following are SEMP commands that cannot be executed over the message bus.

删除客户端用户名:

<rpc xmlns="http://www.solacesystems.com/semp/topic_routing/d35m1">
    <no>
        <client-username>
            <username>user1</username>    
            <vpn-name>jiavpn</vpn-name>   
        </client-username>
    </no>
</rpc>

断开客户端连接:

<rpc semp-version="soltr/7_1_1">
    <admin>
        <client>
           <name>jiajie</name>
           <vpn-name>jiajievpn‌​</vpn-name>
           <disconnect/>
        </client>
   </admin>
</rpc>

仅有限的命令子集可用于通过消息总线的SEMP.完整列表可在通过消息总线命令获得SEMP .请注意,文档中目前存在一个错误,该错误将在下一个主要版本中修复-尽管文档如此说明,但不允许通过消息总线断开客户端的连接.

Only a limited subset of commands are available for SEMP over message bus.The complete list can be found in Available SEMP Over Message Bus Commands.Note that there is currently an error in the documentation that will be fixed in the next major release - Disconnecting clients are not allowed via message bus despite the documentation saying so.

这篇关于如何在安慰中删除带有Semp的客户端的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

09-22 23:19