<html><head><meta http-equiv="Content-Type" content="text/html charset=windows-1252"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">There was an “add-index” param that was added in 10[1] and perhaps only became functional in the just released 10.1.0.CR1 due to [2].<div class=""><br class=""></div><div class="">[1]&nbsp;<a href="https://issues.jboss.org/browse/WFLY-4723" class="">https://issues.jboss.org/browse/WFLY-4723</a></div><div class="">[2]&nbsp;<a href="https://issues.jboss.org/browse/WFLY-6782" class="">https://issues.jboss.org/browse/WFLY-6782</a></div><div class=""><br class=""><div><blockquote type="cite" class=""><div class="">On Jul 29, 2016, at 4:30 PM, Richard Achmatowicz &lt;<a href="mailto:rachmato@redhat.com" class="">rachmato@redhat.com</a>&gt; wrote:</div><br class="Apple-interchange-newline"><div class="">
  
    <meta content="text/html; charset=windows-1252" http-equiv="Content-Type" class="">
  
  <div bgcolor="#FFFFFF" text="#000000" class=""><p class="">Hi Michael</p>
    There is no operation for inserting a protocol layer at a specific
    position in the stack.<br class="">
    You will have to remove the original stack definition and recreate
    it with a series of commands.<br class="">
    This can be placed into a CLI batch and executed as a script if you
    need to do it often.<br class="">
    Here is an example:<br class="">
    <br class="">
    contents of the CLI script (the following commands in a text file
    called, say, setstack.cli):<br class="">
--------------------------------------------------------------------------------------<br class="">
    connect<br class="">
    batch<br class="">
    /subsystem=jgroups/stack=tcp:remove()<br class="">
    <br class="">
    /subsystem=jgroups/stack=tcp:add()<br class="">
/subsystem=jgroups/stack=tcp/transport=TCP:add(socket-binding="jgroups-tcp")<br class="">
/subsystem=jgroups/stack=tcp/protocol=MPING:add(socket-binding="jgroups-mping")<br class="">
    /subsystem=jgroups/stack=tcp/protocol=MERGE3:add()<br class="">
/subsystem=jgroups/stack=tcp/protocol=FDSOCK:add(socket-binding="jgroups-tcp-fd")<br class="">
    /subsystem=jgroups/stack=tcp/protocol=FD:add()<br class="">
    /subsystem=jgroups/stack=tcp/protocol=VERIFY_SUSPECT:add()<br class="">
    /subsystem=jgroups/stack=tcp/protocol=pbcast.NAKACK2:add()<br class="">
    /subsystem=jgroups/stack=tcp/protocol=UNICAST3:add()<br class="">
    /subsystem=jgroups/stack=tcp/protocol=pbcast.STABLE:add()<br class="">
    /subsystem=jgroups/stack=tcp/protocol=pbcast.GMS:add()<br class="">
    /subsystem=jgroups/stack=tcp/protocol=MFC:add()<br class="">
    /subsystem=jgroups/stack=tcp/protocol=FRAG2:add()<br class="">
    run-batch<br class="">
--------------------------------------------------------------------------------------<br class="">
    <br class="">
    execute the CLI script:<br class="">
    ./jboss-cli.sh --file=setstack.cli<br class="">
    <br class="">
    Richard<br class="">
    <div class="moz-cite-prefix">On 29/07/16 12:59 PM, Michael Irwin
      wrote:<br class="">
    </div>
    <blockquote cite="mid:CAOeesxzU1jwunpuczieoFrikrh03+8x+xRcojYO=ut5bSyEfDQ@mail.gmail.com" type="cite" class="">
      <meta http-equiv="Context-Type" content="text/html; charset=UTF-8" class="">
      <div dir="ltr" class="">I'm adding a JGroup stack protocol using this
        command:
        <div class=""><br class="">
        </div>
        <div class="">/subsystem=jgroups/stack=tcp/protocol=JDBC_PING:add()<br class="">
        </div>
        <div class=""><br class="">
        </div>
        <div class="">But, the new protocol is added to the end of the list of
          protocols.&nbsp; And, since protocol order matters, how do I add
          the protocol to the front of the list?&nbsp; And, I'd prefer to do
          it without tweaking the XML directly.&nbsp; Any pointers?</div>
        <div class=""><br class="">
        </div>
        <div class="">--</div>
        <div class="">Michael Irwin</div>
      </div>
      <br class="">
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br class="">
      <pre wrap="" class="">_______________________________________________
