INT-3379 - Allow Placeholders for Enums
JIRA: https://jira.spring.io/browse/INT-3379 Change enumerated attributes to a union with xsd:string to allow placeholders. JMS and XML deferred to 4.1 due to the amount of changes needed to the parsers. See INT-3384.
This commit is contained in:
@@ -1,11 +1,21 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<beans xmlns="http://www.springframework.org/schema/beans"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd
|
||||
http://www.springframework.org/schema/integration http://www.springframework.org/schema/integration/spring-integration.xsd
|
||||
http://www.springframework.org/schema/integration/xmpp http://www.springframework.org/schema/integration/xmpp/spring-integration-xmpp.xsd"
|
||||
xmlns:int="http://www.springframework.org/schema/integration"
|
||||
xmlns:int-xmpp="http://www.springframework.org/schema/integration/xmpp">
|
||||
xmlns:int-xmpp="http://www.springframework.org/schema/integration/xmpp"
|
||||
xmlns:context="http://www.springframework.org/schema/context"
|
||||
xmlns:util="http://www.springframework.org/schema/util"
|
||||
xsi:schemaLocation="http://www.springframework.org/schema/integration/xmpp http://www.springframework.org/schema/integration/xmpp/spring-integration-xmpp.xsd
|
||||
http://www.springframework.org/schema/integration http://www.springframework.org/schema/integration/spring-integration.xsd
|
||||
http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd
|
||||
http://www.springframework.org/schema/util http://www.springframework.org/schema/util/spring-util.xsd
|
||||
http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context.xsd">
|
||||
|
||||
<context:property-placeholder properties-ref="props"/>
|
||||
|
||||
<util:properties id="props">
|
||||
<prop key="sub.mode">reject_all</prop>
|
||||
</util:properties>
|
||||
|
||||
<int-xmpp:xmpp-connection id="connection"
|
||||
user="happy.user"
|
||||
@@ -15,6 +25,6 @@
|
||||
resource="SpringSource"
|
||||
port="6222"
|
||||
service-name="foogle.com"
|
||||
subscription-mode="reject_all"/>
|
||||
subscription-mode="${sub.mode}"/>
|
||||
|
||||
</beans>
|
||||
|
||||
Reference in New Issue
Block a user