1

There's an XML element in standalone-full.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? 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>
Kara
  • 6,115
  • 16
  • 50
  • 57
Boris Pavlović
  • 63,078
  • 28
  • 122
  • 148

1 Answers1

1

From the quickstart project:

/subsystem=transactions:write-attribute(name=node-identifier,value=MyNode)
sm4rk0
  • 473
  • 4
  • 17
Boris Pavlović
  • 63,078
  • 28
  • 122
  • 148