In my application I have beans annotated with @Profile(\"prod\") and @Profile(\"demo\"). The first one, as you can guess :), is used on beans that
@Profile(\"prod\")
@Profile(\"demo\")
You may also consider removing the PROD profile, and use @Profile("!demo")