[英]How to add an attribute 'node-identifier' to transactions subsystem using jboss-cli?
There's an XML element in standalone-full.xml
: standalone-full.xml
有一个XML元素:
<subsystem xmlns="urn:jboss:domain:transactions:2.0">
<core-environment>
<process-id>
<uuid/>
</process-id>
</core-environment>
<recovery-environment socket-binding="txn-recovery-environment" status-socket-binding="txn-status-manager"/>
</subsystem>
How to add an attribute node-attribute="MyNode"
to the core-environment
XML element? 如何将属性node-attribute="MyNode"
到core-environment
XML元素? The result should look like: 结果应如下所示:
<subsystem xmlns="urn:jboss:domain:transactions:2.0">
<core-environment node-identifier="MyNode">
<process-id>
<uuid/>
</process-id>
</core-environment>
<recovery-environment socket-binding="txn-recovery-environment" status-socket-binding="txn-status-manager"/>
</subsystem>
在快速入门项目中 :
/subsystem=transactions:write-attribute(name=node-identifier,value=MyNode)
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.