1 Reply Latest reply on Oct 12, 2007 4:36 AM by Kevin Conner

    Autogeneration of jbossesb-listener.xml and jbossesb-gateway

    Ajay Menon Newbie

      How are the jbossesb-listener.xml and jbossesb-gateway.xml files autogenerated ? Which class handles the logic for this autogeneration ??
      Why is it autogenerated ? What all processes reads these files ?

        • 1. Re: Autogeneration of jbossesb-listener.xml and jbossesb-gat
          Kevin Conner Master

          org.jboss.soa.esb.listeners.config.Generator is the class which handles this (along with its associated mappers).

          The reason for this is that the original codebase consisted of two configuration files, one for gateways and a second for listeners. Administering these files, and keeping them consistent, proved to be an error prone process.

          To simplify matters the configuration was changed into a single file but we had to keep the internal notion of two configurations to prevent existing code from breaking.