Skip to content

Normally, Neuron ESB environment variables are created and set in the ESB solution.  To manage them, navigate to the Deployment tab and click the Environment Variables node.  Occasionally you may want to create and/or set an environment variable from within the Neuron ESB service’s configuration file (esbservice.exe.config).  To do that…

First, you need to register the EnvironmentConfigurationSection.  The <configSections> element is already there, so you just need to add the <section> element:


  <section name="neuron.pipelines" type="Neuron.Configuration.PipelinesConfigurationSection, Neuron"/>

  <section name="neuron.environment" type="Neuron.Configuration.EnvironmentConfigurationSection, Neuron"/>


Second, you define the environment variables.  This section is not there by default, so you’ll have to add the whole thing.  For example, to add the environment variable NeuronDB:



    <add name="NeuronDB" value="Data Source=.;Initial Catalog=NeuronDB;Integrated Security=True" />



You can add any number of environment variables in the config file.

Notes!  When you set environment variables in the ESB Service config file, they do not have to be defined in the solution.  You can either add new environment variables or set the values of existing variables in the config file.  Environment variable that have been defined in both the ESB solution and the config file will inherit the value set in the config file.


About the Author

Author's Name
Marty Wasznicky


Marty has almost 30 years of experience in the software development industry. He joined Peregrine Connect after six years as a Regional Program Manager in the Connected Systems Division at Microsoft. His responsibilities there included building out Microsoft’s BizTalk Server product integration business, managing a team of SOA/ESB/BPM field specialists and building strategic partner alliances. Marty created the Microsoft Virtual Technical Specialist program and owned the development of Microsoft’s Enterprise Service Bus Toolkit.

Read more about Peregrine Connect

  • Rabbit MQ Topics

    Introduction Due to the open-source nature of RabbitMQ and constant updates, it is...

  • Port Sharing

    One of Neuron ESB’s scalability features is the ability to install multiple...

  • The Integration Journey to...

    The Integration Journey to Digital Transformation with Peregrine Connect

  • Saving Time and Money by...

    Neuron ESB Application Integration and Web Service Platform: A Real-World Example...

  • Elektro Gorenjska

    Peregrine Connect Eliminates Over 30% of Point-to-Point Integrations and reduces...

  • D&H Distributing

    Modernizing operations integration to increase volume transactions by 2X

  • video-icons-wrapper

    Decision Test Data Mapping

    - Use decisions to drive the execution of...

  • video-icons-wrapper

    Map Testing

    Learn how to utilize FlightPath's testing functions...