Skip to content

Commit

Permalink
Tabs -> 4 spaces, no other changes
Browse files Browse the repository at this point in the history
  • Loading branch information
aperepel committed Mar 16, 2009
1 parent 85438af commit 966f2c5
Show file tree
Hide file tree
Showing 183 changed files with 4,463 additions and 4,463 deletions.
58 changes: 29 additions & 29 deletions appendices/expression-evaluators/pom.xml
@@ -1,32 +1,32 @@
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>com.muleinaction</groupId>
<artifactId>appendices</artifactId>
<version>1.0-SNAPSHOT</version>
</parent>
<dependencies>
<dependency>
<groupId>org.mule.transports</groupId>
<artifactId>mule-transport-vm</artifactId>
</dependency>
<dependency>
<groupId>org.mule.modules</groupId>
<artifactId>mule-module-client</artifactId>
</dependency>
<dependency>
<groupId>org.mule.modules</groupId>
<artifactId>mule-module-scripting</artifactId>
</dependency>
</dependencies>
<artifactId>expression-evaluators</artifactId>
<packaging>jar</packaging>
<name>Mule in Action - Appendices - Expression Evaluators</name>
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">

<modelVersion>4.0.0</modelVersion>

<parent>
<groupId>com.muleinaction</groupId>
<artifactId>appendices</artifactId>
<version>1.0-SNAPSHOT</version>
</parent>

<dependencies>
<dependency>
<groupId>org.mule.transports</groupId>
<artifactId>mule-transport-vm</artifactId>
</dependency>
<dependency>
<groupId>org.mule.modules</groupId>
<artifactId>mule-module-client</artifactId>
</dependency>
<dependency>
<groupId>org.mule.modules</groupId>
<artifactId>mule-module-scripting</artifactId>
</dependency>
</dependencies>

<artifactId>expression-evaluators</artifactId>
<packaging>jar</packaging>
<name>Mule in Action - Appendices - Expression Evaluators</name>
</project>
@@ -1,87 +1,87 @@
<?xml version="1.0" encoding="UTF-8"?>
<mule xmlns="http://www.mulesource.org/schema/mule/core/2.2" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:vm="http://www.mulesource.org/schema/mule/vm/2.2" xmlns:test="http://www.mulesource.org/schema/mule/test/2.2"
xmlns:http="http://www.mulesource.org/schema/mule/http/2.2"
xsi:schemaLocation="
http://www.mulesource.org/schema/mule/http/2.2 http://www.mulesource.org/schema/mule/http/2.2/mule-http.xsd
xmlns:vm="http://www.mulesource.org/schema/mule/vm/2.2" xmlns:test="http://www.mulesource.org/schema/mule/test/2.2"
xmlns:http="http://www.mulesource.org/schema/mule/http/2.2"
xsi:schemaLocation="
http://www.mulesource.org/schema/mule/http/2.2 http://www.mulesource.org/schema/mule/http/2.2/mule-http.xsd
http://www.mulesource.org/schema/mule/core/2.2 http://www.mulesource.org/schema/mule/core/2.2/mule.xsd
http://www.mulesource.org/schema/mule/vm/2.2 http://www.mulesource.org/schema/mule/vm/2.2/mule-vm.xsd
http://www.mulesource.org/schema/mule/test/2.2 http://www.mulesource.org/schema/mule/test/2.2/mule-test.xsd">

<vm:endpoint name="TargetChannel" path="Target" />
<vm:endpoint name="LoggerChannel" path="Logger" />
<vm:endpoint name="TargetChannel" path="Target" />
<vm:endpoint name="LoggerChannel" path="Logger" />

<model name="ExpressionModel">
<model name="ExpressionModel">

<!-- <start id="ExprEval-Transformer" /> -->
<service name="AckingAsyncDispatcher">
<inbound>
<vm:inbound-endpoint path="AckingAsyncDispatcher.IN" synchronous="true">
<response-transformers>
<expression-transformer>
<return-argument evaluator="message" expression="correlationId" />
</expression-transformer>
</response-transformers>
</vm:inbound-endpoint>
</inbound>
<!-- <start id="ExprEval-Transformer" /> -->
<service name="AckingAsyncDispatcher">
<inbound>
<vm:inbound-endpoint path="AckingAsyncDispatcher.IN" synchronous="true">
<response-transformers>
<expression-transformer>
<return-argument evaluator="message" expression="correlationId" />
</expression-transformer>
</response-transformers>
</vm:inbound-endpoint>
</inbound>

