I want to create 2 spring profiles , one runs in test and others in other environments. Depending on a profile that is inactive , i need to define some beans. So essentially want to do below
e.g.
<beans profile="test">
<bean id="testconstructorBean"
....
</beans>
<!- is test is not available-->
<beans profile="!test">
<bean id="constructorBean"
...
</beans>
I have seen on reference spring profles group, which can also work. But what i want is to have 2 alternative configurations which cannot coexists.
Regards N