INTSAMPLES-89 - Upgrade to Spring Integration 2.2 RC3
* Test samples * Polish documentation * Polish code For reference see: https://jira.springsource.org/browse/INTSAMPLES-89
This commit is contained in:
@@ -8,18 +8,18 @@
|
||||
xmlns:context="http://www.springframework.org/schema/context"
|
||||
xmlns:int="http://www.springframework.org/schema/integration"
|
||||
xmlns:int-xmpp="http://www.springframework.org/schema/integration/xmpp">
|
||||
|
||||
|
||||
<context:property-placeholder location="classpath:xmpp.properties"/>
|
||||
|
||||
<int-xmpp:xmpp-connection id="googleTalkConnection"
|
||||
user="${user.login}"
|
||||
password="${user.password}"
|
||||
host="${user.host}"
|
||||
service-name="${user.service}"
|
||||
port="${user.port}"/>
|
||||
|
||||
user="${user.login}"
|
||||
password="${user.password}"
|
||||
host="${user.host}"
|
||||
service-name="${user.service}"
|
||||
port="${user.port}"/>
|
||||
|
||||
<int-xmpp:inbound-channel-adapter channel="imOutChannel" xmpp-connection="googleTalkConnection"/>
|
||||
|
||||
<int:logging-channel-adapter id="imOutChannel"/>
|
||||
|
||||
|
||||
</beans>
|
||||
@@ -8,24 +8,24 @@
|
||||
xmlns:context="http://www.springframework.org/schema/context"
|
||||
xmlns:int="http://www.springframework.org/schema/integration"
|
||||
xmlns:int-xmpp="http://www.springframework.org/schema/integration/xmpp">
|
||||
|
||||
|
||||
<context:property-placeholder location="classpath:xmpp.properties"/>
|
||||
|
||||
<int-xmpp:xmpp-connection id="googleTalkConnection"
|
||||
user="${user.login}"
|
||||
password="${user.password}"
|
||||
host="${user.host}"
|
||||
service-name="${user.service}"
|
||||
port="${user.port}"/>
|
||||
|
||||
<int:channel id="toUserChannel"/>
|
||||
|
||||
<int-xmpp:header-enricher input-channel="toUserChannel" output-channel="imChannel">
|
||||
<int-xmpp:chat-to value="${send.to.user}"/>
|
||||
</int-xmpp:header-enricher>
|
||||
|
||||
<int:channel id="imChannel"/>
|
||||
|
||||
user="${user.login}"
|
||||
password="${user.password}"
|
||||
host="${user.host}"
|
||||
service-name="${user.service}"
|
||||
port="${user.port}"/>
|
||||
|
||||
<int:channel id="toUserChannel"/>
|
||||
|
||||
<int-xmpp:header-enricher input-channel="toUserChannel" output-channel="imChannel">
|
||||
<int-xmpp:chat-to value="${send.to.user}"/>
|
||||
</int-xmpp:header-enricher>
|
||||
|
||||
<int:channel id="imChannel"/>
|
||||
|
||||
<int-xmpp:outbound-channel-adapter channel="imChannel" xmpp-connection="googleTalkConnection"/>
|
||||
|
||||
|
||||
</beans>
|
||||
|
||||
@@ -12,7 +12,7 @@
|
||||
|
||||
<!-- Loggers -->
|
||||
<logger name="org.springframework.integration">
|
||||
<level value="warn" />
|
||||
<level value="info" />
|
||||
</logger>
|
||||
|
||||
<logger name="org.springframework.integration.samples">
|
||||
|
||||
Reference in New Issue
Block a user