Skip to content
This repository has been archived by the owner on May 22, 2020. It is now read-only.

Commit

Permalink
improvements on project structure
Browse files Browse the repository at this point in the history
  • Loading branch information
porcelli committed Jul 27, 2011
1 parent 4bcab0b commit a3df5f1
Show file tree
Hide file tree
Showing 15 changed files with 48 additions and 42 deletions.
2 changes: 2 additions & 0 deletions connectors/git/pom.xml
Expand Up @@ -9,6 +9,8 @@
</parent>
<groupId>org.mule.dsl</groupId>
<artifactId>git-connector</artifactId>
<name>Mule DSL GIT Connector</name>

<dependencies>
<dependency>
<groupId>org.mule.dsl</groupId>
Expand Down
2 changes: 2 additions & 0 deletions connectors/mongo/pom.xml
Expand Up @@ -9,6 +9,8 @@
</parent>
<groupId>org.mule.dsl</groupId>
<artifactId>mongo-connector</artifactId>
<name>Mule DSL MongoDB Connector</name>

<dependencies>
<dependency>
<groupId>org.mule.dsl</groupId>
Expand Down
1 change: 1 addition & 0 deletions connectors/pom.xml
Expand Up @@ -11,6 +11,7 @@

<artifactId>connectors</artifactId>
<packaging>pom</packaging>
<name>Mule DSL Connectors</name>

<modules>
<module>git</module>
Expand Down
2 changes: 2 additions & 0 deletions connectors/twitter/pom.xml
Expand Up @@ -9,6 +9,8 @@
</parent>
<groupId>org.mule.dsl</groupId>
<artifactId>twitter-connector</artifactId>
<name>Mule DSL Twitter Connector</name>

<dependencies>
<dependency>
<groupId>org.mule.dsl</groupId>
Expand Down
2 changes: 1 addition & 1 deletion core/pom.xml
Expand Up @@ -9,7 +9,7 @@
</parent>
<groupId>org.mule.dsl</groupId>
<artifactId>dsl-core</artifactId>
<name>Mule DSL core</name>
<name>Mule DSL Core</name>

<dependencies>
<dependency>
Expand Down
3 changes: 1 addition & 2 deletions core/src/main/java/org/mule/config/dsl/PipelineBuilder.java
Expand Up @@ -16,7 +16,6 @@
*/
public interface PipelineBuilder<P extends PipelineBuilder<P>>
extends PipelineDebugOutputOperations<P>, PipelineRouterOperations<P>, PipelineTransformerOperations<P>,
PipelineFilterOperations<P>, PipelineInvokerOperations<P>, PipelineOutboundEndpointOperations<P>,
PipelineMessagePropertiesOperations<P>, Builder {
PipelineFilterOperations<P>, PipelineInvokerOperations<P>, PipelineOutboundEndpointOperations<P>, Builder {

}

This file was deleted.

Expand Up @@ -84,4 +84,14 @@ public interface PipelineTransformerOperations<P extends PipelineBuilder<P>> {
*/
P transformWith(String ref) throws IllegalArgumentException;

/* message properties */

/**
* Exposes message properties manipilation, enabling some operations
* like {@code put}, {@code remove} and , {@code rename}.
*
* @return the message properties builder
*/
MessagePropertiesBuilder<P> messageProperties();

}
Expand Up @@ -36,10 +36,10 @@ public void configure() {
flow("MyFlow")
.from("file:///Users/porcelli/test")
.messageProperties()
.put("key", "value")
.put("key2", "value2")
.remove("key2Remove")
.rename("xxx", "yyy");
.put("key", "value")
.put("key2", "value2")
.remove("key2Remove")
.rename("xxx", "yyy");
}
});

Expand Down
2 changes: 1 addition & 1 deletion distribution/pom.xml
Expand Up @@ -9,7 +9,7 @@
<groupId>org.mule.dsl</groupId>
<artifactId>dsl-distribution</artifactId>
<packaging>pom</packaging>
<name>Mule DSL distribution</name>
<name>Mule DSL Distribution</name>

<dependencies>
<dependency>
Expand Down
20 changes: 20 additions & 0 deletions examples/pom.xml
@@ -0,0 +1,20 @@
<?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>org.mule.dsl</groupId>
<artifactId>mule-dsl</artifactId>
<version>1.0-SNAPSHOT</version>
</parent>

<artifactId>dsl-examples</artifactId>
<packaging>pom</packaging>
<name>Mule DSL Examples</name>

<modules>
<module>start-here</module>
</modules>

</project>
6 changes: 3 additions & 3 deletions example/pom.xml → examples/start-here/pom.xml
Expand Up @@ -4,12 +4,12 @@
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.mule.dsl</groupId>
<artifactId>mule-dsl</artifactId>
<artifactId>dsl-examples</artifactId>
<version>1.0-SNAPSHOT</version>
</parent>
<groupId>org.mule.dsl</groupId>
<artifactId>dsl-example</artifactId>
<name>Mule DSL example</name>
<artifactId>dsl-start-here</artifactId>
<name>Mule DSL start-here example</name>

<dependencies>
<dependency>
Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Expand Up @@ -17,7 +17,7 @@
<module>core</module>
<module>connectors</module>
<module>distribution</module>
<module>example</module>
<module>examples</module>
</modules>
<dependencyManagement>
<dependencies>
Expand Down

0 comments on commit a3df5f1

Please sign in to comment.