<outbound>
<pass-through-router>
<outbound-endpoint ref="TargetChannel" synchronous="false" />
</pass-through-router>
</outbound>
</service>
<!-- <end id="ExprEval-Transformer" /> -->
<outbound>
<pass-through-router>
<outbound-endpoint ref="TargetChannel" synchronous="false" />
</pass-through-router>
</outbound>
</service>
<!-- <end id="ExprEval-Transformer" /> -->

<!-- <start id="ExprEval-Filter" /> -->
<service name="PayloadSizeFiltering">
<inbound>
<vm:inbound-endpoint path="PayloadSizeFiltering.IN" />
</inbound>
<!-- <start id="ExprEval-Filter" /> -->
<service name="PayloadSizeFiltering">
<inbound>
<vm:inbound-endpoint path="PayloadSizeFiltering.IN" />
</inbound>

<outbound>
<filtering-router>
<outbound-endpoint ref="TargetChannel" />
<expression-filter evaluator="groovy" expression="message.payloadAsBytes.length>1024" />
</filtering-router>
<forwarding-catch-all-strategy>
<outbound-endpoint ref="LoggerChannel" />
</forwarding-catch-all-strategy>
</outbound>
</service>
<!-- <end id="ExprEval-Filter" /> -->
<outbound>
<filtering-router>
<outbound-endpoint ref="TargetChannel" />
<expression-filter evaluator="groovy" expression="message.payloadAsBytes.length>1024" />
</filtering-router>
<forwarding-catch-all-strategy>
<outbound-endpoint ref="LoggerChannel" />
</forwarding-catch-all-strategy>
</outbound>
</service>
<!-- <end id="ExprEval-Filter" /> -->

<service name="ExpressionParser">
<inbound>
<vm:inbound-endpoint path="ExpressionParser.IN" synchronous="true" />
</inbound>
<!-- <start id="ExprParser-Config" /> -->
<component>
<singleton-object class="com.muleinaction.component.ExpressionParser">
<property key="expression" value="#[message:correlationId]@#[function:datestamp:yyyy-dd-MM]" />
</singleton-object>
</component>
<!-- <end id="ExprParser-Config" /> -->
</service>
<service name="ExpressionParser">
<inbound>
<vm:inbound-endpoint path="ExpressionParser.IN" synchronous="true" />
</inbound>
<!-- <start id="ExprParser-Config" /> -->
<component>
<singleton-object class="com.muleinaction.component.ExpressionParser">
<property key="expression" value="#[message:correlationId]@#[function:datestamp:yyyy-dd-MM]" />
</singleton-object>
</component>
<!-- <end id="ExprParser-Config" /> -->
</service>

<service name="TargetService">
<inbound>
<inbound-endpoint ref="TargetChannel" />
</inbound>
<service name="TargetService">
<inbound>
<inbound-endpoint ref="TargetChannel" />
</inbound>

<component>
<singleton-object class="org.mule.tck.functional.FunctionalTestComponent" />
</component>
</service>
<component>
<singleton-object class="org.mule.tck.functional.FunctionalTestComponent" />
</component>
</service>

<service name="LoggerService">
<inbound>
<inbound-endpoint ref="LoggerChannel" />
</inbound>
<log-component />
</service>
<service name="LoggerService">
<inbound>
<inbound-endpoint ref="LoggerChannel" />
</inbound>
<log-component />
</service>

</model>
</model>


</mule>
28 changes: 14 additions & 14 deletions appendices/pom.xml
@@ -1,19 +1,19 @@
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>com.muleinaction</groupId>
<artifactId>mia-parent</artifactId>
<version>1.0-SNAPSHOT</version>
</parent>
<artifactId>appendices</artifactId>
<packaging>pom</packaging>
<name>Mule in Action - Appendices</name>
<modules>

<modelVersion>4.0.0</modelVersion>

<parent>
<groupId>com.muleinaction</groupId>
<artifactId>mia-parent</artifactId>
<version>1.0-SNAPSHOT</version>
</parent>

<artifactId>appendices</artifactId>
<packaging>pom</packaging>
<name>Mule in Action - Appendices</name>

