1 Reply Latest reply on Sep 10, 2014 1:02 PM by cwalker67

    Adding <mdb> container to standalone.xml through the CLI

    cwalker67

      I've been able to successfully add the messaging module and configure messaging through the wildfly cli but what I can't figure out it how to add the container configuration for mdb's.

      I'm looking for help in adding the following to the ejb3 subsystem through the cli:

       

      <mdb>

         <resource-adapter-ref resource-adapter-name="${ejb.resource-adapter-name:hornetq-ra.rar}"/>

         <bean-instance-pool-ref pool-name="mdb-strict-max-pool"/>

      </mdb>



        • 1. Re: Adding <mdb> container to standalone.xml through the CLI
          cwalker67

          Ok, so i'm going to answer my own question (just in case anyone else wonders):

           

              /subsystem=ejb3:write-attribute(name="default-mdb-instance-pool", value="mdb-strict-max-pool")

              /subsystem=ejb3:write-attribute(name="default-resource-adapter-name", value="${ejb.resource-adapter-name:hornetq-ra.rar}")

           

          This was not completely obvious to me.