wildfly-dev mailing list
<a class="moz-txt-link-abbreviated" href="mailto:wildfly-dev@lists.jboss.org">wildfly-dev@lists.jboss.org</a>
<a class="moz-txt-link-freetext" href="https://lists.jboss.org/mailman/listinfo/wildfly-dev">https://lists.jboss.org/mailman/listinfo/wildfly-dev</a></pre>
    </blockquote>
    <br class="">
  </div>

_______________________________________________<br class="">wildfly-dev mailing list<br class=""><a href="mailto:wildfly-dev@lists.jboss.org" class="">wildfly-dev@lists.jboss.org</a><br class="">https://lists.jboss.org/mailman/listinfo/wildfly-dev</div></blockquote></div><br class=""><div class="">
<div class=""><span style="color: rgb(51, 51, 51); font-family: monospace; font-size: 13.3333px; font-variant-ligatures: normal; font-variant-position: normal; font-variant-numeric: normal; font-variant-alternates: normal; font-variant-east-asian: normal; line-height: normal; widows: 1; background-color: rgb(253, 253, 253);" class="">--</span><span style="color: rgb(51, 51, 51); font-family: monospace; font-size: 13.3333px; font-variant-ligatures: normal; font-variant-position: normal; font-variant-numeric: normal; font-variant-alternates: normal; font-variant-east-asian: normal; line-height: normal; widows: 1; background-color: rgb(253, 253, 253);" class="">&nbsp;</span><br style="color: rgb(51, 51, 51); font-family: monospace; font-size: 13.3333px; font-variant-ligatures: normal; font-variant-position: normal; font-variant-numeric: normal; font-variant-alternates: normal; font-variant-east-asian: normal; line-height: normal; widows: 1;" class=""><span style="color: rgb(51, 51, 51); font-family: monospace; font-size: 13.3333px; font-variant-ligatures: normal; font-variant-position: normal; font-variant-numeric: normal; font-variant-alternates: normal; font-variant-east-asian: normal; line-height: normal; widows: 1; background-color: rgb(253, 253, 253);" class="">Brian Stansberry</span><br style="color: rgb(51, 51, 51); font-family: monospace; font-size: 13.3333px; font-variant-ligatures: normal; font-variant-position: normal; font-variant-numeric: normal; font-variant-alternates: normal; font-variant-east-asian: normal; line-height: normal; widows: 1;" class=""><span style="color: rgb(51, 51, 51); font-family: monospace; font-size: 13.3333px; font-variant-ligatures: normal; font-variant-position: normal; font-variant-numeric: normal; font-variant-alternates: normal; font-variant-east-asian: normal; line-height: normal; widows: 1; background-color: rgb(253, 253, 253);" class="">Manager, Senior Principal Software Engineer</span><br style="color: rgb(51, 51, 51); font-family: monospace; font-size: 13.3333px; font-variant-ligatures: normal; font-variant-position: normal; font-variant-numeric: normal; font-variant-alternates: normal; font-variant-east-asian: normal; line-height: normal; widows: 1;" class=""><span style="color: rgb(51, 51, 51); font-family: monospace; font-size: 13.3333px; font-variant-ligatures: normal; font-variant-position: normal; font-variant-numeric: normal; font-variant-alternates: normal; font-variant-east-asian: normal; line-height: normal; widows: 1; background-color: rgb(253, 253, 253);" class="">JBoss by Red Hat</span></div><div class=""><br class=""></div><br class="Apple-interchange-newline">
</div>
<br class=""></div></body></html>