INTEXT-30 - Cleanup

This commit is contained in:
Gunnar Hillert
2013-01-09 16:32:39 -05:00
parent f2a0cb7cba
commit e4f2f83909
26 changed files with 493 additions and 577 deletions

View File

@@ -1,64 +1,56 @@
<?xml version="1.0" encoding="UTF-8"?>
<beans xmlns="http://www.springframework.org/schema/beans"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:int="http://www.springframework.org/schema/integration"
xmlns:context="http://www.springframework.org/schema/context"
xsi:schemaLocation="
http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-3.0.xsd
http://www.springframework.org/schema/integration http://www.springframework.org/schema/integration/spring-integration.xsd
http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context-3.0.xsd
">
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:int="http://www.springframework.org/schema/integration"
xmlns:context="http://www.springframework.org/schema/context"
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/context http://www.springframework.org/schema/context/spring-context.xsd">
<context:property-placeholder location="smpp.properties" />
<context:annotation-config />
<context:property-placeholder location="smpp.properties"/>
<context:annotation-config/>
<!-- SENDS SMSs to a specific number -->
<bean
class="org.springframework.integration.smpp.session.SmppSessionFactoryBean"
id="outboundSession">
<property name="host" value="${smpp.host}" />
<property name="port" value="${smpp.port}" />
<property name="password" value="${smpp.password}" />
<property name="addressRange" value="${test.dst.number}" />
<property name="systemId" value="${smpp.systemId}" />
</bean>
<!-- SENDS SMSs to a specific number -->
<bean class="org.springframework.integration.smpp.session.SmppSessionFactoryBean" id="outboundSession">
<property name="host" value="${smpp.host}"/>
<property name="port" value="${smpp.port}"/>
<property name="password" value="${smpp.password}"/>
<property name="addressRange" value="${test.dst.number}"/>
<property name="systemId" value="${smpp.systemId}" />
</bean>
<!-- RECEIVES SMSs from a specific number -->
<bean
class="org.springframework.integration.smpp.session.SmppSessionFactoryBean"
id="inboundSession">
<property name="host" value="${smpp.host}" />
<property name="port" value="${smpp.port}" />
<property name="password" value="${smpp.password}" />
<property name="addressRange" value="33333" />
<property name="systemId" value="${smpp.systemId}" />
</bean>
<!-- RECEIVES SMSs from a specific number-->
<bean class="org.springframework.integration.smpp.session.SmppSessionFactoryBean" id="inboundSession">
<property name="host" value="${smpp.host}"/>
<property name="port" value="${smpp.port}"/>
<property name="password" value="${smpp.password}"/>
<property name="addressRange" value="33333"/>
<property name="systemId" value="${smpp.systemId}" />
</bean>
<bean class="org.springframework.integration.smpp.inbound.SmppInboundGateway" id="inboundGateway">
<property name="smppSession" ref="inboundSession"/>
<property name="requestChannel" ref="in1"/>
<property name="replyChannel" ref="out1"/>
</bean>
<!--
<bean class="org.springframework.integration.smpp.inbound.SmppInboundChannelAdapter" id="smppInboundChannelAdapter">
<property name="smppSession" ref="inboundSession"/>
<property name="channel" ref="inbound"/>
</bean>
<bean class="org.springframework.integration.smpp.outbound.SmppOutboundChannelAdapter" id="smppOutboundChannelAdapter">
<property name="smppSession" ref="outboundSession"/>
</bean>-->
<!--<int:outbound-channel-adapter ref="smppOutboundChannelAdapter" channel="outbound"/>-->
<int:channel id="out1"/>
<int:channel id="in1"/>
<int:channel id="out2"/>
<int:channel id="in2"/>
<bean class="org.springframework.integration.smpp.inbound.SmppInboundGateway"
id="inboundGateway">
<property name="smppSession" ref="inboundSession" />
<property name="requestChannel" ref="in1" />
<property name="replyChannel" ref="out1" />
</bean>
<!-- <bean class="org.springframework.integration.smpp.inbound.SmppInboundChannelAdapter"
id="smppInboundChannelAdapter"> <property name="smppSession" ref="inboundSession"/>
<property name="channel" ref="inbound"/> </bean> <bean class="org.springframework.integration.smpp.outbound.SmppOutboundChannelAdapter"
id="smppOutboundChannelAdapter"> <property name="smppSession" ref="outboundSession"/>
</bean> -->
<!--<int:outbound-channel-adapter ref="smppOutboundChannelAdapter" channel="outbound"/> -->
<int:channel id="out1" />
<int:channel id="in1" />
<int:channel id="out2" />
<int:channel id="in2" />
</beans>