package com.capgemini.spring.profiles;

/**
 * A class that defines standard spring profiles
 *
 * @author Abbas Attarwala
 * @author Andrew Harmel-Law
 */
public interface SpringProfiles {

    /**
     * The 'default' profile would be expected to use prod-like dependencies for everything
     */
    String DEFAULT_PROFILE_NAME = "default";

    /**
     * The 'stubbed' profile would be expected to use stubbed (i.e. local) service activators
     */
    String STUBBED_PROFILE_NAME = "stubbed";

    /**
     * The 'embeddedAMQ' profile would be expected to use embedded ActiveMQ but prod-like everything else
     */
    String EMBEDDED_AMQ_PROFILE_NAME = "embeddedAMQ";

    /**
     * The 'noDB' profile would be expected to use stubbed services to save and retrieve all data
     */
    String NO_DB = "noDB";
}

@@ -490,24 +490,222 @@
 %22stubbed%22;%0A%0A
+    /**%0A     * The 'simulateFailure' profile is used when service activators are expected to simulate backend systems failures.%0A     */%0A    String SIMULATE_FAILURE_PROFIL_NAME = %22simulateFailure%22;%0A%0A
     /**%0A    

Update SpringProfiles.java