<modules>
<module>expression-evaluators</module>
</modules>
</project>
36 changes: 18 additions & 18 deletions chapter01/pom.xml
@@ -1,21 +1,21 @@
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>com.muleinaction</groupId>
<artifactId>mia-parent</artifactId>
<version>1.0-SNAPSHOT</version>
</parent>
<artifactId>chapter01</artifactId>
<packaging>pom</packaging>
<name>Mule in Action - Chapter 1</name>
<modules>
<module>welcome</module>
</modules>
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">

<modelVersion>4.0.0</modelVersion>

<parent>
<groupId>com.muleinaction</groupId>
<artifactId>mia-parent</artifactId>
<version>1.0-SNAPSHOT</version>
</parent>

<artifactId>chapter01</artifactId>
<packaging>pom</packaging>
<name>Mule in Action - Chapter 1</name>

<modules>
<module>welcome</module>
</modules>
</project>
64 changes: 32 additions & 32 deletions chapter01/welcome/conf/welcome-config.xml
@@ -1,43 +1,43 @@
<?xml version="1.0" encoding="UTF-8"?>
<mule xmlns="http://www.mulesource.org/schema/mule/core/2.2"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:stdio="http://www.mulesource.org/schema/mule/stdio/2.2"
xmlns:quartz="http://www.mulesource.org/schema/mule/quartz/2.2"
xmlns:spring="http://www.springframework.org/schema/beans"
xsi:schemaLocation="
http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.5.xsd
http://www.mulesource.org/schema/mule/core/2.2 http://www.mulesource.org/schema/mule/core/2.2/mule.xsd
http://www.mulesource.org/schema/mule/stdio/2.2 http://www.mulesource.org/schema/mule/stdio/2.2/mule-stdio.xsd
http://www.mulesource.org/schema/mule/quartz/2.2 http://www.mulesource.org/schema/mule/quartz/2.2/mule-quartz.xsd">
<spring:bean id="welcomeMessage" class="java.lang.String">
<spring:constructor-arg>
<spring:value><![CDATA[
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:stdio="http://www.mulesource.org/schema/mule/stdio/2.2"
xmlns:quartz="http://www.mulesource.org/schema/mule/quartz/2.2"
xmlns:spring="http://www.springframework.org/schema/beans"
xsi:schemaLocation="
http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.5.xsd
http://www.mulesource.org/schema/mule/core/2.2 http://www.mulesource.org/schema/mule/core/2.2/mule.xsd
http://www.mulesource.org/schema/mule/stdio/2.2 http://www.mulesource.org/schema/mule/stdio/2.2/mule-stdio.xsd
http://www.mulesource.org/schema/mule/quartz/2.2 http://www.mulesource.org/schema/mule/quartz/2.2/mule-quartz.xsd">

<spring:bean id="welcomeMessage" class="java.lang.String">
<spring:constructor-arg>
<spring:value><![CDATA[
_ _ _ _ ___ ___ _ _
| | | | | | | | | \/ | | | | |
| | | | ___| | ___ ___ _ __ ___ ___ | |_ ___ | . . |_ _| | ___| |
| |/\| |/ _ \ |/ __/ _ \| '_ ` _ \ / _ \ | __/ _ \ | |\/| | | | | |/ _ \ |
\ /\ / __/ | (_| (_) | | | | | | __/ | || (_) | | | | | |_| | | __/_|
\/ \/ \___|_|\___\___/|_| |_| |_|\___| \__\___/ \_| |_/\__,_|_|\___(_)
]]>
</spring:value>
</spring:constructor-arg>
</spring:bean>
]]>
</spring:value>
</spring:constructor-arg>
</spring:bean>

<model name="welcomeModel">
<service name="welcomeService">
<inbound>
<quartz:inbound-endpoint jobName="welcome" repeatInterval="0" repeatCount="0">
<property key="payload" value-ref="welcomeMessage" />
<quartz:event-generator-job />
</quartz:inbound-endpoint>
</inbound>
<outbound>
<pass-through-router>
<stdio:outbound-endpoint system="OUT"/>
</pass-through-router>
</outbound>
</service>
</model>
<model name="welcomeModel">
<service name="welcomeService">
<inbound>
<quartz:inbound-endpoint jobName="welcome" repeatInterval="0" repeatCount="0">
<property key="payload" value-ref="welcomeMessage" />
<quartz:event-generator-job />
</quartz:inbound-endpoint>
</inbound>
<outbound>
<pass-through-router>
<stdio:outbound-endpoint system="OUT"/>
</pass-through-router>
</outbound>
</service>
</model>
</mule>

0 comments on commit 966f2c5

Please sign in to comment.