Uploaded image for project: 'JBoss A-MQ'
  1. JBoss A-MQ
  2. ENTMQ-765

[DOC] Document Proper Use Of ENTITY Tag For activemq.xml Cfg File

XMLWordPrintable

      The proper use of the ENTITY tag needs to be documented so that the activemq.xml file can include external XML files via the use of that tag.

      Here's how one can get it to consistently work:

      1. Putting the destinations.xml file in the .../etc directory and using a relative path as follows (note use of file: URI):

      <!DOCTYPE beans [
      <!ENTITY destinations SYSTEM "file:etc/destinations.xml">
      ]>

      2. Putting the destinations.xml file in a directory outside the installation (e.g., /tmp) and using an absolute path.

      <!DOCTYPE beans [
      <!ENTITY destinations SYSTEM "file:///tmp/destinations.xml">
      ]>

            fbolton@redhat.com Fintan Bolton (Inactive)
            Argo_Integration Travis North (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: