Uploaded image for project: 'Synapse'
  1. Synapse
  2. SYNAPSE-277

Callout Mediator contais hardcoded path to a samples config file

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 1.1.1
    • 1.2
    • Extension Mediators
    • None
    • n/a, its in the source

    Description

      in the init function of org.apache.synapse.mediators.builtin.CalloutMediator

      is a hardcoded path to a samples config file, i.e.:

      ConfigurationContextFactory.createConfigurationContextFromFileSystem(
      "./samples/axis2Client/client_repo", "./samples/axis2Client/client_repo/conf/axis2.xml");

      This introduces a unwanted dependancy on sample code/config, perhaps the config, should be moved inside the 'core' .

      Attachments

        Activity

          People

            ruwan Ruwan Linton
            wkeenan Wayne Keenan
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: