2 Replies Latest reply on Dec 29, 2014 10:27 AM by jesper.pedersen

    is there a way to avoid defining <admin-objects> in standalone config?

    mazz

      When installing your own JMS resource adapter in standalone.xml, everywhere that I've seen it documented show that you need to define one <admin-object> per Queue or Topic your app needs - like this:

       

              <subsystem xmlns="urn:jboss:domain:resource-adapters:2.0">

                <resource-adapters>

                  <resource-adapter id="my-jms-rar">

                   ...

                    <admin-objects>

                      <admin-object class-name="org.abc.Queue" jndi-name="java:/queue/QueueName" ...>

                        <config-property name="PhysicalName">

                          QueueName

                        </config-property>

                      </admin-object>

                    </admin-objects>

                    ...

       

      My question is - is there another way to configure those so you don't have to define them up front in standalone.xml? Is there something in jboss-web.xml or something similar where your app can define the queues/topics it wants to use, rather than having to define them in the main container configuration file?