removed scripts now that the samples are easy to build and run

This commit is contained in:
Mark Fisher
2009-07-02 02:40:43 +00:00
parent 2e164aaf29
commit 530aab1592
4 changed files with 1 additions and 63 deletions

View File

@@ -8,7 +8,7 @@
<target name="clean" depends="common-common.clean">
<delete verbose="true" includeemptydirs="true">
<fileset dir="${basedir}" includes="*/target/**"/>
<fileset dir="${basedir}" includes="*/target/**" defaultexcludes="false"/>
</delete>
</target>

View File

@@ -1,8 +0,0 @@
@echo off
setlocal ENABLEDELAYEDEXPANSION
for /r ..\dist %%j IN (*.jar) do set CP=!CP!;%%j
for /r ..\lib %%j IN (*.jar) do set CP=!CP!;%%j
@java -cp %CP% org.springframework.integration.samples.cafe.xml.CafeDemo %1

View File

@@ -1,6 +0,0 @@
#!/bin/sh
JARS=`find ../dist ../lib -iname *.jar`
CP=`echo $JARS | sed 's/ /:/g'`
java -cp $CP org.springframework.integration.samples.cafe.xml.CafeDemo $*

View File

@@ -1,48 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<beans:beans xmlns="http://www.springframework.org/schema/integration"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:beans="http://www.springframework.org/schema/beans"
xmlns:stream="http://www.springframework.org/schema/integration/stream"
xsi:schemaLocation="http://www.springframework.org/schema/beans
http://www.springframework.org/schema/beans/spring-beans-2.5.xsd
http://www.springframework.org/schema/integration
http://www.springframework.org/schema/integration/spring-integration-1.0.xsd
http://www.springframework.org/schema/integration/stream
http://www.springframework.org/schema/integration/stream/spring-integration-stream-1.0.xsd">
<gateway id="cafe" service-interface="org.springframework.integration.samples.cafe.Cafe"/>
<channel id="orders"/>
<splitter input-channel="orders" ref="orderSplitter" method="split" output-channel="drinks"/>
<channel id="drinks"/>
<router input-channel="drinks" ref="drinkRouter" method="resolveOrderItemChannel"/>
<channel id="coldDrinks">
<queue capacity="10"/>
</channel>
<service-activator input-channel="coldDrinks" ref="barista" method="prepareColdDrink" output-channel="preparedDrinks"/>
<channel id="hotDrinks">
<queue capacity="10"/>
</channel>
<service-activator input-channel="hotDrinks" ref="barista" method="prepareHotDrink" output-channel="preparedDrinks"/>
<channel id="preparedDrinks"/>
<aggregator input-channel="preparedDrinks" ref="waiter" method="prepareDelivery" output-channel="deliveries"/>
<stream:stdout-channel-adapter id="deliveries"/>
<beans:bean id="orderSplitter" class="org.springframework.integration.samples.cafe.xml.OrderSplitter"/>
<beans:bean id="drinkRouter" class="org.springframework.integration.samples.cafe.xml.DrinkRouter"/>
<beans:bean id="barista" class="org.springframework.integration.samples.cafe.xml.Barista"/>
<beans:bean id="waiter" class="org.springframework.integration.samples.cafe.xml.Waiter"/>
<poller id="poller" default="true">
<interval-trigger interval="1000"/>
</poller>
</beans:beans>