You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flex.apache.org by cd...@apache.org on 2015/08/05 14:06:04 UTC
[2/2] flex-blazeds git commit: - Added an example application to
BlazeDS used to simulate invalidation szenarios
- Added an example application to BlazeDS used to simulate invalidation szenarios
Project: http://git-wip-us.apache.org/repos/asf/flex-blazeds/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-blazeds/commit/6ad100c2
Tree: http://git-wip-us.apache.org/repos/asf/flex-blazeds/tree/6ad100c2
Diff: http://git-wip-us.apache.org/repos/asf/flex-blazeds/diff/6ad100c2
Branch: refs/heads/4.8.0
Commit: 6ad100c2b7565be55375011f766d2a599a3cba66
Parents: 754e1e2
Author: Christofer Dutz <ch...@codecentric.de>
Authored: Wed Aug 5 14:05:55 2015 +0200
Committer: Christofer Dutz <ch...@codecentric.de>
Committed: Wed Aug 5 14:05:55 2015 +0200
----------------------------------------------------------------------
.../messaging-stresstest-client/pom.xml | 71 ++++++++++
.../src/main/flex/StressTestApplication.mxml | 97 ++++++++++++++
.../messaging-stresstest-server/pom.xml | 128 +++++++++++++++++++
.../messaging/test/MassMessageProducer.java | 90 +++++++++++++
.../webapp/WEB-INF/flex/messaging-config.xml | 52 ++++++++
.../webapp/WEB-INF/flex/services-config.xml | 52 ++++++++
.../src/main/webapp/WEB-INF/web.xml | 48 +++++++
examples/messaging-stresstest/pom.xml | 39 ++++++
examples/pom.xml | 37 ++++++
pom.xml | 2 +
10 files changed, 616 insertions(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/flex-blazeds/blob/6ad100c2/examples/messaging-stresstest/messaging-stresstest-client/pom.xml
----------------------------------------------------------------------
diff --git a/examples/messaging-stresstest/messaging-stresstest-client/pom.xml b/examples/messaging-stresstest/messaging-stresstest-client/pom.xml
new file mode 100644
index 0000000..6556f32
--- /dev/null
+++ b/examples/messaging-stresstest/messaging-stresstest-client/pom.xml
@@ -0,0 +1,71 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+
+ Licensed to the Apache Software Foundation (ASF) under one or more
+ contributor license agreements. See the NOTICE file distributed with
+ this work for additional information regarding copyright ownership.
+ The ASF licenses this file to You under the Apache License, Version 2.0
+ (the "License"); you may not use this file except in compliance with
+ the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+
+-->
+<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.apache.flex.blazeds.examples</groupId>
+ <artifactId>messaging-stresstest</artifactId>
+ <version>4.8.0-SNAPSHOT</version>
+ </parent>
+
+ <artifactId>messaging-stresstest-client</artifactId>
+ <packaging>swf</packaging>
+
+ <build>
+ <sourceDirectory>src/main/flex</sourceDirectory>
+ <plugins>
+ <plugin>
+ <groupId>net.flexmojos.oss</groupId>
+ <artifactId>flexmojos-maven-plugin</artifactId>
+ <version>7.1.0-SNAPSHOT</version>
+ <extensions>true</extensions>
+ <configuration>
+ <debug>true</debug>
+ </configuration>
+ <dependencies>
+ <dependency>
+ <groupId>org.apache.flex</groupId>
+ <artifactId>compiler</artifactId>
+ <version>4.14.1</version>
+ <type>pom</type>
+ </dependency>
+ </dependencies>
+ </plugin>
+ </plugins>
+ </build>
+
+ <dependencies>
+ <dependency>
+ <groupId>org.apache.flex</groupId>
+ <artifactId>framework</artifactId>
+ <version>4.14.1</version>
+ <type>pom</type>
+ </dependency>
+ <dependency>
+ <groupId>com.adobe.flash.framework</groupId>
+ <artifactId>playerglobal</artifactId>
+ <version>18.0</version>
+ <type>swc</type>
+ </dependency>
+ </dependencies>
+
+</project>
http://git-wip-us.apache.org/repos/asf/flex-blazeds/blob/6ad100c2/examples/messaging-stresstest/messaging-stresstest-client/src/main/flex/StressTestApplication.mxml
----------------------------------------------------------------------
diff --git a/examples/messaging-stresstest/messaging-stresstest-client/src/main/flex/StressTestApplication.mxml b/examples/messaging-stresstest/messaging-stresstest-client/src/main/flex/StressTestApplication.mxml
new file mode 100644
index 0000000..88f672b
--- /dev/null
+++ b/examples/messaging-stresstest/messaging-stresstest-client/src/main/flex/StressTestApplication.mxml
@@ -0,0 +1,97 @@
+<?xml version="1.0"?>
+<!--
+
+ Licensed to the Apache Software Foundation (ASF) under one or more
+ contributor license agreements. See the NOTICE file distributed with
+ this work for additional information regarding copyright ownership.
+ The ASF licenses this file to You under the Apache License, Version 2.0
+ (the "License"); you may not use this file except in compliance with
+ the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+
+-->
+<s:Application xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:s="library://ns.adobe.com/flex/spark"
+ creationComplete="onCreationComplete(event)">
+
+ <fx:Script>
+ <![CDATA[
+ import mx.events.FlexEvent;
+ import mx.messaging.ChannelSet;
+ import mx.messaging.Consumer;
+ import mx.messaging.Producer;
+ import mx.messaging.channels.AMFChannel;
+ import mx.messaging.events.MessageAckEvent;
+ import mx.messaging.events.MessageEvent;
+ import mx.messaging.events.MessageFaultEvent;
+ import mx.messaging.messages.AsyncMessage;
+ import mx.messaging.messages.IMessage;
+
+ [Bindable]
+ protected var numMessages:Number = 0;
+
+ [Bindable]
+ protected var consumer:Consumer;
+
+ protected var producer:Producer;
+
+ protected function onCreationComplete(event:FlexEvent):void {
+ var cs:ChannelSet = new ChannelSet();
+ var pollingAMF:AMFChannel = new AMFChannel("amf",
+ "http://localhost:8080/messaging-stresstest-server-4.8/messagebroker/amf");
+ pollingAMF.pollingInterval = 1000;
+ pollingAMF.pollingEnabled = true;
+ pollingAMF.piggybackingEnabled = true;
+ cs.addChannel(pollingAMF);
+
+ consumer = new Consumer();
+ consumer.channelSet = cs;
+ consumer.destination = "MassMessageDestination";
+ consumer.addEventListener(MessageAckEvent.ACKNOWLEDGE, onChannelConnect);
+ consumer.addEventListener(MessageFaultEvent.FAULT, onFault);
+ consumer.addEventListener(MessageFaultEvent.FAULT, onFault);
+ consumer.addEventListener(MessageEvent.MESSAGE, onMessageReceived);
+ consumer.subscribe();
+
+ producer = new Producer();
+ producer.channelSet = cs;
+ producer.destination = "MassMessageDestination";
+ producer.addEventListener(MessageFaultEvent.FAULT, onFault);
+ producer.addEventListener(MessageFaultEvent.FAULT, onFault);
+ producer.connect();
+ }
+
+ protected function onChannelConnect(event:Event):void {
+ trace("Connected");
+ var message:IMessage = new AsyncMessage();
+ message.body.chatMessage = "Test";
+ producer.send(message);
+ }
+
+ protected function onChannelDisconnect(event:Event):void {
+ trace("Disconnected");
+ }
+
+ protected function onMessageReceived(event:Event):void {
+ numMessages++;
+ }
+
+ protected function onFault(event:Event):void {
+ trace(event);
+ }
+
+ ]]>
+ </fx:Script>
+
+ <s:VGroup>
+ <s:Label text="Subscribed: {consumer.subscribed}"/>
+ <s:Label text="Messages received: {numMessages}"/>
+ </s:VGroup>
+
+</s:Application>
http://git-wip-us.apache.org/repos/asf/flex-blazeds/blob/6ad100c2/examples/messaging-stresstest/messaging-stresstest-server/pom.xml
----------------------------------------------------------------------
diff --git a/examples/messaging-stresstest/messaging-stresstest-server/pom.xml b/examples/messaging-stresstest/messaging-stresstest-server/pom.xml
new file mode 100644
index 0000000..de6f400
--- /dev/null
+++ b/examples/messaging-stresstest/messaging-stresstest-server/pom.xml
@@ -0,0 +1,128 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+
+ Licensed to the Apache Software Foundation (ASF) under one or more
+ contributor license agreements. See the NOTICE file distributed with
+ this work for additional information regarding copyright ownership.
+ The ASF licenses this file to You under the Apache License, Version 2.0
+ (the "License"); you may not use this file except in compliance with
+ the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+
+-->
+<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.apache.flex.blazeds.examples</groupId>
+ <artifactId>messaging-stresstest</artifactId>
+ <version>4.8.0-SNAPSHOT</version>
+ </parent>
+
+ <artifactId>messaging-stresstest-server</artifactId>
+ <packaging>war</packaging>
+
+ <properties>
+ <swf>swf-1.0.0-SNAPSHOT</swf>
+ <width>100%</width>
+ <height>100%</height>
+ <title>My First Application</title>
+ <useBrowserHistory>true</useBrowserHistory>
+ <bgcolor>white</bgcolor>
+ <version_major>10</version_major>
+ <version_minor>2</version_minor>
+ <version_revision>0</version_revision>
+ <expressInstallSwf>expressInstall.swf</expressInstallSwf>
+ <application>application</application>
+ </properties>
+
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>net.flexmojos.oss</groupId>
+ <artifactId>flexmojos-maven-plugin</artifactId>
+ <version>7.1.0-SNAPSHOT</version>
+ <executions>
+ <execution>
+ <goals>
+ <goal>copy-flex-resources</goal>
+ </goals>
+ </execution>
+ </executions>
+ <dependencies>
+ <dependency>
+ <groupId>org.apache.flex</groupId>
+ <artifactId>compiler</artifactId>
+ <version>4.14.1</version>
+ <type>pom</type>
+ </dependency>
+ </dependencies>
+ </plugin>
+
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-war-plugin</artifactId>
+ <version>2.4</version>
+ <configuration>
+ <overlays>
+ <overlay>
+ <groupId>org.apache.flex.wrapper</groupId>
+ <artifactId>swfobject</artifactId>
+ <type>war</type>
+ <filtered>true</filtered>
+ </overlay>
+ </overlays>
+ </configuration>
+ </plugin>
+
+ <plugin>
+ <groupId>org.mortbay.jetty</groupId>
+ <artifactId>maven-jetty-plugin</artifactId>
+ <version>6.1.24</version>
+ </plugin>
+
+ </plugins>
+ </build>
+
+ <dependencies>
+ <dependency>
+ <groupId>org.apache.flex.blazeds</groupId>
+ <artifactId>flex-messaging-core</artifactId>
+ <version>${project.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>javax.jms</groupId>
+ <artifactId>javax.jms-api</artifactId>
+ <version>2.0.1</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.activemq</groupId>
+ <artifactId>activemq-client</artifactId>
+ <version>5.11.1</version>
+ </dependency>
+
+ <dependency>
+ <groupId>org.apache.flex.blazeds.examples</groupId>
+ <artifactId>messaging-stresstest-client</artifactId>
+ <version>4.8.0-SNAPSHOT</version>
+ <type>swf</type>
+ </dependency>
+
+ <dependency>
+ <groupId>org.apache.flex.wrapper</groupId>
+ <artifactId>swfobject</artifactId>
+ <version>4.14.1</version>
+ <type>war</type>
+ <scope>runtime</scope>
+ </dependency>
+ </dependencies>
+
+</project>
http://git-wip-us.apache.org/repos/asf/flex-blazeds/blob/6ad100c2/examples/messaging-stresstest/messaging-stresstest-server/src/main/java/flex/messaging/test/MassMessageProducer.java
----------------------------------------------------------------------
diff --git a/examples/messaging-stresstest/messaging-stresstest-server/src/main/java/flex/messaging/test/MassMessageProducer.java b/examples/messaging-stresstest/messaging-stresstest-server/src/main/java/flex/messaging/test/MassMessageProducer.java
new file mode 100644
index 0000000..8fbd907
--- /dev/null
+++ b/examples/messaging-stresstest/messaging-stresstest-server/src/main/java/flex/messaging/test/MassMessageProducer.java
@@ -0,0 +1,90 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package flex.messaging.test;
+
+import flex.messaging.MessageBroker;
+import flex.messaging.messages.AsyncMessage;
+import flex.messaging.messages.Message;
+import flex.messaging.services.ServiceAdapter;
+import flex.messaging.util.UUIDUtils;
+
+import java.util.Date;
+
+/**
+ * Simple Message producer that continuously produces messaged containing random Double values.
+ * The delay between postings is currently set to 1ms.
+ */
+public class MassMessageProducer extends ServiceAdapter {
+
+ protected boolean running = false;
+
+ // Send 100 messages per second.
+ protected long delayMillis = 1;
+
+ public void start() {
+ super.start();
+
+ Thread messageGenerator = new Thread(){
+ public void run(){
+ running = true;
+ while(running){
+ Message message = generateMessage();
+ sendMessage(message);
+ try{
+ Thread.sleep(delayMillis);
+ }catch(InterruptedException e){
+ e.printStackTrace();
+ }
+ }
+ }
+ };
+ messageGenerator.start();
+ }
+
+ public void stop() {
+ running = false;
+ super.stop();
+ }
+
+
+ @Override
+ public Object invoke(Message message) {
+ // Ignore any type of message ...
+ return null;
+ }
+
+ protected Message generateMessage() {
+ // Just generate some dummy payload.
+ Double payload = Math.random();
+
+ // Create an AsyncMessage to send to the client.
+ AsyncMessage msg = new AsyncMessage();
+ msg.setDestination("MassMessageDestination");
+ msg.setClientId("MassMessageProducer-Java");
+ msg.setTimestamp(new Date().getTime());
+ msg.setMessageId(UUIDUtils.createUUID());
+ msg.setTimeToLive(100000);
+ msg.setBody(payload);
+
+ return msg;
+ }
+
+ protected void sendMessage(Message message) {
+ MessageBroker.getMessageBroker(null).routeMessageToService(message, null);
+ }
+
+}
http://git-wip-us.apache.org/repos/asf/flex-blazeds/blob/6ad100c2/examples/messaging-stresstest/messaging-stresstest-server/src/main/webapp/WEB-INF/flex/messaging-config.xml
----------------------------------------------------------------------
diff --git a/examples/messaging-stresstest/messaging-stresstest-server/src/main/webapp/WEB-INF/flex/messaging-config.xml b/examples/messaging-stresstest/messaging-stresstest-server/src/main/webapp/WEB-INF/flex/messaging-config.xml
new file mode 100644
index 0000000..7c09060
--- /dev/null
+++ b/examples/messaging-stresstest/messaging-stresstest-server/src/main/webapp/WEB-INF/flex/messaging-config.xml
@@ -0,0 +1,52 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+
+ Licensed to the Apache Software Foundation (ASF) under one or more
+ contributor license agreements. See the NOTICE file distributed with
+ this work for additional information regarding copyright ownership.
+ The ASF licenses this file to You under the Apache License, Version 2.0
+ (the "License"); you may not use this file except in compliance with
+ the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+
+-->
+<service id="message-service" class="flex.messaging.services.MessageService">
+
+ <adapters>
+ <adapter-definition id="actionscript"
+ class="flex.messaging.services.messaging.adapters.ActionScriptAdapter"
+ default="true"/>
+ <adapter-definition id="MassMessageAdapter"
+ class="flex.messaging.test.MassMessageProducer"/>
+ </adapters>
+
+ <default-channels>
+ <channel ref="amf"/>
+ </default-channels>
+
+ <destination id="MassMessageDestination">
+ <!--properties>
+ <network>
+ <subscription-timeout-minutes>10</subscription-timeout-minutes>
+ </network>
+ <server>
+ <message-time-to-live>10000</message-time-to-live>
+ </server>
+ </properties-->
+ <channels>
+ <channel ref="amf"/>
+ </channels>
+ </destination>
+
+ <destination id="Dummy">
+ <adapter ref="MassMessageAdapter"/>
+ </destination>
+
+</service>
http://git-wip-us.apache.org/repos/asf/flex-blazeds/blob/6ad100c2/examples/messaging-stresstest/messaging-stresstest-server/src/main/webapp/WEB-INF/flex/services-config.xml
----------------------------------------------------------------------
diff --git a/examples/messaging-stresstest/messaging-stresstest-server/src/main/webapp/WEB-INF/flex/services-config.xml b/examples/messaging-stresstest/messaging-stresstest-server/src/main/webapp/WEB-INF/flex/services-config.xml
new file mode 100644
index 0000000..b2e3aa1
--- /dev/null
+++ b/examples/messaging-stresstest/messaging-stresstest-server/src/main/webapp/WEB-INF/flex/services-config.xml
@@ -0,0 +1,52 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+
+ Licensed to the Apache Software Foundation (ASF) under one or more
+ contributor license agreements. See the NOTICE file distributed with
+ this work for additional information regarding copyright ownership.
+ The ASF licenses this file to You under the Apache License, Version 2.0
+ (the "License"); you may not use this file except in compliance with
+ the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+
+-->
+<services-config>
+
+ <services>
+ <service-include file-path="messaging-config.xml" />
+ </services>
+
+ <channels>
+ <channel-definition id="amf" class="mx.messaging.channels.AMFChannel">
+ <endpoint url="http://{server.name}:{server.port}/{context.root}/messagebroker/amf"
+ class="flex.messaging.endpoints.AMFEndpoint"/>
+ </channel-definition>
+ </channels>
+
+ <flex-client>
+ <timeout-minutes>1</timeout-minutes>
+ </flex-client>
+
+ <logging>
+ <target class="flex.messaging.log.ConsoleTarget" level="Info">
+ <properties>
+ <prefix>[BlazeDS] </prefix>
+ <includeDate>false</includeDate>
+ <includeTime>false</includeTime>
+ <includeLevel>false</includeLevel>
+ <includeCategory>false</includeCategory>
+ </properties>
+ <filters>
+ <pattern>*</pattern>
+ </filters>
+ </target>
+ </logging>
+
+</services-config>
http://git-wip-us.apache.org/repos/asf/flex-blazeds/blob/6ad100c2/examples/messaging-stresstest/messaging-stresstest-server/src/main/webapp/WEB-INF/web.xml
----------------------------------------------------------------------
diff --git a/examples/messaging-stresstest/messaging-stresstest-server/src/main/webapp/WEB-INF/web.xml b/examples/messaging-stresstest/messaging-stresstest-server/src/main/webapp/WEB-INF/web.xml
new file mode 100644
index 0000000..0fbebbc
--- /dev/null
+++ b/examples/messaging-stresstest/messaging-stresstest-server/src/main/webapp/WEB-INF/web.xml
@@ -0,0 +1,48 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+
+ Licensed to the Apache Software Foundation (ASF) under one or more
+ contributor license agreements. See the NOTICE file distributed with
+ this work for additional information regarding copyright ownership.
+ The ASF licenses this file to You under the Apache License, Version 2.0
+ (the "License"); you may not use this file except in compliance with
+ the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+
+-->
+<!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN" "http://java.sun.com/dtd/web-app_2_3.dtd">
+<web-app>
+
+ <display-name>BlazeDS Messaging Stress Test</display-name>
+
+ <listener>
+ <listener-class>flex.messaging.HttpFlexSession</listener-class>
+ </listener>
+
+ <servlet>
+ <servlet-name>MessageBrokerServlet</servlet-name>
+ <servlet-class>flex.messaging.MessageBrokerServlet</servlet-class>
+ <init-param>
+ <param-name>services.configuration.file</param-name>
+ <param-value>/WEB-INF/flex/services-config.xml</param-value>
+ </init-param>
+ <load-on-startup>1</load-on-startup>
+ </servlet>
+
+ <servlet-mapping>
+ <servlet-name>MessageBrokerServlet</servlet-name>
+ <url-pattern>/messagebroker/*</url-pattern>
+ </servlet-mapping>
+
+ <welcome-file-list>
+ <welcome-file>index.html</welcome-file>
+ </welcome-file-list>
+
+</web-app>
http://git-wip-us.apache.org/repos/asf/flex-blazeds/blob/6ad100c2/examples/messaging-stresstest/pom.xml
----------------------------------------------------------------------
diff --git a/examples/messaging-stresstest/pom.xml b/examples/messaging-stresstest/pom.xml
new file mode 100644
index 0000000..64c6cd7
--- /dev/null
+++ b/examples/messaging-stresstest/pom.xml
@@ -0,0 +1,39 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+
+ Licensed to the Apache Software Foundation (ASF) under one or more
+ contributor license agreements. See the NOTICE file distributed with
+ this work for additional information regarding copyright ownership.
+ The ASF licenses this file to You under the Apache License, Version 2.0
+ (the "License"); you may not use this file except in compliance with
+ the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+
+-->
+<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.apache.flex.blazeds</groupId>
+ <artifactId>flex-messaging-examples</artifactId>
+ <version>4.8.0-SNAPSHOT</version>
+ </parent>
+
+ <groupId>org.apache.flex.blazeds.examples</groupId>
+ <artifactId>messaging-stresstest</artifactId>
+ <packaging>pom</packaging>
+
+ <modules>
+ <module>messaging-stresstest-client</module>
+ <module>messaging-stresstest-server</module>
+ </modules>
+
+</project>
http://git-wip-us.apache.org/repos/asf/flex-blazeds/blob/6ad100c2/examples/pom.xml
----------------------------------------------------------------------
diff --git a/examples/pom.xml b/examples/pom.xml
new file mode 100644
index 0000000..c88e3e6
--- /dev/null
+++ b/examples/pom.xml
@@ -0,0 +1,37 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+
+ Licensed to the Apache Software Foundation (ASF) under one or more
+ contributor license agreements. See the NOTICE file distributed with
+ this work for additional information regarding copyright ownership.
+ The ASF licenses this file to You under the Apache License, Version 2.0
+ (the "License"); you may not use this file except in compliance with
+ the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+
+-->
+<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.apache.flex.blazeds</groupId>
+ <artifactId>flex-messaging</artifactId>
+ <version>4.8.0-SNAPSHOT</version>
+ </parent>
+
+ <artifactId>flex-messaging-examples</artifactId>
+ <packaging>pom</packaging>
+
+ <modules>
+ <module>messaging-stresstest</module>
+ </modules>
+
+</project>
http://git-wip-us.apache.org/repos/asf/flex-blazeds/blob/6ad100c2/pom.xml
----------------------------------------------------------------------
diff --git a/pom.xml b/pom.xml
index 4a17f54..99b6c8a 100755
--- a/pom.xml
+++ b/pom.xml
@@ -66,6 +66,8 @@
<module>opt</module>
<module>testsuite</module>
<module>assembly</module>
+
+ <!--module>examples</module-->
</modules>
<build>