<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<id>tag:old.nabble.com,2006:forum-2725</id>
	<title>Nabble - Mule</title>
	<updated>2009-12-07T05:19:11Z</updated>
	<link rel="self" type="application/atom+xml" href="http://old.nabble.com/Mule-f2725.xml;BR/&gt;&lt;BR/&gt;Paul" />
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Mule-f2725.html" />
	<subtitle type="html">Mule is an Enterprise Service Bus (ESB) messaging framework. It is a scalable, highly distributable object broker that can seamlessly handle interactions with services and applications using disparate transport and messaging technologies. Mule home is &lt;a href=&quot;http://mule.codehaus.org/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;here&lt;/a&gt;.</subtitle>
	
<entry>
	<id>tag:old.nabble.com,2006:post-26677146</id>
	<title>Re: Mule problems with JBoss 5.1.0 JMS</title>
	<published>2009-12-07T05:19:11Z</published>
	<updated>2009-12-07T05:19:11Z</updated>
	<author>
		<name>Mike Carr-6</name>
	</author>
	<content type="html">Problem resolved. See references in &lt;a href=&quot;http://forums.mulesoft.org/thread.jspa?threadID=2725&amp;tstart=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://forums.mulesoft.org/thread.jspa?threadID=2725&amp;tstart=0&lt;/a&gt;&lt;br&gt;&lt;br&gt;---------------------------------------------------------------------
&lt;br&gt;To unsubscribe from this list, please visit:
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &lt;a href=&quot;http://xircles.codehaus.org/manage_email&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://xircles.codehaus.org/manage_email&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Mule---User-f2727.html&quot; embed=&quot;fixTarget[2727]&quot; target=&quot;_top&quot; &gt;Mule - User&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Mule-problems-with-JBoss-5.1.0-JMS-tp26642351p26677146.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26677115</id>
	<title>Re: Mule problems with JBoss 5.1.0 JMS</title>
	<published>2009-12-07T05:16:49Z</published>
	<updated>2009-12-07T05:16:49Z</updated>
	<author>
		<name>Mike Carr-6</name>
	</author>
	<content type="html">Hello all,
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; The problem solution for Mule and JBoss.
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; I do my tests on a Windows XP machine. The production code goes into an Solaris Machine. So, I was putting the libs that came with the JBoss (the client directory) in the &amp;lt;MULE_HOME&amp;gt;/lib/user and was getting an ClassNotFoundException. So, I began to suspect that I was having problems with the classpath. Someway, not all the libs were found in the classpath. I went to the net and got a program that let me know what was the classpath that Mule was seeing and how long is it. The program is shown below (&lt;a href=&quot;http://www.java-tips.org/java-se-tips/java.lang/how-to-print-classpath.html):&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.java-tips.org/java-se-tips/java.lang/how-to-print-classpath.html):&lt;/a&gt;&lt;br&gt;&lt;br&gt;import java.net.URL;
&lt;br&gt;import java.net.URLClassLoader;
&lt;br&gt;&lt;br&gt;public class PrintClasspath {
&lt;br&gt;&amp;nbsp; &amp;nbsp; public static void main(String[] args) {
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; //Get the System Classloader
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ClassLoader sysClassLoader = ClassLoader.getSystemClassLoader();
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; //Get the URLs
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; URL[] urls = ((URLClassLoader)sysClassLoader).getURLs();
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; for(int i=0; i&amp;lt; urls.length; i++)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; System.out.println(urls[i].getFile());
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; } &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; }
&lt;br&gt;}
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;I adapted it to let me know the size of the classpath too. I transformed it into an Mule Component. So, the code end up looking like this:
&lt;br&gt;&lt;br&gt;package br.com.thordasilva;
&lt;br&gt;&lt;br&gt;import java.net.URL;
&lt;br&gt;import java.net.URLClassLoader;
&lt;br&gt;&lt;br&gt;public class Component {
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; public void execute(Object o){
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; //Get the System Classloader
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ClassLoader sysClassLoader = ClassLoader.getSystemClassLoader();
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; //Get the URLs
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; URL[] urls = ((URLClassLoader)sysClassLoader).getURLs();
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; StringBuffer classpath = new StringBuffer(&amp;quot;&amp;quot;);
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; for (int i = 0; i &amp;lt; urls.length; i++) {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 	classpath.append(urls[i].getFile()+&amp;quot;,&amp;quot;);
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; System.out.println(classpath.toString());
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; System.out.println(classpath.toString().length() - 1);
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }
&lt;br&gt;}
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;I got this code and create an jar with it. I named it ww.jar. Next step was installing a new version of mule. So, I tried d:\temp\mule. I inserted ww.jar in the d:\temp\mule\lib\user directory. I created an config file like the one below:
&lt;br&gt;&lt;br&gt;&amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;UTF-8&amp;quot;?&amp;gt;
&lt;br&gt;&amp;lt;mule xmlns=&amp;quot;&lt;a href=&quot;http://www.mulesource.org/schema/mule/core/2.2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.mulesource.org/schema/mule/core/2.2&lt;/a&gt;&amp;quot;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; xmlns:xsi=&amp;quot;&lt;a href=&quot;http://www.w3.org/2001/XMLSchema-instance&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.w3.org/2001/XMLSchema-instance&lt;/a&gt;&amp;quot;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; xmlns:stdio=&amp;quot;&lt;a href=&quot;http://www.mulesource.org/schema/mule/stdio/2.2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.mulesource.org/schema/mule/stdio/2.2&lt;/a&gt;&amp;quot;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; xsi:schemaLocation=&amp;quot;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;a href=&quot;http://www.mulesource.org/schema/mule/core/2.2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.mulesource.org/schema/mule/core/2.2&lt;/a&gt;&amp;nbsp;&lt;a href=&quot;http://www.mulesource.org/schema/mule/core/2.2/mule.xsd&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.mulesource.org/schema/mule/core/2.2/mule.xsd&lt;/a&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;a href=&quot;http://www.mulesource.org/schema/mule/stdio/2.2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.mulesource.org/schema/mule/stdio/2.2&lt;/a&gt;&amp;nbsp;&lt;a href=&quot;http://www.mulesource.org/schema/mule/stdio/2.2/mule-stdio.xsd&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.mulesource.org/schema/mule/stdio/2.2/mule-stdio.xsd&lt;/a&gt;&amp;quot;&amp;gt;
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;model&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;service name=&amp;quot;test&amp;quot;&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;inbound&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;stdio:inbound-endpoint system=&amp;quot;IN&amp;quot;/&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;/inbound&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;component class=&amp;quot;br.com.thordasilva.Component&amp;quot;&amp;gt;&amp;lt;/component&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;/service&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;/model&amp;gt;
&lt;br&gt;&amp;lt;/mule&amp;gt;
&lt;br&gt;&lt;br&gt;&lt;br&gt;and save it with the name a.xml. I copied it to the d:\temp\mule\bin directory. Now, I only had to run all this and discover that the complete classpath of mule has approximateddly 8973 characters. In Windows XP, the limit that I can use in an variable using the shell (cmd command) is 8KB (8 * 1024 = 8192) as describen in (&lt;a href=&quot;http://www.microsoft.com/resources/documentation/windows/xp/all/proddocs/en-us/ntcmds_shelloverview.mspx?mfr=true&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.microsoft.com/resources/documentation/windows/xp/all/proddocs/en-us/ntcmds_shelloverview.mspx?mfr=true&lt;/a&gt;). So, when I put all the jars of the client directory of JBoss, I was getting approximattedly 13162 characters. So, the first thing to do was to detect the exact jars that I need to have in the lib/user directory of Mule. After some research, I discover that I had to have these files in the lib/user direcotry of mule:
&lt;br&gt;&lt;br&gt;- concurrent.jar;
&lt;br&gt;- jboss-aop-client.jar;
&lt;br&gt;- jboss-common-core.jar;
&lt;br&gt;- jboss-logging-spi.jar;
&lt;br&gt;- jboss-mdr.jar;
&lt;br&gt;- jboss-messaging-client.jar;
&lt;br&gt;- jboss-remoting.jar;
&lt;br&gt;- jnp-client.jar;
&lt;br&gt;- trove.jar.
&lt;br&gt;&lt;br&gt;After that, the classpath size got to 9401. So, the next try was to put Mule in an directory with a shorter name. I tried a directory called d:\x. Now, before the test, you need to update the value of the MULE_HOME variable to point to the new directory. If you don't do that, the program wont return the correct values. You still need to open a new shell (cmd command) to get these updates to work. Now, the size of the classpath is 7700 characters. So, everything is ok. 
&lt;br&gt;&lt;br&gt;The problem is if you are running Mule in an Windows XP machine and you insert lots of jars in the lib directory. Sometime you will get an classpath that is larger than the limit of the shell and the problem of ClassNotFoundException will come true, even if the class is in you lib/user directory.
&lt;br&gt;&lt;br&gt;---------------------------------------------------------------------
&lt;br&gt;To unsubscribe from this list, please visit:
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &lt;a href=&quot;http://xircles.codehaus.org/manage_email&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://xircles.codehaus.org/manage_email&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Mule---User-f2727.html&quot; embed=&quot;fixTarget[2727]&quot; target=&quot;_top&quot; &gt;Mule - User&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Re%3A-Mule-problems-with-JBoss-5.1.0-JMS-tp26643529p26677115.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26676957</id>
	<title>[mule-scm] [mule] [16180] branches/mule-3.x/tests/integration/src/test/resources/mule-test-exclusions.txt: Exclude failing test pending the merge of fix for MULE-4620</title>
	<published>2009-12-07T05:02:01Z</published>
	<updated>2009-12-07T05:02:01Z</updated>
	<author>
		<name>dfeist</name>
	</author>
	<content type="html">&lt;!DOCTYPE html PUBLIC &quot;-//W3C//DTD XHTML 1.1//EN&quot; &quot;http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd&quot;&gt;
&lt;html xmlns=&quot;http://www.w3.org/1999/xhtml&quot;&gt;
&lt;head&gt;
&lt;title&gt;[mule] [16180] branches/mule-3.x/tests/integration/src/test/resources/mule-test-exclusions.txt: Exclude failing test pending the merge of fix for MULE-4620&lt;/title&gt;
&lt;/head&gt;
&lt;body&gt;

&lt;div id=&quot;msg&quot;&gt;
&lt;dl&gt;
&lt;dt&gt;Revision&lt;/dt&gt; &lt;dd&gt;&lt;a href=&quot;http://fisheye.codehaus.org/changelog/mule/?cs=16180&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;16180&lt;/a&gt;&lt;/dd&gt;
&lt;dt&gt;Author&lt;/dt&gt; &lt;dd&gt;dfeist&lt;/dd&gt;
&lt;dt&gt;Date&lt;/dt&gt; &lt;dd&gt;2009-12-07 07:02:00 -0600 (Mon, 07 Dec 2009)&lt;/dd&gt;
&lt;/dl&gt;

&lt;h3&gt;Log Message&lt;/h3&gt;
&lt;pre&gt;Exclude failing test pending the merge of fix for &lt;a href=&quot;http://mule.mulesource.org/jira/secure/ViewIssue.jspa?key=MULE-4620&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;MULE-4620&lt;/a&gt;&lt;/pre&gt;

&lt;h3&gt;Modified Paths&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href=&quot;#branchesmule3xtestsintegrationsrctestresourcesmuletestexclusionstxt&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;branches/mule-3.x/tests/integration/src/test/resources/mule-test-exclusions.txt&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;/div&gt;
&lt;div id=&quot;patch&quot;&gt;
&lt;h3&gt;Diff&lt;/h3&gt;
&lt;a id=&quot;branchesmule3xtestsintegrationsrctestresourcesmuletestexclusionstxt&quot; target=&quot;_top&quot;&gt;&lt;/a&gt;
&lt;div class=&quot;modfile&quot;&gt;&lt;h4&gt;Modified: branches/mule-3.x/tests/integration/src/test/resources/mule-test-exclusions.txt (16179 =&gt; 16180)&lt;/h4&gt;
&lt;pre class=&quot;diff&quot;&gt;
&lt;span class=&quot;info&quot;&gt;--- branches/mule-3.x/tests/integration/src/test/resources/mule-test-exclusions.txt	2009-12-07 10:32:10 UTC (rev 16179)
+++ branches/mule-3.x/tests/integration/src/test/resources/mule-test-exclusions.txt	2009-12-07 13:02:00 UTC (rev 16180)
&lt;/span&gt;&lt;span class=&quot;lines&quot;&gt;@@ -87,3 +87,6 @@
&lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; 
 # MULE-4485
 org.mule.test.integration.routing.inbound.InboundRouterSyncAsyncClientTestCase
&lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+
+# MULE-4620
+org.mule.test.integration.messaging.meps.InOptionalOutOutOnlyJMSTestCase
&lt;/span&gt;
&lt;/pre&gt;
&lt;/div&gt;
&lt;/div&gt;

&lt;/body&gt;
&lt;/html&gt;

&lt;hr /&gt;
&lt;p&gt;
To unsubscribe from this list please visit:
&lt;/p&gt;
&lt;p&gt;
    &lt;a href=&quot;http://xircles.codehaus.org/manage_email&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://xircles.codehaus.org/manage_email&lt;/a&gt;

&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Mule-Commits-f35672.html&quot; embed=&quot;fixTarget[35672]&quot; target=&quot;_top&quot; &gt;Mule Commits&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/-mule-scm---mule---16180--branches-mule-3.x-tests-integration-src-test-resources-mule-test-exclusions.txt%3A-Exclude-failing-test-pending-the-merge-of-fix-for-MULE-4620-tp26676957p26676957.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26675344</id>
	<title>[mule-scm] [mule] [16179] branches/mule-3.x-messaging: Merged revisions 16169-16170,16176,16178 via svnmerge from</title>
	<published>2009-12-07T02:32:11Z</published>
	<updated>2009-12-07T02:32:11Z</updated>
	<author>
		<name>dirk.olmes</name>
	</author>
	<content type="html">&lt;!DOCTYPE html PUBLIC &quot;-//W3C//DTD XHTML 1.1//EN&quot; &quot;http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd&quot;&gt;
&lt;html xmlns=&quot;http://www.w3.org/1999/xhtml&quot;&gt;
&lt;head&gt;
&lt;title&gt;[mule] [16179] branches/mule-3.x-messaging: Merged revisions 16169-16170,16176,16178 via svnmerge from &lt;/title&gt;
&lt;/head&gt;
&lt;body&gt;

&lt;div id=&quot;msg&quot;&gt;
&lt;dl&gt;
&lt;dt&gt;Revision&lt;/dt&gt; &lt;dd&gt;&lt;a href=&quot;http://fisheye.codehaus.org/changelog/mule/?cs=16179&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;16179&lt;/a&gt;&lt;/dd&gt;
&lt;dt&gt;Author&lt;/dt&gt; &lt;dd&gt;dirk.olmes&lt;/dd&gt;
&lt;dt&gt;Date&lt;/dt&gt; &lt;dd&gt;2009-12-07 04:32:10 -0600 (Mon, 07 Dec 2009)&lt;/dd&gt;
&lt;/dl&gt;

&lt;h3&gt;Log Message&lt;/h3&gt;
&lt;pre&gt;Merged revisions 16169-16170,16176,16178 via svnmerge from 
https://svn.codehaus.org/mule/branches/mule-3.x

................
  r16169 | dirk.olmes | 2009-12-03 07:03:07 +0100 (Thu, 03 Dec 2009) | 9 lines
  
  Merged revisions 16168 via svnmerge from 
  https://svn.codehaus.org/mule/branches/mule-2.2.x
  
  ........
    r16168 | dirk.olmes | 2009-12-03 06:15:29 +0100 (Thu, 03 Dec 2009) | 1 line
    
    Endpoints with identical endpoint addresses should still be registered successfully in JMX. We include the connector&amp;#39;s name in the ObjectName now, this makes endpoints unique.
  ........
................
  r16170 | dirk.olmes | 2009-12-03 11:27:05 +0100 (Thu, 03 Dec 2009) | 1 line
  
  fix the config, add generics -&amp;gt; hopefully, the test runs green now
................
  r16176 | dirk.olmes | 2009-12-05 11:44:39 +0100 (Sat, 05 Dec 2009) | 9 lines
  
  Merged revisions 16175 via svnmerge from 
  https://svn.codehaus.org/mule/branches/mule-2.2.x
  
  ........
    r16175 | dirk.olmes | 2009-12-05 11:34:48 +0100 (Sat, 05 Dec 2009) | 2 lines
    
    use a unique port
  ........
................
  r16178 | dirk.olmes | 2009-12-07 05:55:03 +0100 (Mon, 07 Dec 2009) | 9 lines
  
  Merged revisions 16177 via svnmerge from 
  https://svn.codehaus.org/mule/branches/mule-2.2.x
  
  ........
    r16177 | dirk.olmes | 2009-12-05 13:18:55 +0100 (Sat, 05 Dec 2009) | 2 lines
    
    pass on the specified Maven repo from the commandline when running the archetype tests. This will be required when the Mule bulid was redirected to a different local repo. For this to work, the groovy plugin had to be updated.
  ........
................&lt;/pre&gt;

&lt;h3&gt;Modified Paths&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href=&quot;#branchesmule3xmessagingcoresrcmainjavaorgmuleapiregistryRegistryjava&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;branches/mule-3.x-messaging/core/src/main/java/org/mule/api/registry/Registry.java&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;#branchesmule3xmessagingdistributionsembeddedpomxml&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;branches/mule-3.x-messaging/distributions/embedded/pom.xml&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;#branchesmule3xmessagingdistributionsstandalonepomxml&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;branches/mule-3.x-messaging/distributions/standalone/pom.xml&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;#branchesmule3xmessagingmodulesmanagementsrcmainjavaorgmulemodulemanagementagentJmxAgentjava&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;branches/mule-3.x-messaging/modules/management/src/main/java/org/mule/module/management/agent/JmxAgent.java&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;#branchesmule3xmessagingmodulesmanagementsrctestjavaorgmulemanagementsupportJmxSupportTestCasejava&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;branches/mule-3.x-messaging/modules/management/src/test/java/org/mule/management/support/JmxSupportTestCase.java&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;#branchesmule3xmessagingpomxml&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;branches/mule-3.x-messaging/pom.xml&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;#branchesmule3xmessagingtestsarchetypesRunArchetypegroovy&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;branches/mule-3.x-messaging/tests/archetypes/RunArchetype.groovy&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;#branchesmule3xmessagingtestsarchetypesexamplearchetypepomxml&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;branches/mule-3.x-messaging/tests/archetypes/example-archetype/pom.xml&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;#branchesmule3xmessagingtestsarchetypesmodulearchetypepomxml&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;branches/mule-3.x-messaging/tests/archetypes/module-archetype/pom.xml&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;#branchesmule3xmessagingtestsarchetypespomxml&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;branches/mule-3.x-messaging/tests/archetypes/pom.xml&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;#branchesmule3xmessagingtestsarchetypesprojectarchetypepomxml&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;branches/mule-3.x-messaging/tests/archetypes/project-archetype/pom.xml&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;#branchesmule3xmessagingtestsarchetypestransportarchetypepomxml&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;branches/mule-3.x-messaging/tests/archetypes/transport-archetype/pom.xml&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;#branchesmule3xmessagingtestsintegrationsrctestjavaorgmuletestintegrationmessagingmepsInOptionalOutOutOnlyJMSTestCasejava&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;branches/mule-3.x-messaging/tests/integration/src/test/java/org/mule/test/integration/messaging/meps/InOptionalOutOutOnlyJMSTestCase.java&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;#branchesmule3xmessagingtestsintegrationsrctestresourcesorgmuletestintegrationmessagingmepspattern_InOptionalOut_OutOnly_JMSxml&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;branches/mule-3.x-messaging/tests/integration/src/test/resources/org/mule/test/integration/messaging/meps/pattern_In-Optional-Out_Out-Only_JMS.xml&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;#branchesmule3xmessagingtransportshttpsrctestjavaorgmuletransporthttpissuesHttpMessageReceiverMule4456TestCasejava&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;branches/mule-3.x-messaging/transports/http/src/test/java/org/mule/transport/http/issues/HttpMessageReceiverMule4456TestCase.java&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;#branchesmule3xmessagingtransportshttpsrctestresourceshttpreceivermule4456configxml&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;branches/mule-3.x-messaging/transports/http/src/test/resources/http-receiver-mule4456-config.xml&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;Added Paths&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href=&quot;#branchesmule3xmessagingmodulesmanagementsrctestjavaorgmulemanagementJmxDuplicateEndpointNamesTestCasejava&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;branches/mule-3.x-messaging/modules/management/src/test/java/org/mule/management/JmxDuplicateEndpointNamesTestCase.java&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;#branchesmule3xmessagingmodulesmanagementsrctestresourcesduplicateendpointaddessesxml&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;branches/mule-3.x-messaging/modules/management/src/test/resources/duplicate-endpoint-addesses.xml&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;Property Changed&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;branches/mule-3.x-messaging/&lt;/li&gt;
&lt;/ul&gt;

&lt;/div&gt;
&lt;div id=&quot;patch&quot;&gt;
&lt;h3&gt;Diff&lt;/h3&gt;
&lt;a id=&quot;branchesmule3xmessaging&quot; target=&quot;_top&quot;&gt;&lt;/a&gt;
&lt;div class=&quot;propset&quot;&gt;&lt;h4&gt;Property changes: branches/mule-3.x-messaging&lt;/h4&gt;
&lt;pre class=&quot;diff&quot;&gt;
&lt;span class=&quot;cx&quot;&gt;Name: svnmerge-integrated
   - /branches/mule-3.x:1-15522,15524-16164
   + /branches/mule-3.x:1-15522,15524-16178
&lt;/span&gt;&lt;/pre&gt;&lt;/div&gt;
&lt;a id=&quot;branchesmule3xmessagingcoresrcmainjavaorgmuleapiregistryRegistryjava&quot; target=&quot;_top&quot;&gt;&lt;/a&gt;
&lt;div class=&quot;modfile&quot;&gt;&lt;h4&gt;Modified: branches/mule-3.x-messaging/core/src/main/java/org/mule/api/registry/Registry.java (16178 =&gt; 16179)&lt;/h4&gt;
&lt;pre class=&quot;diff&quot;&gt;
&lt;span class=&quot;info&quot;&gt;--- branches/mule-3.x-messaging/core/src/main/java/org/mule/api/registry/Registry.java	2009-12-07 04:55:03 UTC (rev 16178)
+++ branches/mule-3.x-messaging/core/src/main/java/org/mule/api/registry/Registry.java	2009-12-07 10:32:10 UTC (rev 16179)
&lt;/span&gt;&lt;span class=&quot;lines&quot;&gt;@@ -34,9 +34,8 @@
&lt;/span&gt;&lt;span class=&quot;cx&quot;&gt;      *
      * @return collection of objects or empty collection if none found
      */
&lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+    &amp;lt;T&amp;gt; Collection&amp;lt;T&amp;gt; lookupObjects(Class&amp;lt;T&amp;gt; type);
&lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; 
&lt;/span&gt;&lt;span class=&quot;rem&quot;&gt;-    &amp;lt;T&amp;gt; Collection lookupObjects(Class&amp;lt;T&amp;gt; type);
-
&lt;/span&gt;&lt;span class=&quot;cx&quot;&gt;     /**
      * Look up a single object by type.
      *
&lt;/span&gt;&lt;/pre&gt;&lt;/div&gt;
&lt;a id=&quot;branchesmule3xmessagingdistributionsembeddedpomxml&quot; target=&quot;_top&quot;&gt;&lt;/a&gt;
&lt;div class=&quot;modfile&quot;&gt;&lt;h4&gt;Modified: branches/mule-3.x-messaging/distributions/embedded/pom.xml (16178 =&gt; 16179)&lt;/h4&gt;
&lt;pre class=&quot;diff&quot;&gt;
&lt;span class=&quot;info&quot;&gt;--- branches/mule-3.x-messaging/distributions/embedded/pom.xml	2009-12-07 04:55:03 UTC (rev 16178)
+++ branches/mule-3.x-messaging/distributions/embedded/pom.xml	2009-12-07 10:32:10 UTC (rev 16179)
&lt;/span&gt;&lt;span class=&quot;lines&quot;&gt;@@ -224,8 +224,8 @@
&lt;/span&gt;&lt;span class=&quot;cx&quot;&gt;                 &amp;lt;/executions&amp;gt;
             &amp;lt;/plugin&amp;gt;
             &amp;lt;plugin&amp;gt;
&lt;/span&gt;&lt;span class=&quot;rem&quot;&gt;-                &amp;lt;groupId&amp;gt;org.codehaus.mojo.groovy&amp;lt;/groupId&amp;gt;
-                &amp;lt;artifactId&amp;gt;groovy-maven-plugin&amp;lt;/artifactId&amp;gt;
&lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+                &amp;lt;groupId&amp;gt;org.codehaus.groovy.maven&amp;lt;/groupId&amp;gt;
+                &amp;lt;artifactId&amp;gt;gmaven-plugin&amp;lt;/artifactId&amp;gt;
&lt;/span&gt;&lt;span class=&quot;cx&quot;&gt;                 &amp;lt;executions&amp;gt;
                     &amp;lt;execution&amp;gt;
                         &amp;lt;phase&amp;gt;generate-sources&amp;lt;/phase&amp;gt;
&lt;/span&gt;&lt;/pre&gt;&lt;/div&gt;
&lt;a id=&quot;branchesmule3xmessagingdistributionsstandalonepomxml&quot; target=&quot;_top&quot;&gt;&lt;/a&gt;
&lt;div class=&quot;modfile&quot;&gt;&lt;h4&gt;Modified: branches/mule-3.x-messaging/distributions/standalone/pom.xml (16178 =&gt; 16179)&lt;/h4&gt;
&lt;pre class=&quot;diff&quot;&gt;
&lt;span class=&quot;info&quot;&gt;--- branches/mule-3.x-messaging/distributions/standalone/pom.xml	2009-12-07 04:55:03 UTC (rev 16178)
+++ branches/mule-3.x-messaging/distributions/standalone/pom.xml	2009-12-07 10:32:10 UTC (rev 16179)
&lt;/span&gt;&lt;span class=&quot;lines&quot;&gt;@@ -97,8 +97,8 @@
&lt;/span&gt;&lt;span class=&quot;cx&quot;&gt;             &amp;lt;/plugin&amp;gt;
 
             &amp;lt;plugin&amp;gt;
&lt;/span&gt;&lt;span class=&quot;rem&quot;&gt;-                &amp;lt;groupId&amp;gt;org.codehaus.mojo.groovy&amp;lt;/groupId&amp;gt;
-                &amp;lt;artifactId&amp;gt;groovy-maven-plugin&amp;lt;/artifactId&amp;gt;
&lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+                &amp;lt;groupId&amp;gt;org.codehaus.groovy.maven&amp;lt;/groupId&amp;gt;
+                &amp;lt;artifactId&amp;gt;gmaven-plugin&amp;lt;/artifactId&amp;gt;
&lt;/span&gt;&lt;span class=&quot;cx&quot;&gt;                 &amp;lt;executions&amp;gt;
                     &amp;lt;execution&amp;gt;
                         &amp;lt;phase&amp;gt;generate-sources&amp;lt;/phase&amp;gt;
&lt;/span&gt;&lt;/pre&gt;&lt;/div&gt;
&lt;a id=&quot;branchesmule3xmessagingmodulesmanagementsrcmainjavaorgmulemodulemanagementagentJmxAgentjava&quot; target=&quot;_top&quot;&gt;&lt;/a&gt;
&lt;div class=&quot;modfile&quot;&gt;&lt;h4&gt;Modified: branches/mule-3.x-messaging/modules/management/src/main/java/org/mule/module/management/agent/JmxAgent.java (16178 =&gt; 16179)&lt;/h4&gt;
&lt;pre class=&quot;diff&quot;&gt;
&lt;span class=&quot;info&quot;&gt;--- branches/mule-3.x-messaging/modules/management/src/main/java/org/mule/module/management/agent/JmxAgent.java	2009-12-07 04:55:03 UTC (rev 16178)
+++ branches/mule-3.x-messaging/modules/management/src/main/java/org/mule/module/management/agent/JmxAgent.java	2009-12-07 10:32:10 UTC (rev 16179)
&lt;/span&gt;&lt;span class=&quot;lines&quot;&gt;@@ -164,7 +164,7 @@
&lt;/span&gt;&lt;span class=&quot;cx&quot;&gt;         }
         if (mBeanServer == null &amp;amp;&amp;amp; locateServer)
         {
&lt;/span&gt;&lt;span class=&quot;rem&quot;&gt;-            List l = MBeanServerFactory.findMBeanServer(null);
&lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+            List&amp;lt;?&amp;gt; l = MBeanServerFactory.findMBeanServer(null);
&lt;/span&gt;&lt;span class=&quot;cx&quot;&gt;             if (l != null &amp;amp;&amp;amp; l.size() &amp;gt; 0)
             {
                 mBeanServer = (MBeanServer) l.get(0);
&lt;/span&gt;&lt;span class=&quot;lines&quot;&gt;@@ -312,9 +312,8 @@
&lt;/span&gt;&lt;span class=&quot;cx&quot;&gt;     protected void registerModelServices() throws NotCompliantMBeanException, MBeanRegistrationException,
                                                   InstanceAlreadyExistsException, MalformedObjectNameException
     {
&lt;/span&gt;&lt;span class=&quot;rem&quot;&gt;-        for (Iterator iterator = muleContext.getRegistry().lookupObjects(Model.class).iterator(); iterator.hasNext();)
&lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+        for (Model model : muleContext.getRegistry().lookupObjects(Model.class))
&lt;/span&gt;&lt;span class=&quot;cx&quot;&gt;         {
&lt;/span&gt;&lt;span class=&quot;rem&quot;&gt;-            Model model = (Model) iterator.next();
&lt;/span&gt;&lt;span class=&quot;cx&quot;&gt;             ModelServiceMBean serviceMBean = new ModelService(model);
             String rawName = serviceMBean.getName() + &amp;quot;(&amp;quot; + serviceMBean.getType() + &amp;quot;)&amp;quot;;
             String name = jmxSupport.escape(rawName);
&lt;/span&gt;&lt;span class=&quot;lines&quot;&gt;@@ -345,47 +344,40 @@
&lt;/span&gt;&lt;span class=&quot;cx&quot;&gt;     protected void registerServiceServices() throws NotCompliantMBeanException, MBeanRegistrationException,
             InstanceAlreadyExistsException, MalformedObjectNameException
     {
&lt;/span&gt;&lt;span class=&quot;rem&quot;&gt;-        String rawName;
-        for (Iterator iterator = muleContext.getRegistry().lookupObjects(Service.class).iterator(); iterator.hasNext();)
&lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+        for (Service service : muleContext.getRegistry().lookupObjects(Service.class))
&lt;/span&gt;&lt;span class=&quot;cx&quot;&gt;         {
&lt;/span&gt;&lt;span class=&quot;rem&quot;&gt;-            rawName = ((Service) iterator.next()).getName();
-            final String name = jmxSupport.escape(rawName);
&lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+            String rawName = service.getName();
+            String name = jmxSupport.escape(rawName);
&lt;/span&gt;&lt;span class=&quot;cx&quot;&gt;             ObjectName on = jmxSupport.getObjectName(jmxSupport.getDomainName(muleContext) + &amp;quot;:type=org.mule.Service,name=&amp;quot; + name);
             ServiceServiceMBean serviceMBean = new ServiceService(rawName, muleContext);
             logger.debug(&amp;quot;Registering service with name: &amp;quot; + on);
             mBeanServer.registerMBean(serviceMBean, on);
         }
&lt;/span&gt;&lt;span class=&quot;rem&quot;&gt;-
&lt;/span&gt;&lt;span class=&quot;cx&quot;&gt;     }
 
     protected void registerEndpointServices() throws NotCompliantMBeanException, MBeanRegistrationException,
             InstanceAlreadyExistsException, MalformedObjectNameException
     {
&lt;/span&gt;&lt;span class=&quot;rem&quot;&gt;-        Iterator iter = muleContext.getRegistry().lookupObjects(Connector.class).iterator();
-        Connector connector;
-        while (iter.hasNext())
&lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+        for (Connector connector : muleContext.getRegistry().lookupObjects(Connector.class))
&lt;/span&gt;&lt;span class=&quot;cx&quot;&gt;         {
&lt;/span&gt;&lt;span class=&quot;rem&quot;&gt;-            connector = (Connector) iter.next();
&lt;/span&gt;&lt;span class=&quot;cx&quot;&gt;             if (connector instanceof AbstractConnector)
             {
&lt;/span&gt;&lt;span class=&quot;rem&quot;&gt;-                for (Iterator iterator = ((AbstractConnector) connector).getReceivers().values().iterator(); iterator.hasNext();)
&lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+                for (Iterator&amp;lt;?&amp;gt; iterator = ((AbstractConnector) connector).getReceivers().values().iterator(); iterator.hasNext();)
&lt;/span&gt;&lt;span class=&quot;cx&quot;&gt;                 {
                     EndpointServiceMBean mBean = new EndpointService((MessageReceiver) iterator.next());
&lt;/span&gt;&lt;span class=&quot;rem&quot;&gt;-                    final String rawName = mBean.getName();
-                    final String name = jmxSupport.escape(rawName);
-                    if (logger.isInfoEnabled()) {
-                        logger.info(&amp;quot;Attempting to register service with name: &amp;quot; + jmxSupport.getDomainName(muleContext) +
-                                                    &amp;quot;:type=org.mule.Endpoint,service=&amp;quot; +
-                                                    jmxSupport.escape(mBean.getComponentName()) +
-                                                    &amp;quot;,name=&amp;quot; + name);
&lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+                    
+                    String fullName = buildFullyQualifiedEndpointName(mBean, connector);
+                    if (logger.isInfoEnabled()) 
+                    {
+                        logger.info(&amp;quot;Attempting to register service with name: &amp;quot; + fullName);
&lt;/span&gt;&lt;span class=&quot;cx&quot;&gt;                     }
&lt;/span&gt;&lt;span class=&quot;rem&quot;&gt;-                    ObjectName on = jmxSupport.getObjectName(
-                                                    jmxSupport.getDomainName(muleContext) +
-                                                    &amp;quot;:type=org.mule.Endpoint,service=&amp;quot; +
-                                                    jmxSupport.escape(mBean.getComponentName()) +
-                                                    &amp;quot;,name=&amp;quot; + name);
&lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+                    
+                    ObjectName on = jmxSupport.getObjectName(fullName);
&lt;/span&gt;&lt;span class=&quot;cx&quot;&gt;                     mBeanServer.registerMBean(mBean, on);
&lt;/span&gt;&lt;span class=&quot;rem&quot;&gt;-                    logger.info(&amp;quot;Registered Endpoint Service with name: &amp;quot; + on);
&lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+                    if (logger.isInfoEnabled())
+                    {
+                        logger.info(&amp;quot;Registered Endpoint Service with name: &amp;quot; + on);
+                    }
&lt;/span&gt;&lt;span class=&quot;cx&quot;&gt;                 }
             }
             else
&lt;/span&gt;&lt;span class=&quot;lines&quot;&gt;@@ -396,16 +388,29 @@
&lt;/span&gt;&lt;span class=&quot;cx&quot;&gt;         }
     }
 
&lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+    protected String buildFullyQualifiedEndpointName(EndpointServiceMBean mBean, Connector connector)
+    {
+        String rawName = jmxSupport.escape(mBean.getName());
+        
+        StringBuilder fullName = new StringBuilder(128);
+        fullName.append(jmxSupport.getDomainName(muleContext));
+        fullName.append(&amp;quot;:type=org.mule.Endpoint,service=&amp;quot;);
+        fullName.append(jmxSupport.escape(mBean.getComponentName()));
+        fullName.append(&amp;quot;,connector=&amp;quot;);
+        fullName.append(connector.getName());
+        fullName.append(&amp;quot;,name=&amp;quot;);
+        fullName.append(rawName);
+        return fullName.toString();
+    }
+
&lt;/span&gt;&lt;span class=&quot;cx&quot;&gt;     protected void registerConnectorServices() throws
                                                 MalformedObjectNameException,
                                                 NotCompliantMBeanException,
                                                 MBeanRegistrationException,
                                                 InstanceAlreadyExistsException
     {
&lt;/span&gt;&lt;span class=&quot;rem&quot;&gt;-        Iterator iter = muleContext.getRegistry().lookupObjects(Connector.class).iterator();
-        while (iter.hasNext())
&lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+        for (Connector connector : muleContext.getRegistry().lookupObjects(Connector.class))
&lt;/span&gt;&lt;span class=&quot;cx&quot;&gt;         {
&lt;/span&gt;&lt;span class=&quot;rem&quot;&gt;-            Connector connector = (Connector) iter.next();
&lt;/span&gt;&lt;span class=&quot;cx&quot;&gt;             ConnectorServiceMBean mBean = new ConnectorService(connector);
             final String rawName = mBean.getName();
             final String name = jmxSupport.escape(rawName);
&lt;/span&gt;&lt;span class=&quot;lines&quot;&gt;@@ -420,81 +425,51 @@
&lt;/span&gt;&lt;span class=&quot;cx&quot;&gt;         }
     }
 
&lt;/span&gt;&lt;span class=&quot;rem&quot;&gt;-    /**
-     * @return Returns the createServer.
-     */
&lt;/span&gt;&lt;span class=&quot;cx&quot;&gt;     public boolean isCreateServer()
     {
         return createServer;
     }
 
&lt;/span&gt;&lt;span class=&quot;rem&quot;&gt;-    /**
-     * @param createServer The createServer to set.
-     */
&lt;/span&gt;&lt;span class=&quot;cx&quot;&gt;     public void setCreateServer(boolean createServer)
     {
         this.createServer = createServer;
     }
 
&lt;/span&gt;&lt;span class=&quot;rem&quot;&gt;-    /**
-     * @return Returns the locateServer.
-     */
&lt;/span&gt;&lt;span class=&quot;cx&quot;&gt;     public boolean isLocateServer()
     {
         return locateServer;
     }
 
&lt;/span&gt;&lt;span class=&quot;rem&quot;&gt;-    /**
-     * @param locateServer The locateServer to set.
-     */
&lt;/span&gt;&lt;span class=&quot;cx&quot;&gt;     public void setLocateServer(boolean locateServer)
     {
         this.locateServer = locateServer;
     }
 
&lt;/span&gt;&lt;span class=&quot;rem&quot;&gt;-    /**
-     * @return Returns the connectorServerUrl.
-     */
&lt;/span&gt;&lt;span class=&quot;cx&quot;&gt;     public String getConnectorServerUrl()
     {
         return connectorServerUrl;
     }
 
&lt;/span&gt;&lt;span class=&quot;rem&quot;&gt;-    /**
-     * @param connectorServerUrl The connectorServerUrl to set.
-     */
&lt;/span&gt;&lt;span class=&quot;cx&quot;&gt;     public void setConnectorServerUrl(String connectorServerUrl)
     {
         this.connectorServerUrl = connectorServerUrl;
     }
 
&lt;/span&gt;&lt;span class=&quot;rem&quot;&gt;-    /**
-     * @return Returns the enableStatistics.
-     */
&lt;/span&gt;&lt;span class=&quot;cx&quot;&gt;     public boolean isEnableStatistics()
     {
         return enableStatistics;
     }
 
&lt;/span&gt;&lt;span class=&quot;rem&quot;&gt;-    /**
-     * @param enableStatistics The enableStatistics to set.
-     */
&lt;/span&gt;&lt;span class=&quot;cx&quot;&gt;     public void setEnableStatistics(boolean enableStatistics)
     {
         this.enableStatistics = enableStatistics;
     }
 
&lt;/span&gt;&lt;span class=&quot;rem&quot;&gt;-    /**
-     * @return Returns the mBeanServer.
-     */
&lt;/span&gt;&lt;span class=&quot;cx&quot;&gt;     public MBeanServer getMBeanServer()
     {
         return mBeanServer;
     }
 
&lt;/span&gt;&lt;span class=&quot;rem&quot;&gt;-    /**
-     * @param mBeanServer The mBeanServer to set.
-     */
&lt;/span&gt;&lt;span class=&quot;cx&quot;&gt;     public void setMBeanServer(MBeanServer mBeanServer)
     {
         this.mBeanServer = mBeanServer;
&lt;/span&gt;&lt;span class=&quot;lines&quot;&gt;@@ -546,7 +521,7 @@
&lt;/span&gt;&lt;span class=&quot;cx&quot;&gt;         try
         {
             ObjectName query = jmxSupport.getObjectName(jmxSupport.getDomainName(muleContext) + &amp;quot;:*&amp;quot;);
&lt;/span&gt;&lt;span class=&quot;rem&quot;&gt;-            Set mbeans = mBeanServer.queryNames(query, null);
&lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+            Set&amp;lt;?&amp;gt; mbeans = mBeanServer.queryNames(query, null);
&lt;/span&gt;&lt;span class=&quot;cx&quot;&gt;             while (!mbeans.isEmpty())
             {
                 ObjectName name = (ObjectName) mbeans.iterator().next();
&lt;/span&gt;&lt;/pre&gt;&lt;/div&gt;
&lt;a id=&quot;branchesmule3xmessagingmodulesmanagementsrctestjavaorgmulemanagementJmxDuplicateEndpointNamesTestCasejavafromrev16178branchesmule3xmodulesmanagementsrctestjavaorgmulemanagementJmxDuplicateEndpointNamesTestCasejava&quot; target=&quot;_top&quot;&gt;&lt;/a&gt;
&lt;div class=&quot;copfile&quot;&gt;&lt;h4&gt;Copied: branches/mule-3.x-messaging/modules/management/src/test/java/org/mule/management/JmxDuplicateEndpointNamesTestCase.java (from rev 16178, branches/mule-3.x/modules/management/src/test/java/org/mule/management/JmxDuplicateEndpointNamesTestCase.java) (0 =&gt; 16179)&lt;/h4&gt;
&lt;pre class=&quot;diff&quot;&gt;
&lt;span class=&quot;info&quot;&gt;--- branches/mule-3.x-messaging/modules/management/src/test/java/org/mule/management/JmxDuplicateEndpointNamesTestCase.java	                        (rev 0)
+++ branches/mule-3.x-messaging/modules/management/src/test/java/org/mule/management/JmxDuplicateEndpointNamesTestCase.java	2009-12-07 10:32:10 UTC (rev 16179)
&lt;/span&gt;&lt;span class=&quot;lines&quot;&gt;@@ -0,0 +1,75 @@
&lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+/*
+ * $Id$
+ * --------------------------------------------------------------------------------------
+ * Copyright (c) MuleSource, Inc.  All rights reserved.  http://www.mulesource.com
+ *
+ * The software in this package is published under the terms of the CPAL v1.0
+ * license, a copy of which has been included with this distribution in the
+ * LICENSE.txt file.
+ */
+
+package org.mule.management;
+
+import org.mule.tck.FunctionalTestCase;
+
+import java.util.ArrayList;
+import java.util.List;
+import java.util.Set;
+
+import javax.management.MBeanServer;
+import javax.management.MBeanServerFactory;
+import javax.management.ObjectInstance;
+import javax.management.ObjectName;
+
+public class JmxDuplicateEndpointNamesTestCase extends FunctionalTestCase
+{
+    private List&amp;lt;ObjectInstance&amp;gt; endpointMBeans = new ArrayList&amp;lt;ObjectInstance&amp;gt;();
+    
+    @Override
+    protected String getConfigResources()
+    {
+        return &amp;quot;duplicate-endpoint-addesses.xml&amp;quot;;
+    }
+
+    public void testDuplicateNames()
+    {
+        List&amp;lt;?&amp;gt; mBeanServers = MBeanServerFactory.findMBeanServer(null);
+        assertTrue(&amp;quot;no local MBean server found&amp;quot;, mBeanServers.size() &amp;gt; 0);        
+        
+        inspectMBeanServers(mBeanServers);
+        assertEquals(2, endpointMBeans.size());
+    }
+
+    private void inspectMBeanServers(List&amp;lt;?&amp;gt; mBeanServers)
+    {
+        for (Object o : mBeanServers)
+        {
+            MBeanServer server = (MBeanServer) o;
+            
+            Set&amp;lt;?&amp;gt; mBeans = server.queryMBeans(null, null);
+            assertTrue(&amp;quot;no registered MBeans found&amp;quot;, mBeans.size() &amp;gt; 0);
+            
+            inspectMBeans(mBeans);
+        }
+    }
+
+    private void inspectMBeans(Set&amp;lt;?&amp;gt; mBeans)
+    {
+        for (Object o : mBeans)
+        {
+            ObjectInstance instance = (ObjectInstance) o;
+            if (objectNameMatches(instance))
+            {
+                endpointMBeans.add(instance);
+            }
+        }
+    }
+
+    private boolean objectNameMatches(ObjectInstance instance)
+    {
+        ObjectName name = instance.getObjectName();
+        return name.getCanonicalName().contains(&amp;quot;vmInbound&amp;quot;);    
+    }
+}
+
+
&lt;/span&gt;&lt;/pre&gt;&lt;/div&gt;
&lt;a id=&quot;branchesmule3xmessagingmodulesmanagementsrctestjavaorgmulemanagementsupportJmxSupportTestCasejava&quot; target=&quot;_top&quot;&gt;&lt;/a&gt;
&lt;div class=&quot;modfile&quot;&gt;&lt;h4&gt;Modified: branches/mule-3.x-messaging/modules/management/src/test/java/org/mule/management/support/JmxSupportTestCase.java (16178 =&gt; 16179)&lt;/h4&gt;
&lt;pre class=&quot;diff&quot;&gt;
&lt;span class=&quot;info&quot;&gt;--- branches/mule-3.x-messaging/modules/management/src/test/java/org/mule/management/support/JmxSupportTestCase.java	2009-12-07 04:55:03 UTC (rev 16178)
+++ branches/mule-3.x-messaging/modules/management/src/test/java/org/mule/management/support/JmxSupportTestCase.java	2009-12-07 10:32:10 UTC (rev 16179)
&lt;/span&gt;&lt;span class=&quot;lines&quot;&gt;@@ -48,7 +48,7 @@
&lt;/span&gt;&lt;span class=&quot;cx&quot;&gt;         muleContext.getRegistry().registerAgent(agent);
         muleContext.start();
 
&lt;/span&gt;&lt;span class=&quot;rem&quot;&gt;-        List domains = Arrays.asList(mBeanServer.getDomains());
&lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+        List&amp;lt;String&amp;gt; domains = Arrays.asList(mBeanServer.getDomains());
&lt;/span&gt;&lt;span class=&quot;cx&quot;&gt;         assertTrue(&amp;quot;Should have contained an original domain.&amp;quot;, domains.contains(TEST_DOMAIN));
         assertTrue(&amp;quot;Should have contained a new domain.&amp;quot;, domains.contains(TEST_DOMAIN + &amp;quot;.1&amp;quot;));
     }
&lt;/span&gt;&lt;span class=&quot;lines&quot;&gt;@@ -76,7 +76,7 @@
&lt;/span&gt;&lt;span class=&quot;cx&quot;&gt;         muleContext.getRegistry().registerAgent(agent);
         muleContext.start();
 
&lt;/span&gt;&lt;span class=&quot;rem&quot;&gt;-        List domains = Arrays.asList(mBeanServer.getDomains());
&lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+        List&amp;lt;String&amp;gt; domains = Arrays.asList(mBeanServer.getDomains());
&lt;/span&gt;&lt;span class=&quot;cx&quot;&gt;         // one extra domain created by Mule&amp;#39;s clash resolution
         assertEquals(&amp;quot;Wrong number of domains created.&amp;quot;,
                      numOriginalDomains + 3, domains.size());
&lt;/span&gt;&lt;span class=&quot;lines&quot;&gt;@@ -86,6 +86,7 @@
&lt;/span&gt;&lt;span class=&quot;cx&quot;&gt;         assertTrue(&amp;quot;Should have contained a new domain.&amp;quot;, domains.contains(TEST_DOMAIN + &amp;quot;.2&amp;quot;));
     }
     
&lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+    @Override
&lt;/span&gt;&lt;span class=&quot;cx&quot;&gt;     protected void doTearDown() throws Exception
     {
         // This MBean was registered manually so needs to be unregistered manually in tearDown()
&lt;/span&gt;&lt;/pre&gt;&lt;/div&gt;
&lt;a id=&quot;branchesmule3xmessagingmodulesmanagementsrctestresourcesduplicateendpointaddessesxmlfromrev16178branchesmule3xmodulesmanagementsrctestresourcesduplicateendpointaddessesxml&quot; target=&quot;_top&quot;&gt;&lt;/a&gt;
&lt;div class=&quot;copfile&quot;&gt;&lt;h4&gt;Copied: branches/mule-3.x-messaging/modules/management/src/test/resources/duplicate-endpoint-addesses.xml (from rev 16178, branches/mule-3.x/modules/management/src/test/resources/duplicate-endpoint-addesses.xml) (0 =&gt; 16179)&lt;/h4&gt;
&lt;pre class=&quot;diff&quot;&gt;
&lt;span class=&quot;info&quot;&gt;--- branches/mule-3.x-messaging/modules/management/src/test/resources/duplicate-endpoint-addesses.xml	                        (rev 0)
+++ branches/mule-3.x-messaging/modules/management/src/test/resources/duplicate-endpoint-addesses.xml	2009-12-07 10:32:10 UTC (rev 16179)
&lt;/span&gt;&lt;span class=&quot;lines&quot;&gt;@@ -0,0 +1,30 @@
&lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+&amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;UTF-8&amp;quot;?&amp;gt;
+&amp;lt;mule xmlns=&amp;quot;http://www.mulesoft.org/schema/mule/core&amp;quot;
+      xmlns:xsi=&amp;quot;http://www.w3.org/2001/XMLSchema-instance&amp;quot;
+      xmlns:spring=&amp;quot;http://www.springframework.org/schema/beans&amp;quot;
+      xmlns:management=&amp;quot;http://www.mulesoft.org/schema/mule/management&amp;quot;
+      xmlns:vm=&amp;quot;http://www.mulesoft.org/schema/mule/vm&amp;quot;
+      xsi:schemaLocation=&amp;quot;
+        http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.5.xsd
+        http://www.mulesoft.org/schema/mule/core http://www.mulesoft.org/schema/mule/core/3.0/mule.xsd
+        http://www.mulesoft.org/schema/mule/management http://www.mulesoft.org/schema/mule/management/3.0/mule-management.xsd
+        http://www.mulesoft.org/schema/mule/vm http://www.mulesoft.org/schema/mule/vm/3.0/mule-vm.xsd&amp;quot;&amp;gt;
+
+    &amp;lt;vm:connector name=&amp;quot;connector1&amp;quot;/&amp;gt;
+    &amp;lt;vm:connector name=&amp;quot;connector2&amp;quot;/&amp;gt;
+
+    &amp;lt;management:jmx-default-config/&amp;gt;
+
+    &amp;lt;!-- the two endpoints share the same path but must have different names in JMX --&amp;gt;
+    &amp;lt;vm:endpoint name=&amp;quot;ep1&amp;quot; path=&amp;quot;vmInbound&amp;quot; /&amp;gt;
+    &amp;lt;vm:endpoint name=&amp;quot;ep2&amp;quot; path=&amp;quot;vmInbound&amp;quot; /&amp;gt;
+
+    &amp;lt;model&amp;gt;
+        &amp;lt;service name=&amp;quot;EndpointsWithIdenticalName&amp;quot;&amp;gt;
+            &amp;lt;inbound&amp;gt;
+                &amp;lt;vm:inbound-endpoint ref=&amp;quot;ep1&amp;quot; connector-ref=&amp;quot;connector1&amp;quot;/&amp;gt;
+                &amp;lt;vm:inbound-endpoint ref=&amp;quot;ep2&amp;quot; connector-ref=&amp;quot;connector2&amp;quot;/&amp;gt;
+            &amp;lt;/inbound&amp;gt;
+        &amp;lt;/service&amp;gt;
+    &amp;lt;/model&amp;gt;
+&amp;lt;/mule&amp;gt;
&lt;/span&gt;&lt;/pre&gt;&lt;/div&gt;
&lt;a id=&quot;branchesmule3xmessagingpomxml&quot; target=&quot;_top&quot;&gt;&lt;/a&gt;
&lt;div class=&quot;modfile&quot;&gt;&lt;h4&gt;Modified: branches/mule-3.x-messaging/pom.xml (16178 =&gt; 16179)&lt;/h4&gt;
&lt;pre class=&quot;diff&quot;&gt;
&lt;span class=&quot;info&quot;&gt;--- branches/mule-3.x-messaging/pom.xml	2009-12-07 04:55:03 UTC (rev 16178)
+++ branches/mule-3.x-messaging/pom.xml	2009-12-07 10:32:10 UTC (rev 16179)
&lt;/span&gt;&lt;span class=&quot;lines&quot;&gt;@@ -1368,9 +1368,9 @@
&lt;/span&gt;&lt;span class=&quot;cx&quot;&gt;                     &amp;lt;version&amp;gt;2.0-beta-7&amp;lt;/version&amp;gt;
                 &amp;lt;/plugin&amp;gt;
                 &amp;lt;plugin&amp;gt;
&lt;/span&gt;&lt;span class=&quot;rem&quot;&gt;-                    &amp;lt;groupId&amp;gt;org.codehaus.mojo.groovy&amp;lt;/groupId&amp;gt;
-                    &amp;lt;artifactId&amp;gt;groovy-maven-plugin&amp;lt;/artifactId&amp;gt;
-                    &amp;lt;version&amp;gt;1.0-beta-3&amp;lt;/version&amp;gt;
&lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+                    &amp;lt;groupId&amp;gt;org.codehaus.groovy.maven&amp;lt;/groupId&amp;gt;
+                    &amp;lt;artifactId&amp;gt;gmaven-plugin&amp;lt;/artifactId&amp;gt;
+                    &amp;lt;version&amp;gt;1.0&amp;lt;/version&amp;gt;
&lt;/span&gt;&lt;span class=&quot;cx&quot;&gt;                 &amp;lt;/plugin&amp;gt;
             &amp;lt;/plugins&amp;gt;
         &amp;lt;/pluginManagement&amp;gt;
&lt;/span&gt;&lt;/pre&gt;&lt;/div&gt;
&lt;a id=&quot;branchesmule3xmessagingtestsarchetypesRunArchetypegroovy&quot; target=&quot;_top&quot;&gt;&lt;/a&gt;
&lt;div class=&quot;modfile&quot;&gt;&lt;h4&gt;Modified: branches/mule-3.x-messaging/tests/archetypes/RunArchetype.groovy (16178 =&gt; 16179)&lt;/h4&gt;
&lt;pre class=&quot;diff&quot;&gt;
&lt;span class=&quot;info&quot;&gt;--- branches/mule-3.x-messaging/tests/archetypes/RunArchetype.groovy	2009-12-07 04:55:03 UTC (rev 16178)
+++ branches/mule-3.x-messaging/tests/archetypes/RunArchetype.groovy	2009-12-07 10:32:10 UTC (rev 16179)
&lt;/span&gt;&lt;span class=&quot;lines&quot;&gt;@@ -27,11 +27,16 @@
&lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; // make sure that the output dir is created before the actual Maven run that follows now
 existingProjectDir.mkdirs()
 
&lt;/span&gt;&lt;span class=&quot;rem&quot;&gt;-/*
- * run Maven archetype
- */
-def cmdline = &amp;quot;-o &amp;quot;
&lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+// determine the local repository to use. Users may have specified a different local
+// repo when invoking the original Maven bulid (-Dmaven.repo.local=xxx). Of course
+// we need to use the same local repository on the forked Maven invocation
+localRepoArgument = &amp;quot;-Dmaven.repo.local=${settings.localRepository}&amp;quot;
&lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; 
&lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+//
+// run Maven archetype
+//
+def cmdline = &amp;quot;-o ${localRepoArgument} &amp;quot;
+
&lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; if (project.properties.archetype == null)
 {
     fail(&amp;quot;Specify the archetype to be invoked via a property named &amp;#39;archetype&amp;#39; in the config section of the groovy-maven-plugin that invokes this script&amp;quot;)
&lt;/span&gt;&lt;span class=&quot;lines&quot;&gt;@@ -53,7 +58,7 @@
&lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; 
 // now that the source is generated, compile it using Maven
 // Do not run &amp;quot;mvn test&amp;quot; here since the generated source is not testable as is
&lt;/span&gt;&lt;span class=&quot;rem&quot;&gt;-cmdline = &amp;quot;test-compile&amp;quot;
&lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+cmdline = &amp;quot;${localRepoArgument} test-compile&amp;quot;
&lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; runMaven(cmdline, existingProjectDir)
 
 def runMaven(String commandline, File directory)
&lt;/span&gt;&lt;/pre&gt;&lt;/div&gt;
&lt;a id=&quot;branchesmule3xmessagingtestsarchetypesexamplearchetypepomxml&quot; target=&quot;_top&quot;&gt;&lt;/a&gt;
&lt;div class=&quot;modfile&quot;&gt;&lt;h4&gt;Modified: branches/mule-3.x-messaging/tests/archetypes/example-archetype/pom.xml (16178 =&gt; 16179)&lt;/h4&gt;
&lt;pre class=&quot;diff&quot;&gt;
&lt;span class=&quot;info&quot;&gt;--- branches/mule-3.x-messaging/tests/archetypes/example-archetype/pom.xml	2009-12-07 04:55:03 UTC (rev 16178)
+++ branches/mule-3.x-messaging/tests/archetypes/example-archetype/pom.xml	2009-12-07 10:32:10 UTC (rev 16179)
&lt;/span&gt;&lt;span class=&quot;lines&quot;&gt;@@ -44,8 +44,8 @@
&lt;/span&gt;&lt;span class=&quot;cx&quot;&gt;     &amp;lt;build&amp;gt;
         &amp;lt;plugins&amp;gt;
             &amp;lt;plugin&amp;gt;
&lt;/span&gt;&lt;span class=&quot;rem&quot;&gt;-                &amp;lt;groupId&amp;gt;org.codehaus.mojo.groovy&amp;lt;/groupId&amp;gt;
-                &amp;lt;artifactId&amp;gt;groovy-maven-plugin&amp;lt;/artifactId&amp;gt;
&lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+                &amp;lt;groupId&amp;gt;org.codehaus.groovy.maven&amp;lt;/groupId&amp;gt;
+                &amp;lt;artifactId&amp;gt;gmaven-plugin&amp;lt;/artifactId&amp;gt;
&lt;/span&gt;&lt;span class=&quot;cx&quot;&gt;             &amp;lt;/plugin&amp;gt;
         &amp;lt;/plugins&amp;gt;
     &amp;lt;/build&amp;gt;
&lt;/span&gt;&lt;/pre&gt;&lt;/div&gt;
&lt;a id=&quot;branchesmule3xmessagingtestsarchetypesmodulearchetypepomxml&quot; target=&quot;_top&quot;&gt;&lt;/a&gt;
&lt;div class=&quot;modfile&quot;&gt;&lt;h4&gt;Modified: branches/mule-3.x-messaging/tests/archetypes/module-archetype/pom.xml (16178 =&gt; 16179)&lt;/h4&gt;
&lt;pre class=&quot;diff&quot;&gt;
&lt;span class=&quot;info&quot;&gt;--- branches/mule-3.x-messaging/tests/archetypes/module-archetype/pom.xml	2009-12-07 04:55:03 UTC (rev 16178)
+++ branches/mule-3.x-messaging/tests/archetypes/module-archetype/pom.xml	2009-12-07 10:32:10 UTC (rev 16179)
&lt;/span&gt;&lt;span class=&quot;lines&quot;&gt;@@ -44,8 +44,8 @@
&lt;/span&gt;&lt;span class=&quot;cx&quot;&gt;     &amp;lt;build&amp;gt;
         &amp;lt;plugins&amp;gt;
             &amp;lt;plugin&amp;gt;
&lt;/span&gt;&lt;span class=&quot;rem&quot;&gt;-                &amp;lt;groupId&amp;gt;org.codehaus.mojo.groovy&amp;lt;/groupId&amp;gt;
-                &amp;lt;artifactId&amp;gt;groovy-maven-plugin&amp;lt;/artifactId&amp;gt;
&lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+                &amp;lt;groupId&amp;gt;org.codehaus.groovy.maven&amp;lt;/groupId&amp;gt;
+                &amp;lt;artifactId&amp;gt;gmaven-plugin&amp;lt;/artifactId&amp;gt;
&lt;/span&gt;&lt;span class=&quot;cx&quot;&gt;             &amp;lt;/plugin&amp;gt;
         &amp;lt;/plugins&amp;gt;
     &amp;lt;/build&amp;gt;
&lt;/span&gt;&lt;/pre&gt;&lt;/div&gt;
&lt;a id=&quot;branchesmule3xmessagingtestsarchetypespomxml&quot; target=&quot;_top&quot;&gt;&lt;/a&gt;
&lt;div class=&quot;modfile&quot;&gt;&lt;h4&gt;Modified: branches/mule-3.x-messaging/tests/archetypes/pom.xml (16178 =&gt; 16179)&lt;/h4&gt;
&lt;pre class=&quot;diff&quot;&gt;
&lt;span class=&quot;info&quot;&gt;--- branches/mule-3.x-messaging/tests/archetypes/pom.xml	2009-12-07 04:55:03 UTC (rev 16178)
+++ branches/mule-3.x-messaging/tests/archetypes/pom.xml	2009-12-07 10:32:10 UTC (rev 16179)
&lt;/span&gt;&lt;span class=&quot;lines&quot;&gt;@@ -36,8 +36,8 @@
&lt;/span&gt;&lt;span class=&quot;cx&quot;&gt;                 &amp;lt;pluginManagement&amp;gt;
                     &amp;lt;plugins&amp;gt;
                         &amp;lt;plugin&amp;gt;
&lt;/span&gt;&lt;span class=&quot;rem&quot;&gt;-                            &amp;lt;groupId&amp;gt;org.codehaus.mojo.groovy&amp;lt;/groupId&amp;gt;
-                            &amp;lt;artifactId&amp;gt;groovy-maven-plugin&amp;lt;/artifactId&amp;gt;
&lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+                            &amp;lt;groupId&amp;gt;org.codehaus.groovy.maven&amp;lt;/groupId&amp;gt;
+                            &amp;lt;artifactId&amp;gt;gmaven-plugin&amp;lt;/artifactId&amp;gt;
&lt;/span&gt;&lt;span class=&quot;cx&quot;&gt;                             &amp;lt;executions&amp;gt;
                                 &amp;lt;execution&amp;gt;
                                     &amp;lt;phase&amp;gt;generate-test-sources&amp;lt;/phase&amp;gt;
&lt;/span&gt;&lt;span class=&quot;lines&quot;&gt;@@ -60,8 +60,6 @@
&lt;/span&gt;&lt;span class=&quot;cx&quot;&gt;                     &amp;lt;/plugins&amp;gt;
                 &amp;lt;/pluginManagement&amp;gt;
             &amp;lt;/build&amp;gt;
&lt;/span&gt;&lt;span class=&quot;rem&quot;&gt;-
&lt;/span&gt;&lt;span class=&quot;cx&quot;&gt;         &amp;lt;/profile&amp;gt;
     &amp;lt;/profiles&amp;gt;
&lt;/span&gt;&lt;span class=&quot;rem&quot;&gt;-
&lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; &amp;lt;/project&amp;gt;
&lt;/span&gt;&lt;/pre&gt;&lt;/div&gt;
&lt;a id=&quot;branchesmule3xmessagingtestsarchetypesprojectarchetypepomxml&quot; target=&quot;_top&quot;&gt;&lt;/a&gt;
&lt;div class=&quot;modfile&quot;&gt;&lt;h4&gt;Modified: branches/mule-3.x-messaging/tests/archetypes/project-archetype/pom.xml (16178 =&gt; 16179)&lt;/h4&gt;
&lt;pre class=&quot;diff&quot;&gt;
&lt;span class=&quot;info&quot;&gt;--- branches/mule-3.x-messaging/tests/archetypes/project-archetype/pom.xml	2009-12-07 04:55:03 UTC (rev 16178)
+++ branches/mule-3.x-messaging/tests/archetypes/project-archetype/pom.xml	2009-12-07 10:32:10 UTC (rev 16179)
&lt;/span&gt;&lt;span class=&quot;lines&quot;&gt;@@ -44,8 +44,8 @@
&lt;/span&gt;&lt;span class=&quot;cx&quot;&gt;     &amp;lt;build&amp;gt;
         &amp;lt;plugins&amp;gt;
             &amp;lt;plugin&amp;gt;
&lt;/span&gt;&lt;span class=&quot;rem&quot;&gt;-                &amp;lt;groupId&amp;gt;org.codehaus.mojo.groovy&amp;lt;/groupId&amp;gt;
-                &amp;lt;artifactId&amp;gt;groovy-maven-plugin&amp;lt;/artifactId&amp;gt;
&lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+                &amp;lt;groupId&amp;gt;org.codehaus.groovy.maven&amp;lt;/groupId&amp;gt;
+                &amp;lt;artifactId&amp;gt;gmaven-plugin&amp;lt;/artifactId&amp;gt;
&lt;/span&gt;&lt;span class=&quot;cx&quot;&gt;             &amp;lt;/plugin&amp;gt;
         &amp;lt;/plugins&amp;gt;
     &amp;lt;/build&amp;gt;
&lt;/span&gt;&lt;/pre&gt;&lt;/div&gt;
&lt;a id=&quot;branchesmule3xmessagingtestsarchetypestransportarchetypepomxml&quot; target=&quot;_top&quot;&gt;&lt;/a&gt;
&lt;div class=&quot;modfile&quot;&gt;&lt;h4&gt;Modified: branches/mule-3.x-messaging/tests/archetypes/transport-archetype/pom.xml (16178 =&gt; 16179)&lt;/h4&gt;
&lt;pre class=&quot;diff&quot;&gt;
&lt;span class=&quot;info&quot;&gt;--- branches/mule-3.x-messaging/tests/archetypes/transport-archetype/pom.xml	2009-12-07 04:55:03 UTC (rev 16178)
+++ branches/mule-3.x-messaging/tests/archetypes/transport-archetype/pom.xml	2009-12-07 10:32:10 UTC (rev 16179)
&lt;/span&gt;&lt;span class=&quot;lines&quot;&gt;@@ -44,9 +44,9 @@
&lt;/span&gt;&lt;span class=&quot;cx&quot;&gt;     &amp;lt;build&amp;gt;
         &amp;lt;plugins&amp;gt;
             &amp;lt;plugin&amp;gt;
&lt;/span&gt;&lt;span class=&quot;rem&quot;&gt;-                &amp;lt;groupId&amp;gt;org.codehaus.mojo.groovy&amp;lt;/groupId&amp;gt;
-                &amp;lt;artifactId&amp;gt;groovy-maven-plugin&amp;lt;/artifactId&amp;gt;
&lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+                &amp;lt;groupId&amp;gt;org.codehaus.groovy.maven&amp;lt;/groupId&amp;gt;
+                &amp;lt;artifactId&amp;gt;gmaven-plugin&amp;lt;/artifactId&amp;gt;
&lt;/span&gt;&lt;span class=&quot;cx&quot;&gt;             &amp;lt;/plugin&amp;gt;
         &amp;lt;/plugins&amp;gt;
     &amp;lt;/build&amp;gt;
&lt;/span&gt;&lt;span class=&quot;rem&quot;&gt;-&amp;lt;/project&amp;gt;
&lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+&amp;lt;/project&amp;gt;
&lt;/span&gt;&lt;span class=&quot;cx&quot;&gt;\ No newline at end of file
&lt;/span&gt;&lt;/pre&gt;&lt;/div&gt;
&lt;a id=&quot;branchesmule3xmessagingtestsintegrationsrctestjavaorgmuletestintegrationmessagingmepsInOptionalOutOutOnlyJMSTestCasejava&quot; target=&quot;_top&quot;&gt;&lt;/a&gt;
&lt;div class=&quot;modfile&quot;&gt;&lt;h4&gt;Modified: branches/mule-3.x-messaging/tests/integration/src/test/java/org/mule/test/integration/messaging/meps/InOptionalOutOutOnlyJMSTestCase.java (16178 =&gt; 16179)&lt;/h4&gt;
&lt;pre class=&quot;diff&quot;&gt;
&lt;span class=&quot;info&quot;&gt;--- branches/mule-3.x-messaging/tests/integration/src/test/java/org/mule/test/integration/messaging/meps/InOptionalOutOutOnlyJMSTestCase.java	2009-12-07 04:55:03 UTC (rev 16178)
+++ branches/mule-3.x-messaging/tests/integration/src/test/java/org/mule/test/integration/messaging/meps/InOptionalOutOutOnlyJMSTestCase.java	2009-12-07 10:32:10 UTC (rev 16179)
&lt;/span&gt;&lt;span class=&quot;lines&quot;&gt;@@ -54,7 +54,7 @@
&lt;/span&gt;&lt;span class=&quot;cx&quot;&gt;         assertNotNull(result);
         assertEquals(NullPayload.getInstance(), result.getPayload());
 
&lt;/span&gt;&lt;span class=&quot;rem&quot;&gt;-        Map props = new HashMap();
&lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+        Map&amp;lt;String, String&amp;gt; props = new HashMap&amp;lt;String, String&amp;gt;();
&lt;/span&gt;&lt;span class=&quot;cx&quot;&gt;         props.put(&amp;quot;foo&amp;quot;, &amp;quot;bar&amp;quot;);
         result = client.send(&amp;quot;inboundEndpoint&amp;quot;, &amp;quot;some data&amp;quot;, props, 20000);
         
&lt;/span&gt;&lt;/pre&gt;&lt;/div&gt;
&lt;a id=&quot;branchesmule3xmessagingtestsintegrationsrctestresourcesorgmuletestintegrationmessagingmepspattern_InOptionalOut_OutOnly_JMSxml&quot; target=&quot;_top&quot;&gt;&lt;/a&gt;
&lt;div class=&quot;modfile&quot;&gt;&lt;h4&gt;Modified: branches/mule-3.x-messaging/tests/integration/src/test/resources/org/mule/test/integration/messaging/meps/pattern_In-Optional-Out_Out-Only_JMS.xml (16178 =&gt; 16179)&lt;/h4&gt;
&lt;pre class=&quot;diff&quot;&gt;
&lt;span class=&quot;info&quot;&gt;--- branches/mule-3.x-messaging/tests/integration/src/test/resources/org/mule/test/integration/messaging/meps/pattern_In-Optional-Out_Out-Only_JMS.xml	2009-12-07 04:55:03 UTC (rev 16178)
+++ branches/mule-3.x-messaging/tests/integration/src/test/resources/org/mule/test/integration/messaging/meps/pattern_In-Optional-Out_Out-Only_JMS.xml	2009-12-07 10:32:10 UTC (rev 16179)
&lt;/span&gt;&lt;span class=&quot;lines&quot;&gt;@@ -1,19 +1,19 @@
&lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; &amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;UTF-8&amp;quot;?&amp;gt;
&lt;/span&gt;&lt;span class=&quot;rem&quot;&gt;-&amp;lt;mule xmlns=&amp;quot;http://www.mulesource.org/schema/mule/core&amp;quot;
&lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+&amp;lt;mule xmlns=&amp;quot;http://www.mulesoft.org/schema/mule/core&amp;quot;
&lt;/span&gt;&lt;span class=&quot;cx&quot;&gt;       xmlns:xsi=&amp;quot;http://www.w3.org/2001/XMLSchema-instance&amp;quot;
       xmlns:spring=&amp;quot;http://www.springframework.org/schema/beans&amp;quot;
&lt;/span&gt;&lt;span class=&quot;rem&quot;&gt;-      xmlns:vm=&amp;quot;http://www.mulesource.org/schema/mule/vm&amp;quot;
-      xmlns:test=&amp;quot;http://www.mulesource.org/schema/mule/test&amp;quot;
-      xmlns:script=&amp;quot;http://www.mulesource.org/schema/mule/scripting&amp;quot;
-      xmlns:http=&amp;quot;http://www.mulesource.org/schema/mule/http&amp;quot;
-      xmlns:jms=&amp;quot;http://www.mulesource.org/schema/mule/jms&amp;quot;
&lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+      xmlns:vm=&amp;quot;http://www.mulesoft.org/schema/mule/vm&amp;quot;
+      xmlns:test=&amp;quot;http://www.mulesoft.org/schema/mule/test&amp;quot;
+      xmlns:script=&amp;quot;http://www.mulesoft.org/schema/mule/scripting&amp;quot;
+      xmlns:http=&amp;quot;http://www.mulesoft.org/schema/mule/http&amp;quot;
+      xmlns:jms=&amp;quot;http://www.mulesoft.org/schema/mule/jms&amp;quot;
&lt;/span&gt;&lt;span class=&quot;cx&quot;&gt;       xsi:schemaLocation=&amp;quot;
&lt;/span&gt;&lt;span class=&quot;rem&quot;&gt;-       http://www.mulesource.org/schema/mule/http http://www.mulesource.org/schema/mule/http/3.0/mule-http.xsd
-       http://www.mulesource.org/schema/mule/scripting http://www.mulesource.org/schema/mule/scripting/3.0/mule-scripting.xsd
-       http://www.mulesource.org/schema/mule/test http://www.mulesource.org/schema/mule/test/3.0/mule-test.xsd
-       http://www.mulesource.org/schema/mule/vm http://www.mulesource.org/schema/mule/vm/3.0/mule-vm.xsd
-       http://www.mulesource.org/schema/mule/core http://www.mulesource.org/schema/mule/core/3.0/mule.xsd
-       http://www.mulesource.org/schema/mule/jms http://www.mulesource.org/schema/mule/jms/3.0/mule-jms.xsd
&lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+       http://www.mulesoft.org/schema/mule/http http://www.mulesoft.org/schema/mule/http/3.0/mule-http.xsd
+       http://www.mulesoft.org/schema/mule/scripting http://www.mulesoft.org/schema/mule/scripting/3.0/mule-scripting.xsd
+       http://www.mulesoft.org/schema/mule/test http://www.mulesoft.org/schema/mule/test/3.0/mule-test.xsd
+       http://www.mulesoft.org/schema/mule/vm http://www.mulesoft.org/schema/mule/vm/3.0/mule-vm.xsd
+       http://www.mulesoft.org/schema/mule/core http://www.mulesoft.org/schema/mule/core/3.0/mule.xsd
+       http://www.mulesoft.org/schema/mule/jms http://www.mulesoft.org/schema/mule/jms/3.0/mule-jms.xsd
&lt;/span&gt;&lt;span class=&quot;cx&quot;&gt;        http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.5.xsd&amp;quot;&amp;gt;
 
     &amp;lt;!--// START SNIPPET: full-config --&amp;gt;
&lt;/span&gt;&lt;span class=&quot;lines&quot;&gt;@@ -22,7 +22,7 @@
&lt;/span&gt;&lt;span class=&quot;cx&quot;&gt;         outbound router. If a result is returned from the component it is returned back to the calling party.
     &amp;lt;/description&amp;gt;
 
&lt;/span&gt;&lt;span class=&quot;rem&quot;&gt;-    &amp;lt;vm:connector name=&amp;quot;vmConnector&amp;quot; queueEvents=&amp;quot;true&amp;quot;/&amp;gt;
&lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+    &amp;lt;vm:connector name=&amp;quot;vmConnector&amp;quot;/&amp;gt;
&lt;/span&gt;&lt;span class=&quot;cx&quot;&gt;     &amp;lt;jms:activemq-connector name=&amp;quot;jmsConnector&amp;quot; brokerURL=&amp;quot;tcp://localhost:61616&amp;quot;/&amp;gt;
 
     &amp;lt;vm:endpoint path=&amp;quot;test.inbound&amp;quot; name=&amp;quot;inboundEndpoint&amp;quot; synchronous=&amp;quot;true&amp;quot;/&amp;gt;
&lt;/span&gt;&lt;/pre&gt;&lt;/div&gt;
&lt;a id=&quot;branchesmule3xmessagingtransportshttpsrctestjavaorgmuletransporthttpissuesHttpMessageReceiverMule4456TestCasejava&quot; target=&quot;_top&quot;&gt;&lt;/a&gt;
&lt;div class=&quot;modfile&quot;&gt;&lt;h4&gt;Modified: branches/mule-3.x-messaging/transports/http/src/test/java/org/mule/transport/http/issues/HttpMessageReceiverMule4456TestCase.java (16178 =&gt; 16179)&lt;/h4&gt;
&lt;pre class=&quot;diff&quot;&gt;
&lt;span class=&quot;info&quot;&gt;--- branches/mule-3.x-messaging/transports/http/src/test/java/org/mule/transport/http/issues/HttpMessageReceiverMule4456TestCase.java	2009-12-07 04:55:03 UTC (rev 16178)
+++ branches/mule-3.x-messaging/transports/http/src/test/java/org/mule/transport/http/issues/HttpMessageReceiverMule4456TestCase.java	2009-12-07 10:32:10 UTC (rev 16179)
&lt;/span&gt;&lt;span class=&quot;lines&quot;&gt;@@ -58,14 +58,14 @@
&lt;/span&gt;&lt;span class=&quot;cx&quot;&gt;         FunctionalTestComponent component = (FunctionalTestComponent) getComponent(&amp;quot;AsyncService&amp;quot;);
         component.setEventCallback(new EventCallback()
         {
&lt;/span&gt;&lt;span class=&quot;rem&quot;&gt;-            public void eventReceived(MuleEventContext context, Object component) throws Exception
&lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+            public void eventReceived(MuleEventContext context, Object comp) throws Exception
&lt;/span&gt;&lt;span class=&quot;cx&quot;&gt;             {
                 Thread.sleep(200);
                 context.getMessageAsString();
             }
         });
 
&lt;/span&gt;&lt;span class=&quot;rem&quot;&gt;-        PostMethod request = new PostMethod(&amp;quot;http://localhost:8000&amp;quot;);
&lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+        PostMethod request = new PostMethod(&amp;quot;http://localhost:60217&amp;quot;);
&lt;/span&gt;&lt;span class=&quot;cx&quot;&gt;         RequestEntity entity = new StringRequestEntity(MESSAGE, &amp;quot;text/plain&amp;quot;, muleContext.getConfiguration()
             .getDefaultEncoding());
         request.setRequestEntity(entity);
&lt;/span&gt;&lt;span class=&quot;lines&quot;&gt;@@ -81,14 +81,14 @@
&lt;/span&gt;&lt;span class=&quot;cx&quot;&gt;         FunctionalTestComponent component = (FunctionalTestComponent) getComponent(&amp;quot;AsyncPersistentQueueService&amp;quot;);
         component.setEventCallback(new EventCallback()
         {
&lt;/span&gt;&lt;span class=&quot;rem&quot;&gt;-            public void eventReceived(MuleEventContext context, Object component) throws Exception
&lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+            public void eventReceived(MuleEventContext context, Object comp) throws Exception
&lt;/span&gt;&lt;span class=&quot;cx&quot;&gt;             {
                 Thread.sleep(200);
                 context.getMessageAsString();
             }
         });
 
&lt;/span&gt;&lt;span class=&quot;rem&quot;&gt;-        PostMethod request = new PostMethod(&amp;quot;http://localhost:8001&amp;quot;);
&lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+        PostMethod request = new PostMethod(&amp;quot;http://localhost:60218&amp;quot;);
&lt;/span&gt;&lt;span class=&quot;cx&quot;&gt;         RequestEntity entity = new StringRequestEntity(MESSAGE, &amp;quot;text/plain&amp;quot;, muleContext.getConfiguration()
             .getDefaultEncoding());
         request.setRequestEntity(entity);
&lt;/span&gt;&lt;/pre&gt;&lt;/div&gt;
&lt;a id=&quot;branchesmule3xmessagingtransportshttpsrctestresourceshttpreceivermule4456configxml&quot; target=&quot;_top&quot;&gt;&lt;/a&gt;
&lt;div class=&quot;modfile&quot;&gt;&lt;h4&gt;Modified: branches/mule-3.x-messaging/transports/http/src/test/resources/http-receiver-mule4456-config.xml (16178 =&gt; 16179)&lt;/h4&gt;
&lt;pre class=&quot;diff&quot;&gt;
&lt;span class=&quot;info&quot;&gt;--- branches/mule-3.x-messaging/transports/http/src/test/resources/http-receiver-mule4456-config.xml	2009-12-07 04:55:03 UTC (rev 16178)
+++ branches/mule-3.x-messaging/transports/http/src/test/resources/http-receiver-mule4456-config.xml	2009-12-07 10:32:10 UTC (rev 16179)
&lt;/span&gt;&lt;span class=&quot;lines&quot;&gt;@@ -14,10 +14,9 @@
&lt;/span&gt;&lt;span class=&quot;cx&quot;&gt;     &amp;lt;vm:connector name=&amp;quot;vm&amp;quot;/&amp;gt;
     
     &amp;lt;model&amp;gt;
&lt;/span&gt;&lt;span class=&quot;rem&quot;&gt;-
&lt;/span&gt;&lt;span class=&quot;cx&quot;&gt;         &amp;lt;service name=&amp;quot;AsyncPersistentQueueService&amp;quot;&amp;gt;
             &amp;lt;inbound&amp;gt;
&lt;/span&gt;&lt;span class=&quot;rem&quot;&gt;-                &amp;lt;http:inbound-endpoint host=&amp;quot;localhost&amp;quot; port=&amp;quot;8000&amp;quot; synchronous=&amp;quot;false&amp;quot;/&amp;gt;
&lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+                &amp;lt;http:inbound-endpoint host=&amp;quot;localhost&amp;quot; port=&amp;quot;60217&amp;quot; synchronous=&amp;quot;false&amp;quot;/&amp;gt;
&lt;/span&gt;&lt;span class=&quot;cx&quot;&gt;             &amp;lt;/inbound&amp;gt;
             &amp;lt;test:component/&amp;gt;
             &amp;lt;outbound&amp;gt;
&lt;/span&gt;&lt;span class=&quot;lines&quot;&gt;@@ -29,7 +28,7 @@
&lt;/span&gt;&lt;span class=&quot;cx&quot;&gt;         
         &amp;lt;service name=&amp;quot;AsyncService&amp;quot;&amp;gt;
             &amp;lt;inbound&amp;gt;
&lt;/span&gt;&lt;span class=&quot;rem&quot;&gt;-                &amp;lt;http:inbound-endpoint host=&amp;quot;localhost&amp;quot; port=&amp;quot;8001&amp;quot; synchronous=&amp;quot;false&amp;quot;/&amp;gt;
&lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+                &amp;lt;http:inbound-endpoint host=&amp;quot;localhost&amp;quot; port=&amp;quot;60218&amp;quot; synchronous=&amp;quot;false&amp;quot;/&amp;gt;
&lt;/span&gt;&lt;span class=&quot;cx&quot;&gt;             &amp;lt;/inbound&amp;gt;
             &amp;lt;test:component/&amp;gt;
             &amp;lt;outbound&amp;gt;
&lt;/span&gt;&lt;span class=&quot;lines&quot;&gt;@@ -40,5 +39,4 @@
&lt;/span&gt;&lt;span class=&quot;cx&quot;&gt;             &amp;lt;queue-profile persistent=&amp;quot;true&amp;quot;/&amp;gt;
         &amp;lt;/service&amp;gt;
     &amp;lt;/model&amp;gt;
&lt;/span&gt;&lt;span class=&quot;rem&quot;&gt;-    
&lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; &amp;lt;/mule&amp;gt;
&lt;/span&gt;
&lt;/pre&gt;
&lt;/div&gt;
&lt;/div&gt;

&lt;/body&gt;
&lt;/html&gt;

&lt;hr /&gt;
&lt;p&gt;
To unsubscribe from this list please visit:
&lt;/p&gt;
&lt;p&gt;
    &lt;a href=&quot;http://xircles.codehaus.org/manage_email&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://xircles.codehaus.org/manage_email&lt;/a&gt;

&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Mule-Commits-f35672.html&quot; embed=&quot;fixTarget[35672]&quot; target=&quot;_top&quot; &gt;Mule Commits&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/-mule-scm---mule---16179--branches-mule-3.x-messaging%3A-Merged-revisions-16169-16170%2C16176%2C16178-via-svnmerge-from-tp26675344p26675344.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26675120</id>
	<title>[mule-jira] Closed: (SFTP-19) Update SftpInputStream to extend BufferedInputStream and other fixes</title>
	<published>2009-12-07T02:10:23Z</published>
	<updated>2009-12-07T02:10:23Z</updated>
	<author>
		<name>JIRA no-reply@mulesource.com</name>
	</author>
	<content type="html">&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;[ &lt;a href=&quot;http://www.mulesource.org/jira/browse/SFTP-19?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.mulesource.org/jira/browse/SFTP-19?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel&lt;/a&gt;&amp;nbsp;]
&lt;br&gt;&lt;br&gt;Lennart Häggkvist closed SFTP-19.
&lt;br&gt;---------------------------------
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Priority: Trivial &amp;nbsp;(was: To be reviewed)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Resolution: Fixed
&lt;br&gt;&amp;nbsp; &amp;nbsp; Fix Version/s: 2.2.1-RC2
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Update SftpInputStream to extend BufferedInputStream and other fixes
&lt;br&gt;&amp;gt; --------------------------------------------------------------------
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Key: SFTP-19
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; URL: &lt;a href=&quot;http://www.mulesource.org/jira/browse/SFTP-19&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.mulesource.org/jira/browse/SFTP-19&lt;/a&gt;&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Project: SFTP Transport Project
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Issue Type: Improvement
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Components: Code
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;Affects Versions: 2.2.*
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Reporter: Lennart Häggkvist
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Assignee: Lennart Häggkvist
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Priority: Trivial
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Fix For: 2.2.1-RC2
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Change the SftpInputStream to extend BufferedInputStream so that we can delete some methods.
&lt;br&gt;&amp;gt; There is a potential connection leak if close() or deleteFile failed - fix that.
&lt;br&gt;&amp;gt; Also, the SftpInputStream should not be responsible to retrieve the file input stream, so move that logic outside the class.
&lt;/div&gt;&lt;br&gt;-- 
&lt;br&gt;This message is automatically generated by JIRA.
&lt;br&gt;-
&lt;br&gt;If you think it was sent incorrectly contact one of the administrators: &lt;a href=&quot;http://www.mulesource.org/jira/secure/Administrators.jspa&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.mulesource.org/jira/secure/Administrators.jspa&lt;/a&gt;&lt;br&gt;-
&lt;br&gt;For more information on JIRA, see: &lt;a href=&quot;http://www.atlassian.com/software/jira&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.atlassian.com/software/jira&lt;/a&gt;&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;
&lt;br&gt;&lt;br&gt;--
&lt;br&gt;&lt;br&gt;You received this message because you are subscribed to the Google Groups &amp;quot;MuleForge Dev&amp;quot; group.
&lt;br&gt;To post to this group, send email to &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26675120&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;muleforgedev@...&lt;/a&gt;.
&lt;br&gt;To unsubscribe from this group, send email to &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26675120&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;muleforgedev+unsubscribe@...&lt;/a&gt;.
&lt;br&gt;For more options, visit this group at &lt;a href=&quot;http://groups.google.com/group/muleforgedev?hl=en&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://groups.google.com/group/muleforgedev?hl=en&lt;/a&gt;.
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/MuleForge-Dev-f29652.html&quot; embed=&quot;fixTarget[29652]&quot; target=&quot;_top&quot; &gt;MuleForge Dev&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/-mule-jira--Created%3A-%28SFTP-19%29-Update-SftpInputStream-to-extend-BufferedInputStream-and-other-fixes-tp26675094p26675120.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26675121</id>
	<title>[mule-transport-sftp-dev] [mule-jira] Closed: (SFTP-19) Update SftpInputStream to extend BufferedInputStream and other fixes</title>
	<published>2009-12-07T02:10:23Z</published>
	<updated>2009-12-07T02:10:23Z</updated>
	<author>
		<name>JIRA no-reply@mulesource.com</name>
	</author>
	<content type="html">&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;[ &lt;a href=&quot;http://www.mulesource.org/jira/browse/SFTP-19?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.mulesource.org/jira/browse/SFTP-19?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel&lt;/a&gt;&amp;nbsp;]
&lt;br&gt;&lt;br&gt;Lennart Häggkvist closed SFTP-19.
&lt;br&gt;---------------------------------
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Priority: Trivial &amp;nbsp;(was: To be reviewed)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Resolution: Fixed
&lt;br&gt;&amp;nbsp; &amp;nbsp; Fix Version/s: 2.2.1-RC2
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Update SftpInputStream to extend BufferedInputStream and other fixes
&lt;br&gt;&amp;gt; --------------------------------------------------------------------
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Key: SFTP-19
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; URL: &lt;a href=&quot;http://www.mulesource.org/jira/browse/SFTP-19&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.mulesource.org/jira/browse/SFTP-19&lt;/a&gt;&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Project: SFTP Transport Project
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Issue Type: Improvement
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Components: Code
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;Affects Versions: 2.2.*
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Reporter: Lennart Häggkvist
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Assignee: Lennart Häggkvist
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Priority: Trivial
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Fix For: 2.2.1-RC2
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Change the SftpInputStream to extend BufferedInputStream so that we can delete some methods.
&lt;br&gt;&amp;gt; There is a potential connection leak if close() or deleteFile failed - fix that.
&lt;br&gt;&amp;gt; Also, the SftpInputStream should not be responsible to retrieve the file input stream, so move that logic outside the class.
&lt;/div&gt;&lt;br&gt;-- 
&lt;br&gt;This message is automatically generated by JIRA.
&lt;br&gt;-
&lt;br&gt;If you think it was sent incorrectly contact one of the administrators: &lt;a href=&quot;http://www.mulesource.org/jira/secure/Administrators.jspa&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.mulesource.org/jira/secure/Administrators.jspa&lt;/a&gt;&lt;br&gt;-
&lt;br&gt;For more information on JIRA, see: &lt;a href=&quot;http://www.atlassian.com/software/jira&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.atlassian.com/software/jira&lt;/a&gt;&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;
&lt;br&gt;&lt;br&gt;---------------------------------------------------------------------
&lt;br&gt;To unsubscribe from this list, please visit:
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &lt;a href=&quot;http://admin.muleforge.org/manage_email&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://admin.muleforge.org/manage_email&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;--
&lt;br&gt;&lt;br&gt;You received this message because you are subscribed to the Google Groups &amp;quot;MuleForge Dev&amp;quot; group.
&lt;br&gt;To post to this group, send email to &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26675121&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;muleforgedev@...&lt;/a&gt;.
&lt;br&gt;To unsubscribe from this group, send email to &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26675121&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;muleforgedev+unsubscribe@...&lt;/a&gt;.
&lt;br&gt;For more options, visit this group at &lt;a href=&quot;http://groups.google.com/group/muleforgedev?hl=en&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://groups.google.com/group/muleforgedev?hl=en&lt;/a&gt;.
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/MuleForge-Dev-f29652.html&quot; embed=&quot;fixTarget[29652]&quot; target=&quot;_top&quot; &gt;MuleForge Dev&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/-mule-transport-sftp-dev---mule-jira--Created%3A-%28SFTP-19%29-Update-SftpInputStream-to-extend-BufferedInputStream-and-other-fixes-tp26675093p26675121.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26675119</id>
	<title>[mule-jira] Work started: (SFTP-19) Update SftpInputStream to extend BufferedInputStream and other fixes</title>
	<published>2009-12-07T02:10:22Z</published>
	<updated>2009-12-07T02:10:22Z</updated>
	<author>
		<name>JIRA no-reply@mulesource.com</name>
	</author>
	<content type="html">&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;[ &lt;a href=&quot;http://www.mulesource.org/jira/browse/SFTP-19?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.mulesource.org/jira/browse/SFTP-19?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel&lt;/a&gt;&amp;nbsp;]
&lt;br&gt;&lt;br&gt;Work on SFTP-19 started by Lennart Häggkvist.
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Update SftpInputStream to extend BufferedInputStream and other fixes
&lt;br&gt;&amp;gt; --------------------------------------------------------------------
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Key: SFTP-19
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; URL: &lt;a href=&quot;http://www.mulesource.org/jira/browse/SFTP-19&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.mulesource.org/jira/browse/SFTP-19&lt;/a&gt;&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Project: SFTP Transport Project
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Issue Type: Improvement
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Components: Code
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;Affects Versions: 2.2.*
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Reporter: Lennart Häggkvist
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Assignee: Lennart Häggkvist
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Fix For: 2.2.1-RC2
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Change the SftpInputStream to extend BufferedInputStream so that we can delete some methods.
&lt;br&gt;&amp;gt; There is a potential connection leak if close() or deleteFile failed - fix that.
&lt;br&gt;&amp;gt; Also, the SftpInputStream should not be responsible to retrieve the file input stream, so move that logic outside the class.
&lt;/div&gt;&lt;br&gt;-- 
&lt;br&gt;This message is automatically generated by JIRA.
&lt;br&gt;-
&lt;br&gt;If you think it was sent incorrectly contact one of the administrators: &lt;a href=&quot;http://www.mulesource.org/jira/secure/Administrators.jspa&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.mulesource.org/jira/secure/Administrators.jspa&lt;/a&gt;&lt;br&gt;-
&lt;br&gt;For more information on JIRA, see: &lt;a href=&quot;http://www.atlassian.com/software/jira&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.atlassian.com/software/jira&lt;/a&gt;&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;
&lt;br&gt;&lt;br&gt;--
&lt;br&gt;&lt;br&gt;You received this message because you are subscribed to the Google Groups &amp;quot;MuleForge Dev&amp;quot; group.
&lt;br&gt;To post to this group, send email to &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26675119&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;muleforgedev@...&lt;/a&gt;.
&lt;br&gt;To unsubscribe from this group, send email to &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26675119&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;muleforgedev+unsubscribe@...&lt;/a&gt;.
&lt;br&gt;For more options, visit this group at &lt;a href=&quot;http://groups.google.com/group/muleforgedev?hl=en&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://groups.google.com/group/muleforgedev?hl=en&lt;/a&gt;.
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/MuleForge-Dev-f29652.html&quot; embed=&quot;fixTarget[29652]&quot; target=&quot;_top&quot; &gt;MuleForge Dev&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/-mule-jira--Created%3A-%28SFTP-19%29-Update-SftpInputStream-to-extend-BufferedInputStream-and-other-fixes-tp26675094p26675119.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26675137</id>
	<title>[mule-transport-sftp-dev] [mule-jira] Work stopped: (SFTP-19) Update SftpInputStream to extend BufferedInputStream and other fixes</title>
	<published>2009-12-07T02:10:22Z</published>
	<updated>2009-12-07T02:10:22Z</updated>
	<author>
		<name>JIRA no-reply@mulesource.com</name>
	</author>
	<content type="html">&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;[ &lt;a href=&quot;http://www.mulesource.org/jira/browse/SFTP-19?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.mulesource.org/jira/browse/SFTP-19?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel&lt;/a&gt;&amp;nbsp;]
&lt;br&gt;&lt;br&gt;Work on SFTP-19 stopped by Lennart Häggkvist.
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Update SftpInputStream to extend BufferedInputStream and other fixes
&lt;br&gt;&amp;gt; --------------------------------------------------------------------
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Key: SFTP-19
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; URL: &lt;a href=&quot;http://www.mulesource.org/jira/browse/SFTP-19&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.mulesource.org/jira/browse/SFTP-19&lt;/a&gt;&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Project: SFTP Transport Project
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Issue Type: Improvement
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Components: Code
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;Affects Versions: 2.2.*
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Reporter: Lennart Häggkvist
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Assignee: Lennart Häggkvist
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Fix For: 2.2.1-RC2
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Change the SftpInputStream to extend BufferedInputStream so that we can delete some methods.
&lt;br&gt;&amp;gt; There is a potential connection leak if close() or deleteFile failed - fix that.
&lt;br&gt;&amp;gt; Also, the SftpInputStream should not be responsible to retrieve the file input stream, so move that logic outside the class.
&lt;/div&gt;&lt;br&gt;-- 
&lt;br&gt;This message is automatically generated by JIRA.
&lt;br&gt;-
&lt;br&gt;If you think it was sent incorrectly contact one of the administrators: &lt;a href=&quot;http://www.mulesource.org/jira/secure/Administrators.jspa&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.mulesource.org/jira/secure/Administrators.jspa&lt;/a&gt;&lt;br&gt;-
&lt;br&gt;For more information on JIRA, see: &lt;a href=&quot;http://www.atlassian.com/software/jira&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.atlassian.com/software/jira&lt;/a&gt;&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;
&lt;br&gt;&lt;br&gt;---------------------------------------------------------------------
&lt;br&gt;To unsubscribe from this list, please visit:
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &lt;a href=&quot;http://admin.muleforge.org/manage_email&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://admin.muleforge.org/manage_email&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;--
&lt;br&gt;&lt;br&gt;You received this message because you are subscribed to the Google Groups &amp;quot;MuleForge Dev&amp;quot; group.
&lt;br&gt;To post to this group, send email to &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26675137&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;muleforgedev@...&lt;/a&gt;.
&lt;br&gt;To unsubscribe from this group, send email to &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26675137&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;muleforgedev+unsubscribe@...&lt;/a&gt;.
&lt;br&gt;For more options, visit this group at &lt;a href=&quot;http://groups.google.com/group/muleforgedev?hl=en&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://groups.google.com/group/muleforgedev?hl=en&lt;/a&gt;.
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/MuleForge-Dev-f29652.html&quot; embed=&quot;fixTarget[29652]&quot; target=&quot;_top&quot; &gt;MuleForge Dev&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/-mule-transport-sftp-dev---mule-jira--Created%3A-%28SFTP-19%29-Update-SftpInputStream-to-extend-BufferedInputStream-and-other-fixes-tp26675093p26675137.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26675144</id>
	<title>[mule-jira] Work stopped: (SFTP-19) Update SftpInputStream to extend BufferedInputStream and other fixes</title>
	<published>2009-12-07T02:10:22Z</published>
	<updated>2009-12-07T02:10:22Z</updated>
	<author>
		<name>JIRA no-reply@mulesource.com</name>
	</author>
	<content type="html">&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;[ &lt;a href=&quot;http://www.mulesource.org/jira/browse/SFTP-19?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.mulesource.org/jira/browse/SFTP-19?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel&lt;/a&gt;&amp;nbsp;]
&lt;br&gt;&lt;br&gt;Work on SFTP-19 stopped by Lennart Häggkvist.
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Update SftpInputStream to extend BufferedInputStream and other fixes
&lt;br&gt;&amp;gt; --------------------------------------------------------------------
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Key: SFTP-19
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; URL: &lt;a href=&quot;http://www.mulesource.org/jira/browse/SFTP-19&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.mulesource.org/jira/browse/SFTP-19&lt;/a&gt;&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Project: SFTP Transport Project
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Issue Type: Improvement
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Components: Code
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;Affects Versions: 2.2.*
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Reporter: Lennart Häggkvist
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Assignee: Lennart Häggkvist
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Fix For: 2.2.1-RC2
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Change the SftpInputStream to extend BufferedInputStream so that we can delete some methods.
&lt;br&gt;&amp;gt; There is a potential connection leak if close() or deleteFile failed - fix that.
&lt;br&gt;&amp;gt; Also, the SftpInputStream should not be responsible to retrieve the file input stream, so move that logic outside the class.
&lt;/div&gt;&lt;br&gt;-- 
&lt;br&gt;This message is automatically generated by JIRA.
&lt;br&gt;-
&lt;br&gt;If you think it was sent incorrectly contact one of the administrators: &lt;a href=&quot;http://www.mulesource.org/jira/secure/Administrators.jspa&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.mulesource.org/jira/secure/Administrators.jspa&lt;/a&gt;&lt;br&gt;-
&lt;br&gt;For more information on JIRA, see: &lt;a href=&quot;http://www.atlassian.com/software/jira&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.atlassian.com/software/jira&lt;/a&gt;&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;
&lt;br&gt;&lt;br&gt;--
&lt;br&gt;&lt;br&gt;You received this message because you are subscribed to the Google Groups &amp;quot;MuleForge Dev&amp;quot; group.
&lt;br&gt;To post to this group, send email to &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26675144&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;muleforgedev@...&lt;/a&gt;.
&lt;br&gt;To unsubscribe from this group, send email to &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26675144&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;muleforgedev+unsubscribe@...&lt;/a&gt;.
&lt;br&gt;For more options, visit this group at &lt;a href=&quot;http://groups.google.com/group/muleforgedev?hl=en&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://groups.google.com/group/muleforgedev?hl=en&lt;/a&gt;.
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/MuleForge-Dev-f29652.html&quot; embed=&quot;fixTarget[29652]&quot; target=&quot;_top&quot; &gt;MuleForge Dev&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/-mule-jira--Created%3A-%28SFTP-19%29-Update-SftpInputStream-to-extend-BufferedInputStream-and-other-fixes-tp26675094p26675144.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26675147</id>
	<title>[mule-transport-sftp-dev] [mule-jira] Work started: (SFTP-19) Update SftpInputStream to extend BufferedInputStream and other fixes</title>
	<published>2009-12-07T02:10:22Z</published>
	<updated>2009-12-07T02:10:22Z</updated>
	<author>
		<name>JIRA no-reply@mulesource.com</name>
	</author>
	<content type="html">&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;[ &lt;a href=&quot;http://www.mulesource.org/jira/browse/SFTP-19?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.mulesource.org/jira/browse/SFTP-19?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel&lt;/a&gt;&amp;nbsp;]
&lt;br&gt;&lt;br&gt;Work on SFTP-19 started by Lennart Häggkvist.
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Update SftpInputStream to extend BufferedInputStream and other fixes
&lt;br&gt;&amp;gt; --------------------------------------------------------------------
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Key: SFTP-19
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; URL: &lt;a href=&quot;http://www.mulesource.org/jira/browse/SFTP-19&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.mulesource.org/jira/browse/SFTP-19&lt;/a&gt;&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Project: SFTP Transport Project
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Issue Type: Improvement
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Components: Code
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;Affects Versions: 2.2.*
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Reporter: Lennart Häggkvist
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Assignee: Lennart Häggkvist
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Fix For: 2.2.1-RC2
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Change the SftpInputStream to extend BufferedInputStream so that we can delete some methods.
&lt;br&gt;&amp;gt; There is a potential connection leak if close() or deleteFile failed - fix that.
&lt;br&gt;&amp;gt; Also, the SftpInputStream should not be responsible to retrieve the file input stream, so move that logic outside the class.
&lt;/div&gt;&lt;br&gt;-- 
&lt;br&gt;This message is automatically generated by JIRA.
&lt;br&gt;-
&lt;br&gt;If you think it was sent incorrectly contact one of the administrators: &lt;a href=&quot;http://www.mulesource.org/jira/secure/Administrators.jspa&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.mulesource.org/jira/secure/Administrators.jspa&lt;/a&gt;&lt;br&gt;-
&lt;br&gt;For more information on JIRA, see: &lt;a href=&quot;http://www.atlassian.com/software/jira&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.atlassian.com/software/jira&lt;/a&gt;&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;
&lt;br&gt;&lt;br&gt;---------------------------------------------------------------------
&lt;br&gt;To unsubscribe from this list, please visit:
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &lt;a href=&quot;http://admin.muleforge.org/manage_email&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://admin.muleforge.org/manage_email&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;--
&lt;br&gt;&lt;br&gt;You received this message because you are subscribed to the Google Groups &amp;quot;MuleForge Dev&amp;quot; group.
&lt;br&gt;To post to this group, send email to &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26675147&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;muleforgedev@...&lt;/a&gt;.
&lt;br&gt;To unsubscribe from this group, send email to &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26675147&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;muleforgedev+unsubscribe@...&lt;/a&gt;.
&lt;br&gt;For more options, visit this group at &lt;a href=&quot;http://groups.google.com/group/muleforgedev?hl=en&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://groups.google.com/group/muleforgedev?hl=en&lt;/a&gt;.
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/MuleForge-Dev-f29652.html&quot; embed=&quot;fixTarget[29652]&quot; target=&quot;_top&quot; &gt;MuleForge Dev&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/-mule-transport-sftp-dev---mule-jira--Created%3A-%28SFTP-19%29-Update-SftpInputStream-to-extend-BufferedInputStream-and-other-fixes-tp26675093p26675147.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26675106</id>
	<title>[mule-transport-sftp-dev]  [117] trunk/src/main/java/org/mule/transport/sftp: SFTP-19: Update SftpInputStream to extend BufferedInputStream.</title>
	<published>2009-12-07T02:09:33Z</published>
	<updated>2009-12-07T02:09:33Z</updated>
	<author>
		<name>elhoo</name>
	</author>
	<content type="html">&lt;!DOCTYPE html PUBLIC &quot;-//W3C//DTD XHTML 1.1//EN&quot; &quot;http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd&quot;&gt;
&lt;html xmlns=&quot;http://www.w3.org/1999/xhtml&quot;&gt;
&lt;head&gt;
&lt;title&gt; [117] trunk/src/main/java/org/mule/transport/sftp: SFTP-19: Update SftpInputStream to extend BufferedInputStream.&lt;/title&gt;
&lt;/head&gt;
&lt;body&gt;

&lt;div id=&quot;msg&quot;&gt;
&lt;dl&gt;
&lt;dt&gt;Revision&lt;/dt&gt; &lt;dd&gt;&lt;a href=&quot;http://fisheye.muleforge.org/changelog/mule-transport-sftp/?cs=117&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;117&lt;/a&gt;&lt;/dd&gt;
&lt;dt&gt;Author&lt;/dt&gt; &lt;dd&gt;elhoo&lt;/dd&gt;
&lt;dt&gt;Date&lt;/dt&gt; &lt;dd&gt;2009-12-07 04:09:33 -0600 (Mon, 07 Dec 2009)&lt;/dd&gt;
&lt;/dl&gt;

&lt;h3&gt;Log Message&lt;/h3&gt;
&lt;pre&gt;&lt;a href=&quot;http://mule.mulesource.org/jira/secure/ViewIssue.jspa?key=SFTP-19&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;SFTP-19&lt;/a&gt;: Update SftpInputStream to extend BufferedInputStream. Fixed a potential connection leak. 
Move the readFile logic outside the SftpInputStream class.&lt;/pre&gt;

&lt;h3&gt;Modified Paths&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href=&quot;#trunksrcmainjavaorgmuletransportsftpSftpInputStreamjava&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;trunk/src/main/java/org/mule/transport/sftp/SftpInputStream.java&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;#trunksrcmainjavaorgmuletransportsftpSftpReceiverRequesterUtiljava&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;trunk/src/main/java/org/mule/transport/sftp/SftpReceiverRequesterUtil.java&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;/div&gt;
&lt;div id=&quot;patch&quot;&gt;
&lt;h3&gt;Diff&lt;/h3&gt;
&lt;a id=&quot;trunksrcmainjavaorgmuletransportsftpSftpInputStreamjava&quot; target=&quot;_top&quot;&gt;&lt;/a&gt;
&lt;div class=&quot;modfile&quot;&gt;&lt;h4&gt;Modified: trunk/src/main/java/org/mule/transport/sftp/SftpInputStream.java (116 =&gt; 117)&lt;/h4&gt;
&lt;pre class=&quot;diff&quot;&gt;
&lt;span class=&quot;info&quot;&gt;--- trunk/src/main/java/org/mule/transport/sftp/SftpInputStream.java	2009-12-07 09:34:14 UTC (rev 116)
+++ trunk/src/main/java/org/mule/transport/sftp/SftpInputStream.java	2009-12-07 10:09:33 UTC (rev 117)
&lt;/span&gt;&lt;span class=&quot;lines&quot;&gt;@@ -14,6 +14,7 @@
&lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; import org.apache.commons.logging.LogFactory;
 import org.mule.api.endpoint.ImmutableEndpoint;
 
&lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+import java.io.BufferedInputStream;
&lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; import java.io.IOException;
 import java.io.InputStream;
 
&lt;/span&gt;&lt;span class=&quot;lines&quot;&gt;@@ -21,11 +22,10 @@
&lt;/span&gt;&lt;span class=&quot;cx&quot;&gt;  * &amp;lt;code&amp;gt;SftpInputStream&amp;lt;/code&amp;gt; wraps an sftp InputStream.
  */
 
&lt;/span&gt;&lt;span class=&quot;rem&quot;&gt;-public class SftpInputStream extends InputStream
&lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+public class SftpInputStream extends BufferedInputStream
&lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; {
 	private final Log logger = LogFactory.getLog(getClass());
 
&lt;/span&gt;&lt;span class=&quot;rem&quot;&gt;-	private InputStream is;
&lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; 	private SftpClient client;
 	private boolean autoDelete = true;
 	private String fileName;
&lt;/span&gt;&lt;span class=&quot;lines&quot;&gt;@@ -33,66 +33,64 @@
&lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; 	private ImmutableEndpoint endpoint;
 
 	/**
&lt;/span&gt;&lt;span class=&quot;rem&quot;&gt;-	 * A special sftp InputStream.  The constuctor creates the InputStream by
&lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+	 * A special sftp InputStream.  The constructor creates the InputStream by
&lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; 	 * calling &amp;lt;code&amp;gt;SftpClient.retrieveFile(fileName)&amp;lt;/code&amp;gt;.  The client passed
 	 * in is destroyed when the stream is closed.
 	 *
 	 * @param client	 The SftpClient instance.  Will be destroyed when stream closed.
&lt;/span&gt;&lt;span class=&quot;rem&quot;&gt;-	 * @param fileName   name of the file to be retrieved
&lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+	 * @param is         The stream that should be used
+   * @param fileName   name of the file to be retrieved
&lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; 	 * @param autoDelete whether the file specified by fileName should be deleted
 	 * @param endpoint   the endpoint associated to a specific client (connector) pool.
 	 * @throws Exception if failing to retrieve internal input stream.
 	 */
&lt;/span&gt;&lt;span class=&quot;rem&quot;&gt;-	public SftpInputStream(SftpClient client, String fileName, boolean autoDelete, ImmutableEndpoint endpoint) throws Exception
&lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+	public SftpInputStream(SftpClient client, InputStream is, String fileName, boolean autoDelete, ImmutableEndpoint endpoint) throws Exception
&lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; 	{
&lt;/span&gt;&lt;span class=&quot;rem&quot;&gt;-		this.is = client.retrieveFile(fileName);
&lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+    super(is);
+
&lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; 		this.client = client;
 		this.fileName = fileName;
 		this.autoDelete = autoDelete;
 		this.endpoint = endpoint;
 	}
 
&lt;/span&gt;&lt;span class=&quot;rem&quot;&gt;-	public int read(byte[] b) throws IOException
-	{
-		return is.read(b);
-	}
-
-	public int read() throws IOException
-	{
-		return is.read();
-	}
-
-	@Override
-	public int read(byte[] b, int off, int len) throws IOException
-	{
-		return is.read(b, off, len);
-	}
-
-	public int available() throws IOException
-	{
-		return is.available();
-	}
-
&lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; 	public void close() throws IOException
 	{
&lt;/span&gt;&lt;span class=&quot;rem&quot;&gt;-		is.close();
&lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+     try {
+      super.close();
&lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; 
&lt;/span&gt;&lt;span class=&quot;rem&quot;&gt;-		if (autoDelete &amp;amp;&amp;amp; !errorOccured)
-		{
-			client.deleteFile(fileName);
-		}
-
-		try
-		{
-			((SftpConnector) endpoint.getConnector()).releaseClient(endpoint, client);
-		} catch (Exception e)
-		{
-			logger.error(e.getMessage(), e);
-		}
&lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+      if (autoDelete &amp;amp;&amp;amp; !errorOccured)
+      {
+        client.deleteFile(fileName);
+      }
+    }
+    catch (IOException e)
+    {
+      logger.error(&amp;quot;Error occured while closing file &amp;quot; + fileName, e);
+      throw e;
+    }
+    finally {
+      // We should release the connection from the pool even if some error occurs here
+      try
+      {
+        ((SftpConnector) endpoint.getConnector()).releaseClient(endpoint, client);
+      } catch (Exception e)
+      {
+        logger.error(e.getMessage(), e);
+      }
+    }
&lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; 	}
 
 	public void setErrorOccurred()
 	{
 		this.errorOccured = true;
 	}
&lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+
+  @Override
+  public String toString() {
+    return &amp;quot;SftpInputStream{&amp;quot; +
+      &amp;quot;fileName=&amp;#39;&amp;quot; + fileName + &amp;#39;\&amp;#39;&amp;#39; +
+      &amp;quot; from endpoint=&amp;quot; + endpoint.getEndpointURI() +
+      &amp;#39;}&amp;#39;;
+  }
&lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; }
&lt;/span&gt;&lt;/pre&gt;&lt;/div&gt;
&lt;a id=&quot;trunksrcmainjavaorgmuletransportsftpSftpReceiverRequesterUtiljava&quot; target=&quot;_top&quot;&gt;&lt;/a&gt;
&lt;div class=&quot;modfile&quot;&gt;&lt;h4&gt;Modified: trunk/src/main/java/org/mule/transport/sftp/SftpReceiverRequesterUtil.java (116 =&gt; 117)&lt;/h4&gt;
&lt;pre class=&quot;diff&quot;&gt;
&lt;span class=&quot;info&quot;&gt;--- trunk/src/main/java/org/mule/transport/sftp/SftpReceiverRequesterUtil.java	2009-12-07 09:34:14 UTC (rev 116)
+++ trunk/src/main/java/org/mule/transport/sftp/SftpReceiverRequesterUtil.java	2009-12-07 10:09:33 UTC (rev 117)
&lt;/span&gt;&lt;span class=&quot;lines&quot;&gt;@@ -160,12 +160,16 @@
&lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; 
 		// Archive functionality...
 		String archive = sftpUtil.getArchiveDir();
&lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+
+    // Retrieve the file stream
+    InputStream fileInputStream = client.retrieveFile(fileName);
+
&lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; 		if (!&amp;quot;&amp;quot;.equals(archive))
 		{
 			String archiveTmpReceivingDir = sftpUtil.getArchiveTempReceivingDir();
 			String archiveTmpSendingDir = sftpUtil.getArchiveTempSendingDir();
 
&lt;/span&gt;&lt;span class=&quot;rem&quot;&gt;-			InputStream is = new SftpInputStream(client, fileName, connector.isAutoDelete(), endpoint);
&lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+			InputStream is = new SftpInputStream(client, fileInputStream, fileName, connector.isAutoDelete(), endpoint);
&lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; 
 			// TODO ML FIX. Refactor to util-class...
 			int idx = fileName.lastIndexOf(&amp;#39;/&amp;#39;);
&lt;/span&gt;&lt;span class=&quot;lines&quot;&gt;@@ -187,7 +191,7 @@
&lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; 
 		// This special InputStream closes the SftpClient when the stream is closed.
 		// The stream will be materialized in a Message Dispatcher or Service Component
&lt;/span&gt;&lt;span class=&quot;rem&quot;&gt;-		return new SftpInputStream(client, fileName, connector.isAutoDelete(), endpoint);
&lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+		return new SftpInputStream(client, fileInputStream, fileName, connector.isAutoDelete(), endpoint);
&lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; 	}
 
 	private InputStream archiveFileUsingTempDirs(String archive,
&lt;/span&gt;
&lt;/pre&gt;
&lt;/div&gt;
&lt;/div&gt;

&lt;/body&gt;
&lt;/html&gt;

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://admin.muleforge.org/manage_email


&lt;p&gt;&lt;/p&gt;

&lt;p&gt;--&lt;/p&gt;

You received this message because you are subscribed to the Google Groups &quot;MuleForge Dev&quot; group.&lt;br /&gt;

To post to this group, send email to &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26675106&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;muleforgedev@...&lt;/a&gt;.&lt;br /&gt;

To unsubscribe from this group, send email to &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26675106&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;muleforgedev+unsubscribe@...&lt;/a&gt;.&lt;br /&gt;

For more options, visit this group at http://groups.google.com/group/muleforgedev?hl=en.&lt;br /&gt;

&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/MuleForge-Dev-f29652.html&quot; embed=&quot;fixTarget[29652]&quot; target=&quot;_top&quot; &gt;MuleForge Dev&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/-mule-transport-sftp-dev----117--trunk-src-main-java-org-mule-transport-sftp%3A-SFTP-19%3A-Update-SftpInputStream-to-extend-BufferedInputStream.-tp26675106p26675106.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26675094</id>
	<title>[mule-jira] Created: (SFTP-19) Update SftpInputStream to extend BufferedInputStream and other fixes</title>
	<published>2009-12-07T02:08:22Z</published>
	<updated>2009-12-07T02:08:22Z</updated>
	<author>
		<name>JIRA no-reply@mulesource.com</name>
	</author>
	<content type="html">Update SftpInputStream to extend BufferedInputStream and other fixes
&lt;br&gt;--------------------------------------------------------------------
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Key: SFTP-19
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;URL: &lt;a href=&quot;http://www.mulesource.org/jira/browse/SFTP-19&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.mulesource.org/jira/browse/SFTP-19&lt;/a&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Project: SFTP Transport Project
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Issue Type: Improvement
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Components: Code
&lt;br&gt;&amp;nbsp; &amp;nbsp; Affects Versions: 2.2.*
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Reporter: Lennart Häggkvist
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Assignee: Lennart Häggkvist
&lt;br&gt;&lt;br&gt;&lt;br&gt;Change the SftpInputStream to extend BufferedInputStream so that we can delete some methods.
&lt;br&gt;&lt;br&gt;There is a potential connection leak if close() or deleteFile failed - fix that.
&lt;br&gt;&lt;br&gt;Also, the SftpInputStream should not be responsible to retrieve the file input stream, so move that logic outside the class.
&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;This message is automatically generated by JIRA.
&lt;br&gt;-
&lt;br&gt;If you think it was sent incorrectly contact one of the administrators: &lt;a href=&quot;http://www.mulesource.org/jira/secure/Administrators.jspa&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.mulesource.org/jira/secure/Administrators.jspa&lt;/a&gt;&lt;br&gt;-
&lt;br&gt;For more information on JIRA, see: &lt;a href=&quot;http://www.atlassian.com/software/jira&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.atlassian.com/software/jira&lt;/a&gt;&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;
&lt;br&gt;&lt;br&gt;--
&lt;br&gt;&lt;br&gt;You received this message because you are subscribed to the Google Groups &amp;quot;MuleForge Dev&amp;quot; group.
&lt;br&gt;To post to this group, send email to &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26675094&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;muleforgedev@...&lt;/a&gt;.
&lt;br&gt;To unsubscribe from this group, send email to &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26675094&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;muleforgedev+unsubscribe@...&lt;/a&gt;.
&lt;br&gt;For more options, visit this group at &lt;a href=&quot;http://groups.google.com/group/muleforgedev?hl=en&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://groups.google.com/group/muleforgedev?hl=en&lt;/a&gt;.
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/MuleForge-Dev-f29652.html&quot; embed=&quot;fixTarget[29652]&quot; target=&quot;_top&quot; &gt;MuleForge Dev&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/-mule-jira--Created%3A-%28SFTP-19%29-Update-SftpInputStream-to-extend-BufferedInputStream-and-other-fixes-tp26675094p26675094.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26675093</id>
	<title>[mule-transport-sftp-dev] [mule-jira] Created: (SFTP-19) Update SftpInputStream to extend BufferedInputStream and other fixes</title>
	<published>2009-12-07T02:08:22Z</published>
	<updated>2009-12-07T02:08:22Z</updated>
	<author>
		<name>JIRA no-reply@mulesource.com</name>
	</author>
	<content type="html">Update SftpInputStream to extend BufferedInputStream and other fixes
&lt;br&gt;--------------------------------------------------------------------
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Key: SFTP-19
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;URL: &lt;a href=&quot;http://www.mulesource.org/jira/browse/SFTP-19&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.mulesource.org/jira/browse/SFTP-19&lt;/a&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Project: SFTP Transport Project
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Issue Type: Improvement
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Components: Code
&lt;br&gt;&amp;nbsp; &amp;nbsp; Affects Versions: 2.2.*
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Reporter: Lennart Häggkvist
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Assignee: Lennart Häggkvist
&lt;br&gt;&lt;br&gt;&lt;br&gt;Change the SftpInputStream to extend BufferedInputStream so that we can delete some methods.
&lt;br&gt;&lt;br&gt;There is a potential connection leak if close() or deleteFile failed - fix that.
&lt;br&gt;&lt;br&gt;Also, the SftpInputStream should not be responsible to retrieve the file input stream, so move that logic outside the class.
&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;This message is automatically generated by JIRA.
&lt;br&gt;-
&lt;br&gt;If you think it was sent incorrectly contact one of the administrators: &lt;a href=&quot;http://www.mulesource.org/jira/secure/Administrators.jspa&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.mulesource.org/jira/secure/Administrators.jspa&lt;/a&gt;&lt;br&gt;-
&lt;br&gt;For more information on JIRA, see: &lt;a href=&quot;http://www.atlassian.com/software/jira&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.atlassian.com/software/jira&lt;/a&gt;&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;
&lt;br&gt;&lt;br&gt;---------------------------------------------------------------------
&lt;br&gt;To unsubscribe from this list, please visit:
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &lt;a href=&quot;http://admin.muleforge.org/manage_email&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://admin.muleforge.org/manage_email&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;--
&lt;br&gt;&lt;br&gt;You received this message because you are subscribed to the Google Groups &amp;quot;MuleForge Dev&amp;quot; group.
&lt;br&gt;To post to this group, send email to &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26675093&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;muleforgedev@...&lt;/a&gt;.
&lt;br&gt;To unsubscribe from this group, send email to &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26675093&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;muleforgedev+unsubscribe@...&lt;/a&gt;.
&lt;br&gt;For more options, visit this group at &lt;a href=&quot;http://groups.google.com/group/muleforgedev?hl=en&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://groups.google.com/group/muleforgedev?hl=en&lt;/a&gt;.
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/MuleForge-Dev-f29652.html&quot; embed=&quot;fixTarget[29652]&quot; target=&quot;_top&quot; &gt;MuleForge Dev&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/-mule-transport-sftp-dev---mule-jira--Created%3A-%28SFTP-19%29-Update-SftpInputStream-to-extend-BufferedInputStream-and-other-fixes-tp26675093p26675093.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26674985</id>
	<title>[mule-transport-sftp-dev] [mule-jira] Commented: (SFTP-18) Concurrency problems when FunctionalTestComponent.getLastReceivedMessage is used in tests</title>
	<published>2009-12-07T01:58:22Z</published>
	<updated>2009-12-07T01:58:22Z</updated>
	<author>
		<name>JIRA no-reply@mulesource.com</name>
	</author>
	<content type="html">&lt;br&gt;&amp;nbsp; &amp;nbsp; [ &lt;a href=&quot;http://www.mulesource.org/jira/browse/SFTP-18?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&amp;focusedCommentId=32660#action_32660&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.mulesource.org/jira/browse/SFTP-18?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&amp;focusedCommentId=32660#action_32660&lt;/a&gt;&amp;nbsp;] 
&lt;br&gt;&lt;br&gt;Lennart Häggkvist commented on SFTP-18:
&lt;br&gt;---------------------------------------
&lt;br&gt;&lt;br&gt;SftpPoolingFunctionalTestCase is already fixed
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Concurrency problems when FunctionalTestComponent.getLastReceivedMessage is used in tests
&lt;br&gt;&amp;gt; -----------------------------------------------------------------------------------------
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Key: SFTP-18
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; URL: &lt;a href=&quot;http://www.mulesource.org/jira/browse/SFTP-18&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.mulesource.org/jira/browse/SFTP-18&lt;/a&gt;&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Project: SFTP Transport Project
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Issue Type: Bug
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Components: Test
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;Affects Versions: 2.2.*
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Reporter: Lennart Häggkvist
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; If many concurrent calls are made to the callback the FunctionalTestComponent.getLastReceivedMessage could return the same object for 2 (or more) threads.
&lt;br&gt;&amp;gt; All tests should get a review to see if the getLastReceivedMessage is used and if so, change it.
&lt;br&gt;&amp;gt; Old, wrong code:
&lt;br&gt;&amp;gt; {code:java}
&lt;br&gt;&amp;gt; FunctionalTestComponent ftc = (FunctionalTestComponent) component;
&lt;br&gt;&amp;gt; inputStream = (SftpInputStream) ftc.getLastReceivedMessage();
&lt;br&gt;&amp;gt; {code} 
&lt;br&gt;&amp;gt; New:
&lt;br&gt;&amp;gt; {code:java}
&lt;br&gt;&amp;gt; inputStream = (SftpInputStream) context.getMessage().getPayload();
&lt;br&gt;&amp;gt; {code} 
&lt;/div&gt;&lt;br&gt;-- 
&lt;br&gt;This message is automatically generated by JIRA.
&lt;br&gt;-
&lt;br&gt;If you think it was sent incorrectly contact one of the administrators: &lt;a href=&quot;http://www.mulesource.org/jira/secure/Administrators.jspa&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.mulesource.org/jira/secure/Administrators.jspa&lt;/a&gt;&lt;br&gt;-
&lt;br&gt;For more information on JIRA, see: &lt;a href=&quot;http://www.atlassian.com/software/jira&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.atlassian.com/software/jira&lt;/a&gt;&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;
&lt;br&gt;&lt;br&gt;---------------------------------------------------------------------
&lt;br&gt;To unsubscribe from this list, please visit:
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &lt;a href=&quot;http://admin.muleforge.org/manage_email&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://admin.muleforge.org/manage_email&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;--
&lt;br&gt;&lt;br&gt;You received this message because you are subscribed to the Google Groups &amp;quot;MuleForge Dev&amp;quot; group.
&lt;br&gt;To post to this group, send email to &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26674985&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;muleforgedev@...&lt;/a&gt;.
&lt;br&gt;To unsubscribe from this group, send email to &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26674985&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;muleforgedev+unsubscribe@...&lt;/a&gt;.
&lt;br&gt;For more options, visit this group at &lt;a href=&quot;http://groups.google.com/group/muleforgedev?hl=en&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://groups.google.com/group/muleforgedev?hl=en&lt;/a&gt;.
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/MuleForge-Dev-f29652.html&quot; embed=&quot;fixTarget[29652]&quot; target=&quot;_top&quot; &gt;MuleForge Dev&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/-mule-transport-sftp-dev---mule-jira--Created%3A-%28SFTP-18%29-Concurrency-problems-when-FunctionalTestComponent.getLastReceivedMessage-is-used-tp26674739p26674985.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26675010</id>
	<title>[mule-jira] Commented: (SFTP-18) Concurrency problems when FunctionalTestComponent.getLastReceivedMessage is used in tests</title>
	<published>2009-12-07T01:58:22Z</published>
	<updated>2009-12-07T01:58:22Z</updated>
	<author>
		<name>JIRA no-reply@mulesource.com</name>
	</author>
	<content type="html">&lt;br&gt;&amp;nbsp; &amp;nbsp; [ &lt;a href=&quot;http://www.mulesource.org/jira/browse/SFTP-18?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&amp;focusedCommentId=32660#action_32660&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.mulesource.org/jira/browse/SFTP-18?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&amp;focusedCommentId=32660#action_32660&lt;/a&gt;&amp;nbsp;] 
&lt;br&gt;&lt;br&gt;Lennart Häggkvist commented on SFTP-18:
&lt;br&gt;---------------------------------------
&lt;br&gt;&lt;br&gt;SftpPoolingFunctionalTestCase is already fixed
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Concurrency problems when FunctionalTestComponent.getLastReceivedMessage is used in tests
&lt;br&gt;&amp;gt; -----------------------------------------------------------------------------------------
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Key: SFTP-18
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; URL: &lt;a href=&quot;http://www.mulesource.org/jira/browse/SFTP-18&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.mulesource.org/jira/browse/SFTP-18&lt;/a&gt;&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Project: SFTP Transport Project
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Issue Type: Bug
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Components: Test
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;Affects Versions: 2.2.*
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Reporter: Lennart Häggkvist
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; If many concurrent calls are made to the callback the FunctionalTestComponent.getLastReceivedMessage could return the same object for 2 (or more) threads.
&lt;br&gt;&amp;gt; All tests should get a review to see if the getLastReceivedMessage is used and if so, change it.
&lt;br&gt;&amp;gt; Old, wrong code:
&lt;br&gt;&amp;gt; {code:java}
&lt;br&gt;&amp;gt; FunctionalTestComponent ftc = (FunctionalTestComponent) component;
&lt;br&gt;&amp;gt; inputStream = (SftpInputStream) ftc.getLastReceivedMessage();
&lt;br&gt;&amp;gt; {code} 
&lt;br&gt;&amp;gt; New:
&lt;br&gt;&amp;gt; {code:java}
&lt;br&gt;&amp;gt; inputStream = (SftpInputStream) context.getMessage().getPayload();
&lt;br&gt;&amp;gt; {code} 
&lt;/div&gt;&lt;br&gt;-- 
&lt;br&gt;This message is automatically generated by JIRA.
&lt;br&gt;-
&lt;br&gt;If you think it was sent incorrectly contact one of the administrators: &lt;a href=&quot;http://www.mulesource.org/jira/secure/Administrators.jspa&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.mulesource.org/jira/secure/Administrators.jspa&lt;/a&gt;&lt;br&gt;-
&lt;br&gt;For more information on JIRA, see: &lt;a href=&quot;http://www.atlassian.com/software/jira&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.atlassian.com/software/jira&lt;/a&gt;&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;
&lt;br&gt;&lt;br&gt;--
&lt;br&gt;&lt;br&gt;You received this message because you are subscribed to the Google Groups &amp;quot;MuleForge Dev&amp;quot; group.
&lt;br&gt;To post to this group, send email to &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26675010&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;muleforgedev@...&lt;/a&gt;.
&lt;br&gt;To unsubscribe from this group, send email to &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26675010&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;muleforgedev+unsubscribe@...&lt;/a&gt;.
&lt;br&gt;For more options, visit this group at &lt;a href=&quot;http://groups.google.com/group/muleforgedev?hl=en&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://groups.google.com/group/muleforgedev?hl=en&lt;/a&gt;.
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/MuleForge-Dev-f29652.html&quot; embed=&quot;fixTarget[29652]&quot; target=&quot;_top&quot; &gt;MuleForge Dev&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/-mule-jira--Created%3A-%28SFTP-18%29-Concurrency-problems-when-FunctionalTestComponent.getLastReceivedMessage-is-used-tp26674713p26675010.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26674878</id>
	<title>[mule-jira] Closed: (SFTP-15) Add keepFileOnError parameter</title>
	<published>2009-12-07T01:49:23Z</published>
	<updated>2009-12-07T01:49:23Z</updated>
	<author>
		<name>JIRA no-reply@mulesource.com</name>
	</author>
	<content type="html">&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;[ &lt;a href=&quot;http://www.mulesource.org/jira/browse/SFTP-15?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.mulesource.org/jira/browse/SFTP-15?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel&lt;/a&gt;&amp;nbsp;]
&lt;br&gt;&lt;br&gt;Lennart Häggkvist closed SFTP-15.
&lt;br&gt;---------------------------------
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; Priority: Minor &amp;nbsp;(was: To be reviewed)
&lt;br&gt;&amp;nbsp; &amp;nbsp; Resolution: Fixed
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Add keepFileOnError parameter
&lt;br&gt;&amp;gt; -----------------------------
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Key: SFTP-15
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; URL: &lt;a href=&quot;http://www.mulesource.org/jira/browse/SFTP-15&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.mulesource.org/jira/browse/SFTP-15&lt;/a&gt;&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Project: SFTP Transport Project
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Issue Type: Bug
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Components: Code
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;Affects Versions: 2.2.*
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Reporter: Lennart Häggkvist
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Assignee: Lennart Häggkvist
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Priority: Minor
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Fix For: 2.2.1-RC2
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; In the 2.2.x branch we did a change that when an exception occurs in the transport we didn't delete the file.
&lt;br&gt;&amp;gt; This broke backward compatibility. Another problem is that other transports don't work this way. 
&lt;br&gt;&amp;gt; The third issue is that this functionality only worked when both the inbound and outbound endpoints was using the sftp-transport.
&lt;br&gt;&amp;gt; The suggestion is to add a 'keepFileOnError' paramater to the outbound endpoint. When the value is true
&lt;br&gt;&amp;gt; we will ensure that the file is not deleted if an exception is thrown. The documentation has to be clear about
&lt;br&gt;&amp;gt; the limitation about sftp--&amp;gt;sftp as well.
&lt;/div&gt;&lt;br&gt;-- 
&lt;br&gt;This message is automatically generated by JIRA.
&lt;br&gt;-
&lt;br&gt;If you think it was sent incorrectly contact one of the administrators: &lt;a href=&quot;http://www.mulesource.org/jira/secure/Administrators.jspa&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.mulesource.org/jira/secure/Administrators.jspa&lt;/a&gt;&lt;br&gt;-
&lt;br&gt;For more information on JIRA, see: &lt;a href=&quot;http://www.atlassian.com/software/jira&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.atlassian.com/software/jira&lt;/a&gt;&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;
&lt;br&gt;&lt;br&gt;--
&lt;br&gt;&lt;br&gt;You received this message because you are subscribed to the Google Groups &amp;quot;MuleForge Dev&amp;quot; group.
&lt;br&gt;To post to this group, send email to &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26674878&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;muleforgedev@...&lt;/a&gt;.
&lt;br&gt;To unsubscribe from this group, send email to &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26674878&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;muleforgedev+unsubscribe@...&lt;/a&gt;.
&lt;br&gt;For more options, visit this group at &lt;a href=&quot;http://groups.google.com/group/muleforgedev?hl=en&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://groups.google.com/group/muleforgedev?hl=en&lt;/a&gt;.
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/MuleForge-Dev-f29652.html&quot; embed=&quot;fixTarget[29652]&quot; target=&quot;_top&quot; &gt;MuleForge Dev&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/-mule-jira--Created%3A-%28SFTP-15%29-Add-keepFileOnError-parameter-tp26625058p26674878.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26674879</id>
	<title>[mule-transport-sftp-dev] [mule-jira] Closed: (SFTP-15) Add keepFileOnError parameter</title>
	<published>2009-12-07T01:49:23Z</published>
	<updated>2009-12-07T01:49:23Z</updated>
	<author>
		<name>JIRA no-reply@mulesource.com</name>
	</author>
	<content type="html">&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;[ &lt;a href=&quot;http://www.mulesource.org/jira/browse/SFTP-15?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.mulesource.org/jira/browse/SFTP-15?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel&lt;/a&gt;&amp;nbsp;]
&lt;br&gt;&lt;br&gt;Lennart Häggkvist closed SFTP-15.
&lt;br&gt;---------------------------------
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; Priority: Minor &amp;nbsp;(was: To be reviewed)
&lt;br&gt;&amp;nbsp; &amp;nbsp; Resolution: Fixed
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Add keepFileOnError parameter
&lt;br&gt;&amp;gt; -----------------------------
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Key: SFTP-15
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; URL: &lt;a href=&quot;http://www.mulesource.org/jira/browse/SFTP-15&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.mulesource.org/jira/browse/SFTP-15&lt;/a&gt;&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Project: SFTP Transport Project
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Issue Type: Bug
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Components: Code
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;Affects Versions: 2.2.*
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Reporter: Lennart Häggkvist
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Assignee: Lennart Häggkvist
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Priority: Minor
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Fix For: 2.2.1-RC2
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; In the 2.2.x branch we did a change that when an exception occurs in the transport we didn't delete the file.
&lt;br&gt;&amp;gt; This broke backward compatibility. Another problem is that other transports don't work this way. 
&lt;br&gt;&amp;gt; The third issue is that this functionality only worked when both the inbound and outbound endpoints was using the sftp-transport.
&lt;br&gt;&amp;gt; The suggestion is to add a 'keepFileOnError' paramater to the outbound endpoint. When the value is true
&lt;br&gt;&amp;gt; we will ensure that the file is not deleted if an exception is thrown. The documentation has to be clear about
&lt;br&gt;&amp;gt; the limitation about sftp--&amp;gt;sftp as well.
&lt;/div&gt;&lt;br&gt;-- 
&lt;br&gt;This message is automatically generated by JIRA.
&lt;br&gt;-
&lt;br&gt;If you think it was sent incorrectly contact one of the administrators: &lt;a href=&quot;http://www.mulesource.org/jira/secure/Administrators.jspa&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.mulesource.org/jira/secure/Administrators.jspa&lt;/a&gt;&lt;br&gt;-
&lt;br&gt;For more information on JIRA, see: &lt;a href=&quot;http://www.atlassian.com/software/jira&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.atlassian.com/software/jira&lt;/a&gt;&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;
&lt;br&gt;&lt;br&gt;---------------------------------------------------------------------
&lt;br&gt;To unsubscribe from this list, please visit:
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &lt;a href=&quot;http://admin.muleforge.org/manage_email&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://admin.muleforge.org/manage_email&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;--
&lt;br&gt;&lt;br&gt;You received this message because you are subscribed to the Google Groups &amp;quot;MuleForge Dev&amp;quot; group.
&lt;br&gt;To post to this group, send email to &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26674879&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;muleforgedev@...&lt;/a&gt;.
&lt;br&gt;To unsubscribe from this group, send email to &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26674879&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;muleforgedev+unsubscribe@...&lt;/a&gt;.
&lt;br&gt;For more options, visit this group at &lt;a href=&quot;http://groups.google.com/group/muleforgedev?hl=en&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://groups.google.com/group/muleforgedev?hl=en&lt;/a&gt;.
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/MuleForge-Dev-f29652.html&quot; embed=&quot;fixTarget[29652]&quot; target=&quot;_top&quot; &gt;MuleForge Dev&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/-mule-transport-sftp-dev---mule-jira--Created%3A-%28SFTP-15%29-Add-keepFileOnError-parameter-tp26625057p26674879.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26674880</id>
	<title>[mule-jira] Work stopped: (SFTP-15) Add keepFileOnError parameter</title>
	<published>2009-12-07T01:49:23Z</published>
	<updated>2009-12-07T01:49:23Z</updated>
	<author>
		<name>JIRA no-reply@mulesource.com</name>
	</author>
	<content type="html">&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;[ &lt;a href=&quot;http://www.mulesource.org/jira/browse/SFTP-15?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.mulesource.org/jira/browse/SFTP-15?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel&lt;/a&gt;&amp;nbsp;]
&lt;br&gt;&lt;br&gt;Work on SFTP-15 stopped by Lennart Häggkvist.
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Add keepFileOnError parameter
&lt;br&gt;&amp;gt; -----------------------------
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Key: SFTP-15
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; URL: &lt;a href=&quot;http://www.mulesource.org/jira/browse/SFTP-15&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.mulesource.org/jira/browse/SFTP-15&lt;/a&gt;&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Project: SFTP Transport Project
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Issue Type: Bug
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Components: Code
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;Affects Versions: 2.2.*
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Reporter: Lennart Häggkvist
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Assignee: Lennart Häggkvist
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Fix For: 2.2.1-RC2
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; In the 2.2.x branch we did a change that when an exception occurs in the transport we didn't delete the file.
&lt;br&gt;&amp;gt; This broke backward compatibility. Another problem is that other transports don't work this way. 
&lt;br&gt;&amp;gt; The third issue is that this functionality only worked when both the inbound and outbound endpoints was using the sftp-transport.
&lt;br&gt;&amp;gt; The suggestion is to add a 'keepFileOnError' paramater to the outbound endpoint. When the value is true
&lt;br&gt;&amp;gt; we will ensure that the file is not deleted if an exception is thrown. The documentation has to be clear about
&lt;br&gt;&amp;gt; the limitation about sftp--&amp;gt;sftp as well.
&lt;/div&gt;&lt;br&gt;-- 
&lt;br&gt;This message is automatically generated by JIRA.
&lt;br&gt;-
&lt;br&gt;If you think it was sent incorrectly contact one of the administrators: &lt;a href=&quot;http://www.mulesource.org/jira/secure/Administrators.jspa&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.mulesource.org/jira/secure/Administrators.jspa&lt;/a&gt;&lt;br&gt;-
&lt;br&gt;For more information on JIRA, see: &lt;a href=&quot;http://www.atlassian.com/software/jira&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.atlassian.com/software/jira&lt;/a&gt;&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;
&lt;br&gt;&lt;br&gt;--
&lt;br&gt;&lt;br&gt;You received this message because you are subscribed to the Google Groups &amp;quot;MuleForge Dev&amp;quot; group.
&lt;br&gt;To post to this group, send email to &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26674880&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;muleforgedev@...&lt;/a&gt;.
&lt;br&gt;To unsubscribe from this group, send email to &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26674880&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;muleforgedev+unsubscribe@...&lt;/a&gt;.
&lt;br&gt;For more options, visit this group at &lt;a href=&quot;http://groups.google.com/group/muleforgedev?hl=en&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://groups.google.com/group/muleforgedev?hl=en&lt;/a&gt;.
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/MuleForge-Dev-f29652.html&quot; embed=&quot;fixTarget[29652]&quot; target=&quot;_top&quot; &gt;MuleForge Dev&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/-mule-jira--Created%3A-%28SFTP-15%29-Add-keepFileOnError-parameter-tp26625058p26674880.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26674901</id>
	<title>[mule-transport-sftp-dev] [mule-jira] Work stopped: (SFTP-15) Add keepFileOnError parameter</title>
	<published>2009-12-07T01:49:22Z</published>
	<updated>2009-12-07T01:49:22Z</updated>
	<author>
		<name>JIRA no-reply@mulesource.com</name>
	</author>
	<content type="html">&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;[ &lt;a href=&quot;http://www.mulesource.org/jira/browse/SFTP-15?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.mulesource.org/jira/browse/SFTP-15?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel&lt;/a&gt;&amp;nbsp;]
&lt;br&gt;&lt;br&gt;Work on SFTP-15 stopped by Lennart Häggkvist.
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Add keepFileOnError parameter
&lt;br&gt;&amp;gt; -----------------------------
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Key: SFTP-15
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; URL: &lt;a href=&quot;http://www.mulesource.org/jira/browse/SFTP-15&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.mulesource.org/jira/browse/SFTP-15&lt;/a&gt;&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Project: SFTP Transport Project
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Issue Type: Bug
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Components: Code
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;Affects Versions: 2.2.*
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Reporter: Lennart Häggkvist
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Assignee: Lennart Häggkvist
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Fix For: 2.2.1-RC2
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; In the 2.2.x branch we did a change that when an exception occurs in the transport we didn't delete the file.
&lt;br&gt;&amp;gt; This broke backward compatibility. Another problem is that other transports don't work this way. 
&lt;br&gt;&amp;gt; The third issue is that this functionality only worked when both the inbound and outbound endpoints was using the sftp-transport.
&lt;br&gt;&amp;gt; The suggestion is to add a 'keepFileOnError' paramater to the outbound endpoint. When the value is true
&lt;br&gt;&amp;gt; we will ensure that the file is not deleted if an exception is thrown. The documentation has to be clear about
&lt;br&gt;&amp;gt; the limitation about sftp--&amp;gt;sftp as well.
&lt;/div&gt;&lt;br&gt;-- 
&lt;br&gt;This message is automatically generated by JIRA.
&lt;br&gt;-
&lt;br&gt;If you think it was sent incorrectly contact one of the administrators: &lt;a href=&quot;http://www.mulesource.org/jira/secure/Administrators.jspa&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.mulesource.org/jira/secure/Administrators.jspa&lt;/a&gt;&lt;br&gt;-
&lt;br&gt;For more information on JIRA, see: &lt;a href=&quot;http://www.atlassian.com/software/jira&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.atlassian.com/software/jira&lt;/a&gt;&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;
&lt;br&gt;&lt;br&gt;---------------------------------------------------------------------
&lt;br&gt;To unsubscribe from this list, please visit:
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &lt;a href=&quot;http://admin.muleforge.org/manage_email&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://admin.muleforge.org/manage_email&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;--
&lt;br&gt;&lt;br&gt;You received this message because you are subscribed to the Google Groups &amp;quot;MuleForge Dev&amp;quot; group.
&lt;br&gt;To post to this group, send email to &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26674901&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;muleforgedev@...&lt;/a&gt;.
&lt;br&gt;To unsubscribe from this group, send email to &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26674901&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;muleforgedev+unsubscribe@...&lt;/a&gt;.
&lt;br&gt;For more options, visit this group at &lt;a href=&quot;http://groups.google.com/group/muleforgedev?hl=en&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://groups.google.com/group/muleforgedev?hl=en&lt;/a&gt;.
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/MuleForge-Dev-f29652.html&quot; embed=&quot;fixTarget[29652]&quot; target=&quot;_top&quot; &gt;MuleForge Dev&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/-mule-transport-sftp-dev---mule-jira--Created%3A-%28SFTP-15%29-Add-keepFileOnError-parameter-tp26625057p26674901.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26674740</id>
	<title>[mule-jira] Commented: (SFTP-15) Add keepFileOnError parameter</title>
	<published>2009-12-07T01:35:22Z</published>
	<updated>2009-12-07T01:35:22Z</updated>
	<author>
		<name>JIRA no-reply@mulesource.com</name>
	</author>
	<content type="html">&lt;br&gt;&amp;nbsp; &amp;nbsp; [ &lt;a href=&quot;http://www.mulesource.org/jira/browse/SFTP-15?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&amp;focusedCommentId=32659#action_32659&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.mulesource.org/jira/browse/SFTP-15?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&amp;focusedCommentId=32659#action_32659&lt;/a&gt;&amp;nbsp;] 
&lt;br&gt;&lt;br&gt;Lennart Häggkvist commented on SFTP-15:
&lt;br&gt;---------------------------------------
&lt;br&gt;&lt;br&gt;Changed the default value to true after discussion with Magnus
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Add keepFileOnError parameter
&lt;br&gt;&amp;gt; -----------------------------
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Key: SFTP-15
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; URL: &lt;a href=&quot;http://www.mulesource.org/jira/browse/SFTP-15&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.mulesource.org/jira/browse/SFTP-15&lt;/a&gt;&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Project: SFTP Transport Project
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Issue Type: Bug
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Components: Code
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;Affects Versions: 2.2.*
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Reporter: Lennart Häggkvist
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Assignee: Lennart Häggkvist
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Fix For: 2.2.1-RC2
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; In the 2.2.x branch we did a change that when an exception occurs in the transport we didn't delete the file.
&lt;br&gt;&amp;gt; This broke backward compatibility. Another problem is that other transports don't work this way. 
&lt;br&gt;&amp;gt; The third issue is that this functionality only worked when both the inbound and outbound endpoints was using the sftp-transport.
&lt;br&gt;&amp;gt; The suggestion is to add a 'keepFileOnError' paramater to the outbound endpoint. When the value is true
&lt;br&gt;&amp;gt; we will ensure that the file is not deleted if an exception is thrown. The documentation has to be clear about
&lt;br&gt;&amp;gt; the limitation about sftp--&amp;gt;sftp as well.
&lt;/div&gt;&lt;br&gt;-- 
&lt;br&gt;This message is automatically generated by JIRA.
&lt;br&gt;-
&lt;br&gt;If you think it was sent incorrectly contact one of the administrators: &lt;a href=&quot;http://www.mulesource.org/jira/secure/Administrators.jspa&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.mulesource.org/jira/secure/Administrators.jspa&lt;/a&gt;&lt;br&gt;-
&lt;br&gt;For more information on JIRA, see: &lt;a href=&quot;http://www.atlassian.com/software/jira&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.atlassian.com/software/jira&lt;/a&gt;&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;
&lt;br&gt;&lt;br&gt;--
&lt;br&gt;&lt;br&gt;You received this message because you are subscribed to the Google Groups &amp;quot;MuleForge Dev&amp;quot; group.
&lt;br&gt;To post to this group, send email to &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26674740&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;muleforgedev@...&lt;/a&gt;.
&lt;br&gt;To unsubscribe from this group, send email to &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26674740&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;muleforgedev+unsubscribe@...&lt;/a&gt;.
&lt;br&gt;For more options, visit this group at &lt;a href=&quot;http://groups.google.com/group/muleforgedev?hl=en&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://groups.google.com/group/muleforgedev?hl=en&lt;/a&gt;.
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/MuleForge-Dev-f29652.html&quot; embed=&quot;fixTarget[29652]&quot; target=&quot;_top&quot; &gt;MuleForge Dev&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/-mule-jira--Created%3A-%28SFTP-15%29-Add-keepFileOnError-parameter-tp26625058p26674740.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26674742</id>
	<title>[mule-transport-sftp-dev] [mule-jira] Commented: (SFTP-15) Add keepFileOnError parameter</title>
	<published>2009-12-07T01:35:22Z</published>
	<updated>2009-12-07T01:35:22Z</updated>
	<author>
		<name>JIRA no-reply@mulesource.com</name>
	</author>
	<content type="html">&lt;br&gt;&amp;nbsp; &amp;nbsp; [ &lt;a href=&quot;http://www.mulesource.org/jira/browse/SFTP-15?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&amp;focusedCommentId=32659#action_32659&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.mulesource.org/jira/browse/SFTP-15?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&amp;focusedCommentId=32659#action_32659&lt;/a&gt;&amp;nbsp;] 
&lt;br&gt;&lt;br&gt;Lennart Häggkvist commented on SFTP-15:
&lt;br&gt;---------------------------------------
&lt;br&gt;&lt;br&gt;Changed the default value to true after discussion with Magnus
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Add keepFileOnError parameter
&lt;br&gt;&amp;gt; -----------------------------
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Key: SFTP-15
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; URL: &lt;a href=&quot;http://www.mulesource.org/jira/browse/SFTP-15&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.mulesource.org/jira/browse/SFTP-15&lt;/a&gt;&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Project: SFTP Transport Project
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Issue Type: Bug
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Components: Code
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;Affects Versions: 2.2.*
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Reporter: Lennart Häggkvist
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Assignee: Lennart Häggkvist
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Fix For: 2.2.1-RC2
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; In the 2.2.x branch we did a change that when an exception occurs in the transport we didn't delete the file.
&lt;br&gt;&amp;gt; This broke backward compatibility. Another problem is that other transports don't work this way. 
&lt;br&gt;&amp;gt; The third issue is that this functionality only worked when both the inbound and outbound endpoints was using the sftp-transport.
&lt;br&gt;&amp;gt; The suggestion is to add a 'keepFileOnError' paramater to the outbound endpoint. When the value is true
&lt;br&gt;&amp;gt; we will ensure that the file is not deleted if an exception is thrown. The documentation has to be clear about
&lt;br&gt;&amp;gt; the limitation about sftp--&amp;gt;sftp as well.
&lt;/div&gt;&lt;br&gt;-- 
&lt;br&gt;This message is automatically generated by JIRA.
&lt;br&gt;-
&lt;br&gt;If you think it was sent incorrectly contact one of the administrators: &lt;a href=&quot;http://www.mulesource.org/jira/secure/Administrators.jspa&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.mulesource.org/jira/secure/Administrators.jspa&lt;/a&gt;&lt;br&gt;-
&lt;br&gt;For more information on JIRA, see: &lt;a href=&quot;http://www.atlassian.com/software/jira&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.atlassian.com/software/jira&lt;/a&gt;&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;
&lt;br&gt;&lt;br&gt;---------------------------------------------------------------------
&lt;br&gt;To unsubscribe from this list, please visit:
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &lt;a href=&quot;http://admin.muleforge.org/manage_email&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://admin.muleforge.org/manage_email&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;--
&lt;br&gt;&lt;br&gt;You received this message because you are subscribed to the Google Groups &amp;quot;MuleForge Dev&amp;quot; group.
&lt;br&gt;To post to this group, send email to &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26674742&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;muleforgedev@...&lt;/a&gt;.
&lt;br&gt;To unsubscribe from this group, send email to &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26674742&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;muleforgedev+unsubscribe@...&lt;/a&gt;.
&lt;br&gt;For more options, visit this group at &lt;a href=&quot;http://groups.google.com/group/muleforgedev?hl=en&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://groups.google.com/group/muleforgedev?hl=en&lt;/a&gt;.
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/MuleForge-Dev-f29652.html&quot; embed=&quot;fixTarget[29652]&quot; target=&quot;_top&quot; &gt;MuleForge Dev&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/-mule-transport-sftp-dev---mule-jira--Created%3A-%28SFTP-15%29-Add-keepFileOnError-parameter-tp26625057p26674742.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26674772</id>
	<title>RE: Recommendation on synchronous handoff from one queue to another</title>
	<published>2009-12-07T01:34:25Z</published>
	<updated>2009-12-07T01:34:25Z</updated>
	<author>
		<name>Farrell, Kevin (ICTL_eCust_05)</name>
	</author>
	<content type="html">&lt;!DOCTYPE HTML PUBLIC &quot;-//W3C//DTD HTML 4.0 Transitional//EN&quot;&gt;
&lt;HTML&gt;&lt;HEAD&gt;
&lt;META HTTP-EQUIV=&quot;Content-Type&quot; CONTENT=&quot;text/html; charset=iso-8859-1&quot;&gt;


&lt;META content=&quot;MSHTML 6.00.2900.2180&quot; name=GENERATOR&gt;&lt;/HEAD&gt;
&lt;BODY style=&quot;WORD-WRAP: break-word; webkit-nbsp-mode: space; webkit-line-break: after-white-space&quot;&gt;
&lt;DIV&gt;&lt;SPAN class=788222309-07122009&gt;&lt;FONT face=Arial color=#0000ff size=2&gt;Hi 
Alex,&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN class=788222309-07122009&gt;&lt;/SPAN&gt;&lt;SPAN class=788222309-07122009&gt;&lt;FONT face=Arial color=#0000ff size=2&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN class=788222309-07122009&gt;&lt;FONT face=Arial color=#0000ff size=2&gt;We've 
done a lot of work with JMS queues and (without knowing your requirements) it 
seems odd that you would use non-persistant queues....in your description you 
mention the risk that if the JMS server goes down you'd lose your 
messages....this to me suggests your queues need to be persistant. You should 
maybe take a look at the Enterprise Integration Patterns book - what you're 
looking&amp;nbsp;for is guaranteed delivery which needs a persistant store for your 
messages.&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN class=788222309-07122009&gt;&lt;/SPAN&gt;&lt;SPAN class=788222309-07122009&gt;&lt;FONT face=Arial color=#0000ff size=2&gt;Also ideally your&amp;nbsp;service should 
be&amp;nbsp;transactional because for example if your component blows up when it's 
processing a message that message would be lost.&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN class=788222309-07122009&gt;&lt;FONT face=Arial color=#0000ff size=2&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN class=788222309-07122009&gt;&lt;FONT face=Arial color=#0000ff size=2&gt;Regards,&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN class=788222309-07122009&gt;&lt;FONT face=Arial color=#0000ff size=2&gt;Kevin.&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN class=788222309-07122009&gt;&lt;FONT face=Arial color=#0000ff size=2&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN class=788222309-07122009&gt;&lt;FONT face=Arial color=#0000ff size=2&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;BLOCKQUOTE dir=ltr style=&quot;MARGIN-RIGHT: 0px&quot;&gt;
  &lt;DIV class=OutlookMessageHeader dir=ltr align=left&gt;&lt;FONT face=Tahoma size=2&gt;-----Original Message-----&lt;BR&gt;&lt;B&gt;From:&lt;/B&gt; Alex Thieme 
  [mailto:&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26674772&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;mule@...&lt;/a&gt;]&lt;BR&gt;&lt;B&gt;Sent:&lt;/B&gt; 04 December 2009 20:41&lt;BR&gt;&lt;B&gt;To:&lt;/B&gt; 
  &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26674772&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;user@...&lt;/a&gt;&lt;BR&gt;&lt;B&gt;Subject:&lt;/B&gt; Re: [mule-user] Recommendation on 
  synchronous handoff from one queue to another&lt;BR&gt;&lt;BR&gt;&lt;/FONT&gt;&lt;/DIV&gt;
  &lt;TABLE&gt;
    &lt;TBODY&gt;
    &lt;TR&gt;
      &lt;TD bgColor=#ffffff&gt;&lt;FONT color=#000000&gt;*************************************&lt;BR&gt;&lt;BR&gt;This e-mail 
        has been received by the Revenue Internet e-mail service. 
        (IP)&lt;BR&gt;&lt;BR&gt;*************************************&lt;BR&gt;&lt;/FONT&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;
  &lt;DIV&gt;&lt;BR&gt;&lt;/DIV&gt;Sorry for that. The question is, what's the Mule 
  &lt;I&gt;recommended&lt;/I&gt; approach to handling this problem. I proposed one possible 
  solution using persistent inner queues, but that seemed flawed. I also 
  proposed the possibility of some synchronous relationship between the external 
  and internal queues. I wasn't sure if such a thing eve exists. Lastly, I threw 
  out the possibility of a distributed transaction. Again, I looking for a 
  recommendation, perhaps even a short and long term strategy (i.e. if I need 
  something quick, apply this short term solution; if I need something correct, 
  apply this long term strategy).
  &lt;DIV&gt;&lt;BR&gt;&lt;/DIV&gt;
  &lt;DIV&gt;Alex&lt;/DIV&gt;
  &lt;DIV&gt;&lt;BR&gt;
  &lt;DIV&gt;
  &lt;DIV&gt;On Nov 30, 2009, at 1:16 PM, David Dossot wrote:&lt;/DIV&gt;&lt;BR class=Apple-interchange-newline&gt;
  &lt;BLOCKQUOTE type=&quot;cite&quot;&gt;What question? ;-)&lt;BR&gt;&lt;BR&gt;You pretty much stated a 
    need and listed different valid approaches to satisfy it, so it's hard to 
    really see what else can be said...&lt;BR&gt;&lt;BR&gt;D.&lt;BR&gt;&lt;BR&gt;&lt;BR&gt;
    &lt;DIV class=gmail_quote&gt;On Mon, Nov 30, 2009 at 7:20 AM, Alex Thieme &lt;SPAN dir=ltr&gt;&amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26674772&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;mule@...&lt;/a&gt;&amp;gt;&lt;/SPAN&gt; wrote:&lt;BR&gt;
    &lt;BLOCKQUOTE class=gmail_quote style=&quot;PADDING-LEFT: 1ex; MARGIN: 0pt 0pt 0pt 0.8ex; BORDER-LEFT: rgb(204,204,204) 1px solid&quot;&gt;&lt;BR&gt;I 
      hate to do this; but, did anyone have thoughts on this question?
      &lt;DIV&gt;
      &lt;DIV&gt;&lt;/DIV&gt;
      &lt;DIV class=h5&gt;&lt;BR&gt;&lt;BR&gt;On Nov 13, 2009, at 6:03 PM, Alex Thieme 
      wrote:&lt;BR&gt;&lt;BR&gt;
      &lt;BLOCKQUOTE class=gmail_quote style=&quot;PADDING-LEFT: 1ex; MARGIN: 0pt 0pt 0pt 0.8ex; BORDER-LEFT: rgb(204,204,204) 1px solid&quot;&gt;&lt;BR&gt;I 
        have a system that supports different &quot;external&quot; messaging styles, both 
        synchronous and asynchronous (e.g. Sockets and JMS respectively, etc). 
        As well, the system attempts to insulate itself from the different 
        &quot;external&quot; messaging styles, so a set of &quot;internal&quot; JMS queues are setup 
        (i.e. move messages from &quot;external&quot; queues to &quot;internal&quot; queues). 
        Further, we are able to make the synchronous protocols asynchronous, 
        adding reliability (in case the service listening on the inner queue is 
        not running, the message might still go on the inner queue for 
        later).&lt;BR&gt;&lt;BR&gt;Now, here's the problem. We have some examples of 
        &quot;external&quot; messaging using persistent JMS queues. However, the &quot;inner&quot; 
        queues are NOT persistent. That, and the movement of a message from an 
        &quot;external&quot; queue to an &quot;internal&quot; queue is not part of a transaction. 
        And, what's happening is that messages are very quickly getting pulled 
        off of the &quot;external&quot; queue, and moved onto the &quot;inner&quot; queue. And, 
        messages are pulled off of the &quot;inner&quot; queue comparatively slower (i.e. 
        only as quickly as the service can process the message). For the sake of 
        example, let's say we move 1000 messages per second from &quot;external&quot; to 
        &quot;internal&quot;; but, we're only processing 1 message per second (a service 
        pulls a message from the &quot;internal&quot; queue, and processes it). Since the 
        &quot;inner&quot; queues are NOT persistent, if the system running the &quot;inner&quot; 
        queues shuts down, then all of the messages on the &quot;inner&quot; queues are 
        lost. That could be thousands of unprocessed messages.&lt;BR&gt;&lt;BR&gt;Also 
        thrown into the mix is usage of the Mule VM queues. Really, there's no 
        compelling reason to use these (i.e. I could use ActiveMQ for all 
        &quot;internal&quot; messaging), unless someone can make a case.&lt;BR&gt;&lt;BR&gt;Thoughts 
        on fixing this...&lt;BR&gt;&lt;BR&gt;One thought that quickly comes to mind would be 
        to make the &quot;internal&quot; queues persistent, problem solved. Perhaps that's 
        the right thing to do regardless. However, that's kind of shifting the 
        responsibility from the &quot;external&quot; messaging system to the &quot;internal&quot; 
        system. Seems silly.&lt;BR&gt;&lt;BR&gt;Another thing that came to mind was to 
        define somewhat of a synchronous process where a message is only pulled 
        off of the &quot;external&quot; queue at the rate that the service is pulling a 
        message off of the &quot;internal&quot; queue. I don't mean to rate limit. I'm 
        thinking more of a Mule configuration option where these two functions 
        are tied together, a one for one shifting of responsibility.&lt;BR&gt;&lt;BR&gt;Or, 
        do I need to factor in a distributed transaction, again, using Mule 
        config (i.e. tie together external, plus internal, plus wherever the 
        messages go and get processed)?&lt;BR&gt;&lt;BR&gt;Here's are some of the existing 
        configuration. Of course, in helping, comments are welcome, as well as 
        links to Mule pages and even samples of configuration (ideally, using my 
        configuration as a base).&lt;BR&gt;&lt;BR&gt;&amp;lt;?xml version=&quot;1.0&quot; 
        encoding=&quot;UTF-8&quot;?&amp;gt;&lt;BR&gt;&amp;lt;mule xmlns=&quot;&lt;A href=&quot;http://www.mulesource.org/schema/mule/core/2.1&quot; target=_blank rel=&quot;nofollow&quot;&gt;http://www.mulesource.org/schema/mule/core/2.1&lt;/A&gt;&quot;&lt;BR&gt;&amp;nbsp; 
        &amp;nbsp; xmlns:xsi=&quot;&lt;A href=&quot;http://www.w3.org/2001/XMLSchema-instance&quot; target=_blank rel=&quot;nofollow&quot;&gt;http://www.w3.org/2001/XMLSchema-instance&lt;/A&gt;&quot;&lt;BR&gt;&amp;nbsp; 
        &amp;nbsp; xmlns:mule=&quot;&lt;A href=&quot;http://www.mulesource.org/schema/mule/core/2.1&quot; target=_blank rel=&quot;nofollow&quot;&gt;http://www.mulesource.org/schema/mule/core/2.1&lt;/A&gt;&quot;&lt;BR&gt;&amp;nbsp; 
        &amp;nbsp; xmlns:jms=&quot;&lt;A href=&quot;http://www.mulesource.org/schema/mule/jms/2.1&quot; target=_blank rel=&quot;nofollow&quot;&gt;http://www.mulesource.org/schema/mule/jms/2.1&lt;/A&gt;&quot;&lt;BR&gt;&amp;nbsp; 
        &amp;nbsp; xmlns:spring=&quot;&lt;A href=&quot;http://www.springframework.org/schema/beans&quot; target=_blank rel=&quot;nofollow&quot;&gt;http://www.springframework.org/schema/beans&lt;/A&gt;&quot;&lt;BR&gt;&amp;nbsp; 
        &amp;nbsp; xmlns:file=&quot;&lt;A href=&quot;http://www.mulesource.org/schema/mule/file/2.1&quot; target=_blank rel=&quot;nofollow&quot;&gt;http://www.mulesource.org/schema/mule/file/2.1&lt;/A&gt;&quot;&lt;BR&gt;&amp;nbsp; 
        &amp;nbsp; xmlns:vm=&quot;&lt;A href=&quot;http://www.mulesource.org/schema/mule/vm/2.1&quot; target=_blank rel=&quot;nofollow&quot;&gt;http://www.mulesource.org/schema/mule/vm/2.1&lt;/A&gt;&quot;&lt;BR&gt;&amp;nbsp; 
        &amp;nbsp; xsi:schemaLocation=&quot;&lt;BR&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;A href=&quot;http://www.springframework.org/schema/beans&quot; target=_blank rel=&quot;nofollow&quot;&gt;http://www.springframework.org/schema/beans&lt;/A&gt; &lt;A href=&quot;http://www.springframework.org/schema/beans/spring-beans-2.5.xsd&quot; target=_blank rel=&quot;nofollow&quot;&gt;http://www.springframework.org/schema/beans/spring-beans-2.5.xsd&lt;/A&gt;&lt;BR&gt;&amp;nbsp; 
        &amp;nbsp; &amp;nbsp;&lt;A href=&quot;http://www.mulesource.org/schema/mule/core/2.1&quot; target=_blank rel=&quot;nofollow&quot;&gt;http://www.mulesource.org/schema/mule/core/2.1&lt;/A&gt; &lt;A href=&quot;http://www.mulesource.org/schema/mule/core/2.1/mule.xsd&quot; target=_blank rel=&quot;nofollow&quot;&gt;http://www.mulesource.org/schema/mule/core/2.1/mule.xsd&lt;/A&gt;&lt;BR&gt;&amp;nbsp; 
        &amp;nbsp; &amp;nbsp;&lt;A href=&quot;http://www.mulesource.org/schema/mule/file/2.1&quot; target=_blank rel=&quot;nofollow&quot;&gt;http://www.mulesource.org/schema/mule/file/2.1&lt;/A&gt; &lt;A href=&quot;http://www.mulesource.org/schema/mule/file/2.1/mule-file.xsd&quot; target=_blank rel=&quot;nofollow&quot;&gt;http://www.mulesource.org/schema/mule/file/2.1/mule-file.xsd&lt;/A&gt;&lt;BR&gt;&amp;nbsp; 
        &amp;nbsp; &amp;nbsp;&lt;A href=&quot;http://www.mulesource.org/schema/mule/vm/2.1&quot; target=_blank rel=&quot;nofollow&quot;&gt;http://www.mulesource.org/schema/mule/vm/2.1&lt;/A&gt; &lt;A href=&quot;http://www.mulesource.org/schema/mule/vm/2.1/mule-vm.xsd&quot; target=_blank rel=&quot;nofollow&quot;&gt;http://www.mulesource.org/schema/mule/vm/2.1/mule-vm.xsd&lt;/A&gt;&lt;BR&gt;&amp;nbsp; 
        &amp;nbsp; &amp;nbsp;&lt;A href=&quot;http://www.mulesource.org/schema/mule/jms/2.1&quot; target=_blank rel=&quot;nofollow&quot;&gt;http://www.mulesource.org/schema/mule/jms/2.1&lt;/A&gt; &lt;A href=&quot;http://www.mulesource.org/schema/mule/jms/2.1/mule-jms.xsd&quot; target=_blank rel=&quot;nofollow&quot;&gt;http://www.mulesource.org/schema/mule/jms/2.1/mule-jms.xsd&lt;/A&gt;&quot;&amp;gt;&lt;BR&gt;&lt;BR&gt;&amp;nbsp; 
        &amp;lt;jms:endpoint name=&quot;message.jms&quot; queue=&quot;...&quot; 
        connector-ref=&quot;wmqJmsConnector&quot;/&amp;gt;&lt;BR&gt;&amp;nbsp; &amp;lt;jms:endpoint 
        name=&quot;message.internal.jms&quot; queue=&quot;...&quot; 
        connector-ref=&quot;amqJmsConnector&quot;/&amp;gt;&lt;BR&gt;&amp;nbsp; &amp;lt;jms:endpoint 
        name=&quot;someMessage.jms&quot; queue=&quot;...&quot; connector-ref=&quot;...&quot;/&amp;gt;&lt;BR&gt;&amp;nbsp; 
        &amp;lt;jms:endpoint name=&quot;somewhereElse.jms&quot; queue=&quot;...&quot; 
        connector-ref=&quot;...&quot;/&amp;gt;&lt;BR&gt;&amp;nbsp; &amp;lt;vm:endpoint name=&quot;someMessage.vm&quot; 
        path=&quot;...&quot; connector-ref=&quot;syncVm&quot;/&amp;gt;&lt;BR&gt;&amp;nbsp; &amp;lt;vm:endpoint 
        name=&quot;someOtherMessage.vm&quot; path=&quot;...&quot; 
        connector-ref=&quot;syncVm&quot;/&amp;gt;&lt;BR&gt;&amp;nbsp; &amp;lt;vm:endpoint 
        name=&quot;somewhere.vm&quot; path=&quot;...&quot; connector-ref=&quot;syncVm&quot;/&amp;gt;&lt;BR&gt;&amp;nbsp; 
        &amp;lt;vm:connector name=&quot;syncVm&quot; queueEvents=&quot;false&quot; /&amp;gt;&lt;BR&gt;&lt;BR&gt;&amp;nbsp; 
        &amp;lt;model name=&quot;Messages&quot;&amp;gt;&lt;BR&gt;&lt;BR&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; 
        &amp;lt;!--&lt;BR&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; Take the message from the &quot;external&quot; 
        queue (using Websphere MQ connector),&lt;BR&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; then log 
        the message,&lt;BR&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; then puts the message on the 
        &quot;internal&quot; queue (using ActiveMQ connector)&lt;BR&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; 
        --&amp;gt;&lt;BR&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;service 
        name=&quot;inMsgReceiver&quot;&amp;gt;&lt;BR&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
        &amp;lt;inbound&amp;gt;&lt;BR&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
        &amp;lt;jms:inbound-endpoint ref=&quot;message.jms&quot;/&amp;gt;&lt;BR&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; 
        &amp;nbsp; &amp;nbsp; &amp;lt;/inbound&amp;gt;&lt;BR&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
        &amp;lt;component&amp;gt;&lt;BR&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
        &amp;lt;spring-object bean=&quot;msgLoggerComponent&quot;/&amp;gt;&lt;BR&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; 
        &amp;nbsp; &amp;nbsp; &amp;lt;/component&amp;gt;&lt;BR&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
        &amp;lt;outbound&amp;gt;&lt;BR&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
        &amp;lt;pass-through-router&amp;gt;&lt;BR&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
        &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;jms:outbound-endpoint 
        ref=&quot;message.internal.jms&quot;/&amp;gt;&lt;BR&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
        &amp;nbsp; &amp;nbsp; &amp;lt;/pass-through-router&amp;gt;&lt;BR&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; 
        &amp;nbsp; &amp;nbsp; &amp;lt;/outbound&amp;gt;&lt;BR&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; 
        &amp;lt;/service&amp;gt;&lt;BR&gt;&lt;BR&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;!--&lt;BR&gt;&amp;nbsp; &amp;nbsp; 
        &amp;nbsp; Take the message from the &quot;internal&quot; queue (using ActiveMQ 
        connector),&lt;BR&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; parse the message into an 
        Object,&lt;BR&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; then depending on the type of Object 
        coming out of the component,&lt;BR&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; route the message 
        to a Mule VM endpoint, OR a JMS queue (perhaps going to an &quot;enternal&quot; 
        queue)&lt;BR&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; --&amp;gt;&lt;BR&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; 
        &amp;lt;service name=&quot;inMsgParser&quot;&amp;gt;&lt;BR&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
        &amp;lt;inbound&amp;gt;&lt;BR&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
        &amp;lt;jms:inbound-endpoint ref=&quot;message.internal.jms&quot;/&amp;gt;&lt;BR&gt;&amp;nbsp; 
        &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;/inbound&amp;gt;&lt;BR&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; 
        &amp;nbsp; &amp;nbsp; &amp;lt;component&amp;gt;&lt;BR&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
        &amp;nbsp; &amp;nbsp; &amp;lt;spring-object bean=&quot;msgParser&quot;/&amp;gt;&lt;BR&gt;&amp;nbsp; &amp;nbsp; 
        &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;/component&amp;gt;&lt;BR&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
        &amp;nbsp; &amp;lt;outbound&amp;gt;&lt;BR&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
        &amp;nbsp; &amp;lt;filtering-router&amp;gt;&lt;BR&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
        &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;vm:outbound-endpoint 
        ref=&quot;someMessage.jms&quot;/&amp;gt;&lt;BR&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
        &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;mule:payload-type-filter 
        expectedType=&quot;...&quot;/&amp;gt;&lt;BR&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
        &amp;nbsp; &amp;lt;/filtering-router&amp;gt;&lt;BR&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
        &amp;nbsp; &amp;nbsp; &amp;lt;filtering-router&amp;gt;&lt;BR&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
        &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;vm:outbound-endpoint 
        ref=&quot;someMessage.vm&quot;/&amp;gt;&lt;BR&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
        &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;mule:payload-type-filter 
        expectedType=&quot;...&quot;/&amp;gt;&lt;BR&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
        &amp;nbsp; &amp;lt;/filtering-router&amp;gt;&lt;BR&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
        &amp;nbsp; &amp;nbsp; &amp;lt;filtering-router&amp;gt;&lt;BR&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
        &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;vm:outbound-endpoint 
        ref=&quot;someOtherMessage.vm&quot;/&amp;gt;&lt;BR&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
        &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;mule:payload-type-filter 
        expectedType=&quot;...&quot;/&amp;gt;&lt;BR&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
        &amp;nbsp; &amp;lt;/filtering-router&amp;gt;&lt;BR&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
        &amp;lt;/outbound&amp;gt;&lt;BR&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;/service&amp;gt;&lt;BR&gt;&lt;BR&gt;&amp;nbsp; 
        &amp;nbsp; &amp;nbsp; &amp;lt;!--&lt;BR&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; Take the message from the 
        &quot;internal&quot; VM,&lt;BR&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; do some processing on the 
        message,&lt;BR&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; then depending on the type of Object 
        coming out of the component,&lt;BR&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; route the message 
        to a Mule VM endpoint, OR a JMS queue (perhaps going to an &quot;enternal&quot; 
        queue)&lt;BR&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; --&amp;gt;&lt;BR&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; 
        &amp;lt;service name=&quot;inSomeMsgProcessor&quot;&amp;gt;&lt;BR&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
        &amp;nbsp; &amp;lt;inbound&amp;gt;&lt;BR&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
        &amp;nbsp; &amp;lt;vm:inbound-endpoint ref=&quot;someMessage.vm&quot;/&amp;gt;&lt;BR&gt;&amp;nbsp; 
        &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;/inbound&amp;gt;&lt;BR&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; 
        &amp;nbsp; &amp;nbsp; &amp;lt;component&amp;gt;&lt;BR&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
        &amp;nbsp; &amp;nbsp; &amp;lt;spring-object bean=&quot;someMsgComponent&quot;/&amp;gt;&lt;BR&gt;&amp;nbsp; 
        &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;/component&amp;gt;&lt;BR&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; 
        &amp;nbsp; &amp;nbsp; &amp;lt;outbound&amp;gt;&lt;BR&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
        &amp;nbsp; &amp;nbsp; &amp;lt;list-message-splitter-router&amp;gt;&lt;BR&gt;&amp;nbsp; &amp;nbsp; 
        &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;outbound-endpoint 
        ref=&quot;somewhere.vm&quot;&amp;gt;&lt;BR&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
        &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;payload-type-filter 
        expectedType=&quot;...&quot;/&amp;gt;&lt;BR&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
        &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;/outbound-endpoint&amp;gt;&lt;BR&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; 
        &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;outbound-endpoint 
        ref=&quot;somewhereElse.jms&quot;&amp;gt;&lt;BR&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
        &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;payload-type-filter 
        expectedType=&quot;...&quot;/&amp;gt;&lt;BR&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
        &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;/outbound-endpoint&amp;gt;&lt;BR&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; 
        &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
        &amp;lt;/list-message-splitter-router&amp;gt;&lt;BR&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
        &amp;nbsp; &amp;lt;/outbound&amp;gt;&lt;BR&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; 
        &amp;lt;/service&amp;gt;&lt;BR&gt;&lt;BR&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;!-- Another example 
        --&amp;gt;&lt;BR&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;service 
        name=&quot;inSomeOtherMsgProcessor&quot;&amp;gt;&lt;BR&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
        &amp;lt;inbound&amp;gt;&lt;BR&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
        &amp;lt;vm:inbound-endpoint ref=&quot;someOtherMessage.vm&quot;/&amp;gt;&lt;BR&gt;&amp;nbsp; &amp;nbsp; 
        &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;/inbound&amp;gt;&lt;BR&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
        &amp;nbsp; &amp;lt;component&amp;gt;&lt;BR&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
        &amp;nbsp; &amp;lt;spring-object bean=&quot;someOtherMsgComponent&quot;/&amp;gt;&lt;BR&gt;&amp;nbsp; 
        &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;/component&amp;gt;&lt;BR&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; 
        &amp;nbsp; &amp;nbsp; &amp;lt;outbound&amp;gt;&lt;BR&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
        &amp;nbsp; &amp;nbsp; &amp;lt;list-message-splitter-router&amp;gt;&lt;BR&gt;&amp;nbsp; &amp;nbsp; 
        &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;outbound-endpoint 
        ref=&quot;somewhere.vm&quot;&amp;gt;&lt;BR&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
        &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;payload-type-filter 
        expectedType=&quot;...&quot;/&amp;gt;&lt;BR&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
        &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;/outbound-endpoint&amp;gt;&lt;BR&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; 
        &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;outbound-endpoint 
        ref=&quot;somewhereElse.jms&quot;&amp;gt;&lt;BR&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
        &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;payload-type-filter 
        expectedType=&quot;...&quot;/&amp;gt;&lt;BR&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
        &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;/outbound-endpoint&amp;gt;&lt;BR&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; 
        &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
        &amp;lt;/list-message-splitter-router&amp;gt;&lt;BR&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
        &amp;nbsp; &amp;lt;/outbound&amp;gt;&lt;BR&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; 
        &amp;lt;/service&amp;gt;&lt;BR&gt;&lt;BR&gt;&amp;nbsp; 
        &amp;lt;/model&amp;gt;&lt;BR&gt;&lt;BR&gt;&amp;lt;/mule&amp;gt;&lt;BR&gt;&lt;BR&gt;&lt;BR&gt;---------------------------------------------------------------------&lt;BR&gt;To 
        unsubscribe from this list, please visit:&lt;BR&gt;&lt;BR&gt;&amp;nbsp;&lt;A href=&quot;http://xircles.codehaus.org/manage_email&quot; target=_blank rel=&quot;nofollow&quot;&gt;http://xircles.codehaus.org/manage_email&lt;/A&gt;&lt;BR&gt;&lt;BR&gt;&lt;BR&gt;&lt;/BLOCKQUOTE&gt;&lt;BR&gt;&lt;BR&gt;---------------------------------------------------------------------&lt;BR&gt;To 
      unsubscribe from this list, please visit:&lt;BR&gt;&lt;BR&gt;&amp;nbsp; &lt;A href=&quot;http://xircles.codehaus.org/manage_email&quot; target=_blank rel=&quot;nofollow&quot;&gt;http://xircles.codehaus.org/manage_email&lt;/A&gt;&lt;BR&gt;&lt;BR&gt;&lt;BR&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/BLOCKQUOTE&gt;&lt;/DIV&gt;&lt;BR&gt;&lt;/BLOCKQUOTE&gt;&lt;/DIV&gt;&lt;BR&gt;&lt;/DIV&gt;&lt;/BLOCKQUOTE&gt;&lt;/BODY&gt;&lt;/HTML&gt;

&lt;table&gt;&lt;tr&gt;&lt;td bgcolor=#ffffff&gt;&lt;font color=#000000&gt;*********************************************************************&lt;br&gt;
&lt;br&gt;
Please note that Revenue cannot guarantee that any personal &lt;br&gt;
and sensitive data, sent in plain text via standard email, &lt;br&gt;
is fully secure. Customers who choose to use this channel &lt;br&gt;
are deemed to have accepted any risk involved. The alternative &lt;br&gt;
communication methods offered by Revenue include standard post &lt;br&gt;
and the option to register for our (encrypted) secure email service.&lt;br&gt;
http://www.revenue.ie/en/practitioner/secure-email.html&lt;br&gt;
&lt;br&gt;
*********************************************************************&lt;br&gt;
&lt;/font&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Mule---User-f2727.html&quot; embed=&quot;fixTarget[2727]&quot; target=&quot;_top&quot; &gt;Mule - User&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Recommendation-on-synchronous-handoff-from-one-queue-to-another-tp26344958p26674772.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26674729</id>
	<title>[mule-transport-sftp-dev]  [116] trunk/src/test/resources: SFTP-15: changed the default for the keepFileOnError attribute from false to true</title>
	<published>2009-12-07T01:34:14Z</published>
	<updated>2009-12-07T01:34:14Z</updated>
	<author>
		<name>elhoo</name>
	</author>
	<content type="html">&lt;!DOCTYPE html PUBLIC &quot;-//W3C//DTD XHTML 1.1//EN&quot; &quot;http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd&quot;&gt;
&lt;html xmlns=&quot;http://www.w3.org/1999/xhtml&quot;&gt;
&lt;head&gt;
&lt;title&gt; [116] trunk/src/test/resources: SFTP-15: changed the default for the keepFileOnError attribute from false to true&lt;/title&gt;
&lt;/head&gt;
&lt;body&gt;

&lt;div id=&quot;msg&quot;&gt;
&lt;dl&gt;
&lt;dt&gt;Revision&lt;/dt&gt; &lt;dd&gt;&lt;a href=&quot;http://fisheye.muleforge.org/changelog/mule-transport-sftp/?cs=116&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;116&lt;/a&gt;&lt;/dd&gt;
&lt;dt&gt;Author&lt;/dt&gt; &lt;dd&gt;elhoo&lt;/dd&gt;
&lt;dt&gt;Date&lt;/dt&gt; &lt;dd&gt;2009-12-07 03:34:14 -0600 (Mon, 07 Dec 2009)&lt;/dd&gt;
&lt;/dl&gt;

&lt;h3&gt;Log Message&lt;/h3&gt;
&lt;pre&gt;&lt;a href=&quot;http://mule.mulesource.org/jira/secure/ViewIssue.jspa?key=SFTP-15&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;SFTP-15&lt;/a&gt;: changed the default for the keepFileOnError attribute from false to true&lt;/pre&gt;

&lt;h3&gt;Modified Paths&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href=&quot;#trunksrcmainresourcesMETAINFmulesftpxsd&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;trunk/src/main/resources/META-INF/mule-sftp.xsd&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;#trunksrctestjavaorgmuletransportsftpSftpEndpointTestCasejava&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;trunk/src/test/java/org/mule/transport/sftp/SftpEndpointTestCase.java&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;#trunksrctestresourcesmulesftpendpointconfigxml&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;trunk/src/test/resources/mule-sftp-endpoint-config.xml&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;/div&gt;
&lt;div id=&quot;patch&quot;&gt;
&lt;h3&gt;Diff&lt;/h3&gt;
&lt;a id=&quot;trunksrcmainresourcesMETAINFmulesftpxsd&quot; target=&quot;_top&quot;&gt;&lt;/a&gt;
&lt;div class=&quot;modfile&quot;&gt;&lt;h4&gt;Modified: trunk/src/main/resources/META-INF/mule-sftp.xsd (115 =&gt; 116)&lt;/h4&gt;
&lt;pre class=&quot;diff&quot;&gt;
&lt;span class=&quot;info&quot;&gt;--- trunk/src/main/resources/META-INF/mule-sftp.xsd	2009-12-07 08:41:41 UTC (rev 115)
+++ trunk/src/main/resources/META-INF/mule-sftp.xsd	2009-12-07 09:34:14 UTC (rev 116)
&lt;/span&gt;&lt;span class=&quot;lines&quot;&gt;@@ -180,7 +180,7 @@
&lt;/span&gt;&lt;span class=&quot;cx&quot;&gt;                 &amp;lt;/xsd:documentation&amp;gt;
             &amp;lt;/xsd:annotation&amp;gt;
         &amp;lt;/xsd:attribute&amp;gt;
&lt;/span&gt;&lt;span class=&quot;rem&quot;&gt;-        &amp;lt;xsd:attribute name=&amp;quot;keepFileOnError&amp;quot; type=&amp;quot;mule:substitutableBoolean&amp;quot; default=&amp;quot;false&amp;quot;&amp;gt;
&lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+        &amp;lt;xsd:attribute name=&amp;quot;keepFileOnError&amp;quot; type=&amp;quot;mule:substitutableBoolean&amp;quot; default=&amp;quot;true&amp;quot;&amp;gt;
&lt;/span&gt;&lt;span class=&quot;cx&quot;&gt;           &amp;lt;xsd:annotation&amp;gt;
             &amp;lt;xsd:documentation&amp;gt;
               If true the file on the inbound-endpoint will not be deleted if an error occurs when writing to the outbound-endpoint.
&lt;/span&gt;&lt;/pre&gt;&lt;/div&gt;
&lt;a id=&quot;trunksrctestjavaorgmuletransportsftpSftpEndpointTestCasejava&quot; target=&quot;_top&quot;&gt;&lt;/a&gt;
&lt;div class=&quot;modfile&quot;&gt;&lt;h4&gt;Modified: trunk/src/test/java/org/mule/transport/sftp/SftpEndpointTestCase.java (115 =&gt; 116)&lt;/h4&gt;
&lt;pre class=&quot;diff&quot;&gt;
&lt;span class=&quot;info&quot;&gt;--- trunk/src/test/java/org/mule/transport/sftp/SftpEndpointTestCase.java	2009-12-07 08:41:41 UTC (rev 115)
+++ trunk/src/test/java/org/mule/transport/sftp/SftpEndpointTestCase.java	2009-12-07 09:34:14 UTC (rev 116)
&lt;/span&gt;&lt;span class=&quot;lines&quot;&gt;@@ -73,6 +73,15 @@
&lt;/span&gt;&lt;span class=&quot;cx&quot;&gt;         assertEquals(&amp;quot;user42&amp;quot;, url2.getUser());
 
         assertEquals(url1.getUri().toString(), url2.getUri().toString());
&lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+
+        ImmutableEndpoint outboundEndpoint1 = (ImmutableEndpoint) muleClient.getProperty(&amp;quot;outboundEndpoint1&amp;quot;);
+        ImmutableEndpoint outboundEndpoint2 = (ImmutableEndpoint) muleClient.getProperty(&amp;quot;outboundEndpoint2&amp;quot;);
+
+        SftpUtil oUtil1 = new SftpUtil(outboundEndpoint1);
+        SftpUtil oUtil2 = new SftpUtil(outboundEndpoint2);
+
+        assertTrue(&amp;quot;&amp;#39;keepFileOnError&amp;#39; should be on by default&amp;quot;, oUtil1.isKeepFileOnError());
+        assertFalse(&amp;quot;&amp;#39;keepFileOnError&amp;#39; should be false&amp;quot;, oUtil2.isKeepFileOnError());
&lt;/span&gt;&lt;span class=&quot;cx&quot;&gt;     }
 
 
&lt;/span&gt;&lt;/pre&gt;&lt;/div&gt;
&lt;a id=&quot;trunksrctestresourcesmulesftpendpointconfigxml&quot; target=&quot;_top&quot;&gt;&lt;/a&gt;
&lt;div class=&quot;modfile&quot;&gt;&lt;h4&gt;Modified: trunk/src/test/resources/mule-sftp-endpoint-config.xml (115 =&gt; 116)&lt;/h4&gt;
&lt;pre class=&quot;diff&quot;&gt;
&lt;span class=&quot;info&quot;&gt;--- trunk/src/test/resources/mule-sftp-endpoint-config.xml	2009-12-07 08:41:41 UTC (rev 115)
+++ trunk/src/test/resources/mule-sftp-endpoint-config.xml	2009-12-07 09:34:14 UTC (rev 116)
&lt;/span&gt;&lt;span class=&quot;lines&quot;&gt;@@ -31,6 +31,28 @@
&lt;/span&gt;&lt;span class=&quot;cx&quot;&gt;                         name=&amp;quot;inboundEndpoint2&amp;quot;/&amp;gt;
             &amp;lt;/inbound&amp;gt;
         &amp;lt;/service&amp;gt;
&lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+
+        &amp;lt;service name=&amp;quot;test3&amp;quot; &amp;gt;
+            &amp;lt;outbound&amp;gt;
+              &amp;lt;pass-through-router&amp;gt;
+                &amp;lt;sftp:outbound-endpoint
+                        address=&amp;quot;sftp://user42:passw0rd@foobar-host:4243/data&amp;quot;
+                        name=&amp;quot;outboundEndpoint1&amp;quot; /&amp;gt;
+              &amp;lt;/pass-through-router&amp;gt;
+
+            &amp;lt;/outbound&amp;gt;
+        &amp;lt;/service&amp;gt;
+
+        &amp;lt;service name=&amp;quot;test4&amp;quot; &amp;gt;
+            &amp;lt;outbound&amp;gt;
+              &amp;lt;pass-through-router&amp;gt;
+                &amp;lt;sftp:outbound-endpoint
+                        address=&amp;quot;sftp://user42:passw0rd@foobar-host:4243/data&amp;quot;
+                        name=&amp;quot;outboundEndpoint2&amp;quot;
+                        keepFileOnError=&amp;quot;false&amp;quot;/&amp;gt;
+              &amp;lt;/pass-through-router&amp;gt;
+            &amp;lt;/outbound&amp;gt;
+        &amp;lt;/service&amp;gt;
&lt;/span&gt;&lt;span class=&quot;cx&quot;&gt;     &amp;lt;/model&amp;gt;
 
 &amp;lt;/mule&amp;gt;
&lt;/span&gt;
&lt;/pre&gt;
&lt;/div&gt;
&lt;/div&gt;

&lt;/body&gt;
&lt;/html&gt;

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://admin.muleforge.org/manage_email


&lt;p&gt;&lt;/p&gt;

&lt;p&gt;--&lt;/p&gt;

You received this message because you are subscribed to the Google Groups &quot;MuleForge Dev&quot; group.&lt;br /&gt;

To post to this group, send email to &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26674729&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;muleforgedev@...&lt;/a&gt;.&lt;br /&gt;

To unsubscribe from this group, send email to &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26674729&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;muleforgedev+unsubscribe@...&lt;/a&gt;.&lt;br /&gt;

For more options, visit this group at http://groups.google.com/group/muleforgedev?hl=en.&lt;br /&gt;

&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/MuleForge-Dev-f29652.html&quot; embed=&quot;fixTarget[29652]&quot; target=&quot;_top&quot; &gt;MuleForge Dev&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/-mule-transport-sftp-dev----116--trunk-src-test-resources%3A-SFTP-15%3A-changed-the-default-for-the-keepFileOnError-attribute-from-false-to-true-tp26674729p26674729.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26674714</id>
	<title>[mule-jira] Updated: (SFTP-18) Concurrency problems when FunctionalTestComponent.getLastReceivedMessage is used in tests</title>
	<published>2009-12-07T01:33:22Z</published>
	<updated>2009-12-07T01:33:22Z</updated>
	<author>
		<name>JIRA no-reply@mulesource.com</name>
	</author>
	<content type="html">&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;[ &lt;a href=&quot;http://www.mulesource.org/jira/browse/SFTP-18?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.mulesource.org/jira/browse/SFTP-18?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel&lt;/a&gt;&amp;nbsp;]
&lt;br&gt;&lt;br&gt;Lennart Häggkvist updated SFTP-18:
&lt;br&gt;----------------------------------
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; Summary: Concurrency problems when FunctionalTestComponent.getLastReceivedMessage is used in tests &amp;nbsp;(was: Concurrency problems when FunctionalTestComponent.getLastReceivedMessage is used)
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Concurrency problems when FunctionalTestComponent.getLastReceivedMessage is used in tests
&lt;br&gt;&amp;gt; -----------------------------------------------------------------------------------------
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Key: SFTP-18
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; URL: &lt;a href=&quot;http://www.mulesource.org/jira/browse/SFTP-18&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.mulesource.org/jira/browse/SFTP-18&lt;/a&gt;&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Project: SFTP Transport Project
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Issue Type: Bug
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Components: Test
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;Affects Versions: 2.2.*
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Reporter: Lennart Häggkvist
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; If many concurrent calls are made to the callback the FunctionalTestComponent.getLastReceivedMessage could return the same object for 2 (or more) threads.
&lt;br&gt;&amp;gt; All tests should get a review to see if the getLastReceivedMessage is used and if so, change it.
&lt;br&gt;&amp;gt; Old, wrong code:
&lt;br&gt;&amp;gt; {code:java}
&lt;br&gt;&amp;gt; FunctionalTestComponent ftc = (FunctionalTestComponent) component;
&lt;br&gt;&amp;gt; inputStream = (SftpInputStream) ftc.getLastReceivedMessage();
&lt;br&gt;&amp;gt; {code} 
&lt;br&gt;&amp;gt; New:
&lt;br&gt;&amp;gt; {code:java}
&lt;br&gt;&amp;gt; inputStream = (SftpInputStream) context.getMessage().getPayload();
&lt;br&gt;&amp;gt; {code} 
&lt;/div&gt;&lt;br&gt;-- 
&lt;br&gt;This message is automatically generated by JIRA.
&lt;br&gt;-
&lt;br&gt;If you think it was sent incorrectly contact one of the administrators: &lt;a href=&quot;http://www.mulesource.org/jira/secure/Administrators.jspa&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.mulesource.org/jira/secure/Administrators.jspa&lt;/a&gt;&lt;br&gt;-
&lt;br&gt;For more information on JIRA, see: &lt;a href=&quot;http://www.atlassian.com/software/jira&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.atlassian.com/software/jira&lt;/a&gt;&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;
&lt;br&gt;&lt;br&gt;--
&lt;br&gt;&lt;br&gt;You received this message because you are subscribed to the Google Groups &amp;quot;MuleForge Dev&amp;quot; group.
&lt;br&gt;To post to this group, send email to &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26674714&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;muleforgedev@...&lt;/a&gt;.
&lt;br&gt;To unsubscribe from this group, send email to &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26674714&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;muleforgedev+unsubscribe@...&lt;/a&gt;.
&lt;br&gt;For more options, visit this group at &lt;a href=&quot;http://groups.google.com/group/muleforgedev?hl=en&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://groups.google.com/group/muleforgedev?hl=en&lt;/a&gt;.
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/MuleForge-Dev-f29652.html&quot; embed=&quot;fixTarget[29652]&quot; target=&quot;_top&quot; &gt;MuleForge Dev&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/-mule-jira--Created%3A-%28SFTP-18%29-Concurrency-problems-when-FunctionalTestComponent.getLastReceivedMessage-is-used-tp26674713p26674714.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26674715</id>
	<title>[mule-transport-sftp-dev] [mule-jira] Updated: (SFTP-18) Concurrency problems when FunctionalTestComponent.getLastReceivedMessage is used in tests</title>
	<published>2009-12-07T01:33:22Z</published>
	<updated>2009-12-07T01:33:22Z</updated>
	<author>
		<name>JIRA no-reply@mulesource.com</name>
	</author>
	<content type="html">&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;[ &lt;a href=&quot;http://www.mulesource.org/jira/browse/SFTP-18?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.mulesource.org/jira/browse/SFTP-18?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel&lt;/a&gt;&amp;nbsp;]
&lt;br&gt;&lt;br&gt;Lennart Häggkvist updated SFTP-18:
&lt;br&gt;----------------------------------
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; Summary: Concurrency problems when FunctionalTestComponent.getLastReceivedMessage is used in tests &amp;nbsp;(was: Concurrency problems when FunctionalTestComponent.getLastReceivedMessage is used)
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Concurrency problems when FunctionalTestComponent.getLastReceivedMessage is used in tests
&lt;br&gt;&amp;gt; -----------------------------------------------------------------------------------------
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Key: SFTP-18
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; URL: &lt;a href=&quot;http://www.mulesource.org/jira/browse/SFTP-18&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.mulesource.org/jira/browse/SFTP-18&lt;/a&gt;&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Project: SFTP Transport Project
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Issue Type: Bug
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Components: Test
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;Affects Versions: 2.2.*
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Reporter: Lennart Häggkvist
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; If many concurrent calls are made to the callback the FunctionalTestComponent.getLastReceivedMessage could return the same object for 2 (or more) threads.
&lt;br&gt;&amp;gt; All tests should get a review to see if the getLastReceivedMessage is used and if so, change it.
&lt;br&gt;&amp;gt; Old, wrong code:
&lt;br&gt;&amp;gt; {code:java}
&lt;br&gt;&amp;gt; FunctionalTestComponent ftc = (FunctionalTestComponent) component;
&lt;br&gt;&amp;gt; inputStream = (SftpInputStream) ftc.getLastReceivedMessage();
&lt;br&gt;&amp;gt; {code} 
&lt;br&gt;&amp;gt; New:
&lt;br&gt;&amp;gt; {code:java}
&lt;br&gt;&amp;gt; inputStream = (SftpInputStream) context.getMessage().getPayload();
&lt;br&gt;&amp;gt; {code} 
&lt;/div&gt;&lt;br&gt;-- 
&lt;br&gt;This message is automatically generated by JIRA.
&lt;br&gt;-
&lt;br&gt;If you think it was sent incorrectly contact one of the administrators: &lt;a href=&quot;http://www.mulesource.org/jira/secure/Administrators.jspa&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.mulesource.org/jira/secure/Administrators.jspa&lt;/a&gt;&lt;br&gt;-
&lt;br&gt;For more information on JIRA, see: &lt;a href=&quot;http://www.atlassian.com/software/jira&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.atlassian.com/software/jira&lt;/a&gt;&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;
&lt;br&gt;&lt;br&gt;---------------------------------------------------------------------
&lt;br&gt;To unsubscribe from this list, please visit:
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &lt;a href=&quot;http://admin.muleforge.org/manage_email&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://admin.muleforge.org/manage_email&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;--
&lt;br&gt;&lt;br&gt;You received this message because you are subscribed to the Google Groups &amp;quot;MuleForge Dev&amp;quot; group.
&lt;br&gt;To post to this group, send email to &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26674715&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;muleforgedev@...&lt;/a&gt;.
&lt;br&gt;To unsubscribe from this group, send email to &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26674715&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;muleforgedev+unsubscribe@...&lt;/a&gt;.
&lt;br&gt;For more options, visit this group at &lt;a href=&quot;http://groups.google.com/group/muleforgedev?hl=en&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://groups.google.com/group/muleforgedev?hl=en&lt;/a&gt;.
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/MuleForge-Dev-f29652.html&quot; embed=&quot;fixTarget[29652]&quot; target=&quot;_top&quot; &gt;MuleForge Dev&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/-mule-transport-sftp-dev---mule-jira--Created%3A-%28SFTP-18%29-Concurrency-problems-when-FunctionalTestComponent.getLastReceivedMessage-is-used-tp26674739p26674715.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26674739</id>
	<title>[mule-transport-sftp-dev] [mule-jira] Created: (SFTP-18) Concurrency problems when FunctionalTestComponent.getLastReceivedMessage is used</title>
	<published>2009-12-07T01:33:22Z</published>
	<updated>2009-12-07T01:33:22Z</updated>
	<author>
		<name>JIRA no-reply@mulesource.com</name>
	</author>
	<content type="html">Concurrency problems when FunctionalTestComponent.getLastReceivedMessage is used
&lt;br&gt;--------------------------------------------------------------------------------
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Key: SFTP-18
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;URL: &lt;a href=&quot;http://www.mulesource.org/jira/browse/SFTP-18&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.mulesource.org/jira/browse/SFTP-18&lt;/a&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Project: SFTP Transport Project
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Issue Type: Bug
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Components: Test
&lt;br&gt;&amp;nbsp; &amp;nbsp; Affects Versions: 2.2.*
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Reporter: Lennart Häggkvist
&lt;br&gt;&lt;br&gt;&lt;br&gt;If many concurrent calls are made to the callback the FunctionalTestComponent.getLastReceivedMessage could return the same object for 2 (or more) threads.
&lt;br&gt;&lt;br&gt;All tests should get a review to see if the getLastReceivedMessage is used and if so, change it.
&lt;br&gt;&lt;br&gt;Old, wrong code:
&lt;br&gt;{code:java}
&lt;br&gt;FunctionalTestComponent ftc = (FunctionalTestComponent) component;
&lt;br&gt;inputStream = (SftpInputStream) ftc.getLastReceivedMessage();
&lt;br&gt;{code} 
&lt;br&gt;&lt;br&gt;New:
&lt;br&gt;{code:java}
&lt;br&gt;inputStream = (SftpInputStream) context.getMessage().getPayload();
&lt;br&gt;{code} 
&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;This message is automatically generated by JIRA.
&lt;br&gt;-
&lt;br&gt;If you think it was sent incorrectly contact one of the administrators: &lt;a href=&quot;http://www.mulesource.org/jira/secure/Administrators.jspa&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.mulesource.org/jira/secure/Administrators.jspa&lt;/a&gt;&lt;br&gt;-
&lt;br&gt;For more information on JIRA, see: &lt;a href=&quot;http://www.atlassian.com/software/jira&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.atlassian.com/software/jira&lt;/a&gt;&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;
&lt;br&gt;&lt;br&gt;---------------------------------------------------------------------
&lt;br&gt;To unsubscribe from this list, please visit:
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &lt;a href=&quot;http://admin.muleforge.org/manage_email&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://admin.muleforge.org/manage_email&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;--
&lt;br&gt;&lt;br&gt;You received this message because you are subscribed to the Google Groups &amp;quot;MuleForge Dev&amp;quot; group.
&lt;br&gt;To post to this group, send email to &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26674739&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;muleforgedev@...&lt;/a&gt;.
&lt;br&gt;To unsubscribe from this group, send email to &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26674739&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;muleforgedev+unsubscribe@...&lt;/a&gt;.
&lt;br&gt;For more options, visit this group at &lt;a href=&quot;http://groups.google.com/group/muleforgedev?hl=en&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://groups.google.com/group/muleforgedev?hl=en&lt;/a&gt;.
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/MuleForge-Dev-f29652.html&quot; embed=&quot;fixTarget[29652]&quot; target=&quot;_top&quot; &gt;MuleForge Dev&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/-mule-transport-sftp-dev---mule-jira--Created%3A-%28SFTP-18%29-Concurrency-problems-when-FunctionalTestComponent.getLastReceivedMessage-is-used-tp26674739p26674739.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26674713</id>
	<title>[mule-jira] Created: (SFTP-18) Concurrency problems when FunctionalTestComponent.getLastReceivedMessage is used</title>
	<published>2009-12-07T01:33:22Z</published>
	<updated>2009-12-07T01:33:22Z</updated>
	<author>
		<name>JIRA no-reply@mulesource.com</name>
	</author>
	<content type="html">Concurrency problems when FunctionalTestComponent.getLastReceivedMessage is used
&lt;br&gt;--------------------------------------------------------------------------------
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Key: SFTP-18
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;URL: &lt;a href=&quot;http://www.mulesource.org/jira/browse/SFTP-18&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.mulesource.org/jira/browse/SFTP-18&lt;/a&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Project: SFTP Transport Project
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Issue Type: Bug
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Components: Test
&lt;br&gt;&amp;nbsp; &amp;nbsp; Affects Versions: 2.2.*
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Reporter: Lennart Häggkvist
&lt;br&gt;&lt;br&gt;&lt;br&gt;If many concurrent calls are made to the callback the FunctionalTestComponent.getLastReceivedMessage could return the same object for 2 (or more) threads.
&lt;br&gt;&lt;br&gt;All tests should get a review to see if the getLastReceivedMessage is used and if so, change it.
&lt;br&gt;&lt;br&gt;Old, wrong code:
&lt;br&gt;{code:java}
&lt;br&gt;FunctionalTestComponent ftc = (FunctionalTestComponent) component;
&lt;br&gt;inputStream = (SftpInputStream) ftc.getLastReceivedMessage();
&lt;br&gt;{code} 
&lt;br&gt;&lt;br&gt;New:
&lt;br&gt;{code:java}
&lt;br&gt;inputStream = (SftpInputStream) context.getMessage().getPayload();
&lt;br&gt;{code} 
&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;This message is automatically generated by JIRA.
&lt;br&gt;-
&lt;br&gt;If you think it was sent incorrectly contact one of the administrators: &lt;a href=&quot;http://www.mulesource.org/jira/secure/Administrators.jspa&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.mulesource.org/jira/secure/Administrators.jspa&lt;/a&gt;&lt;br&gt;-
&lt;br&gt;For more information on JIRA, see: &lt;a href=&quot;http://www.atlassian.com/software/jira&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.atlassian.com/software/jira&lt;/a&gt;&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;
&lt;br&gt;&lt;br&gt;--
&lt;br&gt;&lt;br&gt;You received this message because you are subscribed to the Google Groups &amp;quot;MuleForge Dev&amp;quot; group.
&lt;br&gt;To post to this group, send email to &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26674713&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;muleforgedev@...&lt;/a&gt;.
&lt;br&gt;To unsubscribe from this group, send email to &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26674713&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;muleforgedev+unsubscribe@...&lt;/a&gt;.
&lt;br&gt;For more options, visit this group at &lt;a href=&quot;http://groups.google.com/group/muleforgedev?hl=en&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://groups.google.com/group/muleforgedev?hl=en&lt;/a&gt;.
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/MuleForge-Dev-f29652.html&quot; embed=&quot;fixTarget[29652]&quot; target=&quot;_top&quot; &gt;MuleForge Dev&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/-mule-jira--Created%3A-%28SFTP-18%29-Concurrency-problems-when-FunctionalTestComponent.getLastReceivedMessage-is-used-tp26674713p26674713.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26674200</id>
	<title>[mule-transport-sftp-dev]  [115] trunk/src/test/java/org/mule/transport/sftp/SftpPoolingFunctionalTestCase.java: Fixed a bug where the test occasionally failed due to thread/concurrency problems.</title>
	<published>2009-12-07T00:41:42Z</published>
	<updated>2009-12-07T00:41:42Z</updated>
	<author>
		<name>elhoo</name>
	</author>
	<content type="html">&lt;!DOCTYPE html PUBLIC &quot;-//W3C//DTD XHTML 1.1//EN&quot; &quot;http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd&quot;&gt;
&lt;html xmlns=&quot;http://www.w3.org/1999/xhtml&quot;&gt;
&lt;head&gt;
&lt;title&gt; [115] trunk/src/test/java/org/mule/transport/sftp/SftpPoolingFunctionalTestCase.java: Fixed a bug where the test occasionally failed due to thread/concurrency problems.&lt;/title&gt;
&lt;/head&gt;
&lt;body&gt;

&lt;div id=&quot;msg&quot;&gt;
&lt;dl&gt;
&lt;dt&gt;Revision&lt;/dt&gt; &lt;dd&gt;&lt;a href=&quot;http://fisheye.muleforge.org/changelog/mule-transport-sftp/?cs=115&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;115&lt;/a&gt;&lt;/dd&gt;
&lt;dt&gt;Author&lt;/dt&gt; &lt;dd&gt;elhoo&lt;/dd&gt;
&lt;dt&gt;Date&lt;/dt&gt; &lt;dd&gt;2009-12-07 02:41:41 -0600 (Mon, 07 Dec 2009)&lt;/dd&gt;
&lt;/dl&gt;

&lt;h3&gt;Log Message&lt;/h3&gt;
&lt;pre&gt;Fixed a bug where the test occasionally failed due to thread/concurrency problems.  

The FunctionalTestComponent.getLastReceivedMessage is not thread safe, and should not be used if not the endpoint is synchronous!&lt;/pre&gt;

&lt;h3&gt;Modified Paths&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href=&quot;#trunksrctestjavaorgmuletransportsftpSftpPoolingFunctionalTestCasejava&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;trunk/src/test/java/org/mule/transport/sftp/SftpPoolingFunctionalTestCase.java&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;/div&gt;
&lt;div id=&quot;patch&quot;&gt;
&lt;h3&gt;Diff&lt;/h3&gt;
&lt;a id=&quot;trunksrctestjavaorgmuletransportsftpSftpPoolingFunctionalTestCasejava&quot; target=&quot;_top&quot;&gt;&lt;/a&gt;
&lt;div class=&quot;modfile&quot;&gt;&lt;h4&gt;Modified: trunk/src/test/java/org/mule/transport/sftp/SftpPoolingFunctionalTestCase.java (114 =&gt; 115)&lt;/h4&gt;
&lt;pre class=&quot;diff&quot;&gt;
&lt;span class=&quot;info&quot;&gt;--- trunk/src/test/java/org/mule/transport/sftp/SftpPoolingFunctionalTestCase.java	2009-12-04 06:29:54 UTC (rev 114)
+++ trunk/src/test/java/org/mule/transport/sftp/SftpPoolingFunctionalTestCase.java	2009-12-07 08:41:41 UTC (rev 115)
&lt;/span&gt;&lt;span class=&quot;lines&quot;&gt;@@ -18,8 +18,8 @@
&lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; import org.mule.api.MuleEventContext;
 import org.mule.module.client.MuleClient;
 import org.mule.tck.functional.EventCallback;
&lt;/span&gt;&lt;span class=&quot;rem&quot;&gt;-import org.mule.tck.functional.FunctionalTestComponent;
&lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; 
&lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+import java.io.IOException;
&lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; import java.util.ArrayList;
 import java.util.HashMap;
 import java.util.List;
&lt;/span&gt;&lt;span class=&quot;lines&quot;&gt;@@ -31,7 +31,6 @@
&lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; 
 public class SftpPoolingFunctionalTestCase extends AbstractSftpTestCase
 {
&lt;/span&gt;&lt;span class=&quot;rem&quot;&gt;-
&lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; 	private static final long TIMEOUT = 30000;
 
 	private List&amp;lt;String&amp;gt; sendFiles;
&lt;/span&gt;&lt;span class=&quot;lines&quot;&gt;@@ -88,22 +87,38 @@
&lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; 			public void eventReceived(MuleEventContext context, Object component)
 				throws Exception
 			{
&lt;/span&gt;&lt;span class=&quot;rem&quot;&gt;-				logger.info(&amp;quot;called &amp;quot; + loopCount.incrementAndGet() + &amp;quot; times&amp;quot;);
-				FunctionalTestComponent ftc = (FunctionalTestComponent) component;
&lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; 
&lt;/span&gt;&lt;span class=&quot;rem&quot;&gt;-				SftpInputStream inputStream = (SftpInputStream) ftc.getLastReceivedMessage();
-				String o = IOUtils.toString(inputStream);
-				if (sendFiles.contains(o))
-				{
-					receiveFiles.add(o);
-				} else
-				{
-					fail(&amp;quot;The received file was not sent. Received: &amp;#39;&amp;quot; + o + &amp;quot;&amp;#39;&amp;quot;);
-				}
&lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+        String filename = context.getMessage().getStringProperty(SftpConnector.PROPERTY_ORIGINAL_FILENAME, null);
+        SftpInputStream inputStream = null;
+        try {
+          logger.info(&amp;quot;called &amp;quot; + loopCount.incrementAndGet() + &amp;quot; times. Filename = &amp;quot; + filename);
&lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; 
&lt;/span&gt;&lt;span class=&quot;rem&quot;&gt;-				latch.countDown();
-				inputStream.close();
-			}
&lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+         // This is not thread safe! (it should be safe if synchronous=&amp;quot;true&amp;quot; is used)
+//          FunctionalTestComponent ftc = (FunctionalTestComponent) component;
+//          inputStream = (SftpInputStream) ftc.getLastReceivedMessage();
+
+          // Use this instead!
+          inputStream = (SftpInputStream) context.getMessage().getPayload();
+          String o = IOUtils.toString(inputStream);
+          if (sendFiles.contains(o))
+          {
+            logger.info(&amp;quot;The received file was added. Received: &amp;#39;&amp;quot; + o + &amp;quot;&amp;#39;&amp;quot;);
+            receiveFiles.add(o);
+          } else
+          {
+            fail(&amp;quot;The received file was not sent. Received: &amp;#39;&amp;quot; + o + &amp;quot;&amp;#39;&amp;quot;);
+          }
+
+          latch.countDown();
+        } catch (IOException e) {
+          logger.error(&amp;quot;Error occured while processing callback for file=&amp;quot; + filename, e);
+          throw e;
+        } finally {
+          if(inputStream != null) {
+            inputStream.close();
+          }
+        }
+      }
&lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; 		};
 
 		getFunctionalTestComponent(&amp;quot;receiving&amp;quot;).setEventCallback(callback);
&lt;/span&gt;&lt;span class=&quot;lines&quot;&gt;@@ -117,7 +132,8 @@
&lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; 			client.dispatch(&amp;quot;vm://test.upload&amp;quot;, sendFile, props);
 		}
 
&lt;/span&gt;&lt;span class=&quot;rem&quot;&gt;-		latch.await(TIMEOUT, TimeUnit.MILLISECONDS);
&lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+		boolean done = latch.await(TIMEOUT, TimeUnit.MILLISECONDS);
+    assertTrue(&amp;quot;The test should not time out&amp;quot;, done);
&lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; 
 		logger.debug(&amp;quot;Number of files sent: &amp;quot; + sendFiles.size());
 		logger.debug(&amp;quot;Number of files received: &amp;quot; + receiveFiles.size());
&lt;/span&gt;
&lt;/pre&gt;
&lt;/div&gt;
&lt;/div&gt;

&lt;/body&gt;
&lt;/html&gt;

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://admin.muleforge.org/manage_email


&lt;p&gt;&lt;/p&gt;

&lt;p&gt;--&lt;/p&gt;

You received this message because you are subscribed to the Google Groups &quot;MuleForge Dev&quot; group.&lt;br /&gt;

To post to this group, send email to &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26674200&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;muleforgedev@...&lt;/a&gt;.&lt;br /&gt;

To unsubscribe from this group, send email to &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26674200&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;muleforgedev+unsubscribe@...&lt;/a&gt;.&lt;br /&gt;

For more options, visit this group at http://groups.google.com/group/muleforgedev?hl=en.&lt;br /&gt;

&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/MuleForge-Dev-f29652.html&quot; embed=&quot;fixTarget[29652]&quot; target=&quot;_top&quot; &gt;MuleForge Dev&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/-mule-transport-sftp-dev----115--trunk-src-test-java-org-mule-transport-sftp-SftpPoolingFunctionalTestCase.java%3A-Fixed-a-bug-where-the-test-occasionally-failed-due-to-thread-concurrency-problems.-tp26674200p26674200.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26673774</id>
	<title>[mule-jira] Commented: (MULEIDE-167) Invalid jars in $MULE_HOME/lib cause exceptions when scanning the jars</title>
	<published>2009-12-06T23:52:22Z</published>
	<updated>2009-12-06T23:52:22Z</updated>
	<author>
		<name>JIRA no-reply@mulesource.com</name>
	</author>
	<content type="html">&lt;br&gt;&amp;nbsp; &amp;nbsp; [ &lt;a href=&quot;http://www.mulesource.org/jira/browse/MULEIDE-167?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&amp;focusedCommentId=32656#action_32656&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.mulesource.org/jira/browse/MULEIDE-167?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&amp;focusedCommentId=32656#action_32656&lt;/a&gt;&amp;nbsp;] 
&lt;br&gt;&lt;br&gt;Dirk Olmes commented on MULEIDE-167:
&lt;br&gt;------------------------------------
&lt;br&gt;&lt;br&gt;&lt;a href=&quot;http://fisheye.muleforge.org/changelog/mule-ide/?cs=558&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://fisheye.muleforge.org/changelog/mule-ide/?cs=558&lt;/a&gt;&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Invalid jars in $MULE_HOME/lib cause exceptions when scanning the jars
&lt;br&gt;&amp;gt; ----------------------------------------------------------------------
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Key: MULEIDE-167
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; URL: &lt;a href=&quot;http://www.mulesource.org/jira/browse/MULEIDE-167&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.mulesource.org/jira/browse/MULEIDE-167&lt;/a&gt;&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Project: Mule IDE
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Issue Type: Bug
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Components: Project
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;Affects Versions: 2.0.1
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Reporter: Dirk Olmes
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Assignee: Dirk Olmes
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Priority: Critical
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Fix For: 2.0.2
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Users tend to put additional jar files into $MULE_HOME/lib/user. The current code is not 100% prepared to handle all error situations that can occur while scanning the jar files:
&lt;br&gt;&amp;gt; * jar files that don't have a pom.xml in them
&lt;br&gt;&amp;gt; * jar files that have a pom but it does not have a name element
&lt;br&gt;&amp;gt; * jar files that match the mule naming scheme but don't have a spring.handlers file in them
&lt;br&gt;&amp;gt; Make the code more robust and filter out all Jars in {{IMuleRuntime.getMuleModulesAndTransports()}} that don't match the requirements (probably log offending ones)
&lt;/div&gt;&lt;br&gt;-- 
&lt;br&gt;This message is automatically generated by JIRA.
&lt;br&gt;-
&lt;br&gt;If you think it was sent incorrectly contact one of the administrators: &lt;a href=&quot;http://www.mulesource.org/jira/secure/Administrators.jspa&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.mulesource.org/jira/secure/Administrators.jspa&lt;/a&gt;&lt;br&gt;-
&lt;br&gt;For more information on JIRA, see: &lt;a href=&quot;http://www.atlassian.com/software/jira&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.atlassian.com/software/jira&lt;/a&gt;&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&lt;br&gt;--
&lt;br&gt;&lt;br&gt;You received this message because you are subscribed to the Google Groups &amp;quot;MuleForge Dev&amp;quot; group.
&lt;br&gt;To post to this group, send email to &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26673774&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;muleforgedev@...&lt;/a&gt;.
&lt;br&gt;To unsubscribe from this group, send email to &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26673774&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;muleforgedev+unsubscribe@...&lt;/a&gt;.
&lt;br&gt;For more options, visit this group at &lt;a href=&quot;http://groups.google.com/group/muleforgedev?hl=en&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://groups.google.com/group/muleforgedev?hl=en&lt;/a&gt;.
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/MuleForge-Dev-f29652.html&quot; embed=&quot;fixTarget[29652]&quot; target=&quot;_top&quot; &gt;MuleForge Dev&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/-mule-jira--Created%3A-%28MULEIDE-167%29-Invalid-jars-in-%24MULE_HOME-lib-cause-exceptions-when-scanning-the-jars-tp26496400p26673774.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26673393</id>
	<title>[mule-builds] [Bamboo] Mule - Mule 2.2.x (2.2.5-SNAPSHOT) Snapshot Deployment build 302 was SUCCESSFUL</title>
	<published>2009-12-06T23:17:12Z</published>
	<updated>2009-12-06T23:17:12Z</updated>
	<author>
		<name>mulebot</name>
	</author>
	<content type="html">This is an initial or manual build of the Mule - Mule 2.2.x (2.2.5-SNAPSHOT) Snapshot Deployment build.
&lt;br&gt;&lt;br&gt;---------------------------------------------------------------------------------------
&lt;br&gt;&lt;br&gt;No tests were executed.
&lt;br&gt;&lt;br&gt;Click &lt;a href=&quot;http://bamboo.mulesource.org/browse/MULE-MULE22SNAPSHOTS-302&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://bamboo.mulesource.org/browse/MULE-MULE22SNAPSHOTS-302&lt;/a&gt;&amp;nbsp;to find out more.
&lt;br&gt;&lt;br&gt;Thanks,
&lt;br&gt;&lt;br&gt;Bamboo
&lt;br&gt;&lt;br&gt;---------------------------------------------------------------------
&lt;br&gt;To unsubscribe from this list, please visit:
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &lt;a href=&quot;http://xircles.codehaus.org/manage_email&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://xircles.codehaus.org/manage_email&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Mule---Builds-f30275.html&quot; embed=&quot;fixTarget[30275]&quot; target=&quot;_top&quot; &gt;Mule - Builds&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/-mule-builds---Bamboo--Mule---Mule-2.2.x-%282.2.5-SNAPSHOT%29-Snapshot-Deployment-build-302-was-SUCCESSFUL-tp26673393p26673393.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26673217</id>
	<title>[mule-builds] [Bamboo] Mule - Mule 3.x Snapshot Deployment build 262 was SUCCESSFUL. Change made by Dirk Olmes</title>
	<published>2009-12-06T22:48:41Z</published>
	<updated>2009-12-06T22:48:41Z</updated>
	<author>
		<name>mulebot</name>
	</author>
	<content type="html">The project Mule - Mule 3.x Snapshot Deployment has the following 1 change by 1 author:
&lt;br&gt;&lt;br&gt;*Dirk Olmes* made the following changes at 
&lt;br&gt;&lt;br&gt;Comment:
&lt;br&gt;Merged revisions 16177 via svnmerge from 
&lt;br&gt;&lt;a href=&quot;https://svn.codehaus.org/mule/branches/mule-2.2.x&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://svn.codehaus.org/mule/branches/mule-2.2.x&lt;/a&gt;&lt;br&gt;&lt;br&gt;........
&lt;br&gt;&amp;nbsp; r16177 | dirk.olmes | 2009-12-05 13:18:55 +0100 (Sat, 05 Dec 2009) | 2 lines
&lt;br&gt;&amp;nbsp; 
&lt;br&gt;&amp;nbsp; pass on the specified Maven repo from the commandline when running the archetype tests. This will be required when the Mule bulid was redirected to a different local repo. For this to work, the groovy plugin had to be updated.
&lt;br&gt;........
&lt;br&gt;&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; /branches/mule-3.x/distributions/standalone/pom.xml (16178)
&lt;br&gt;&amp;gt; /branches/mule-3.x/tests/archetypes/transport-archetype/pom.xml (16178)
&lt;br&gt;&amp;gt; /branches/mule-3.x/tests/archetypes/module-archetype/pom.xml (16178)
&lt;br&gt;&amp;gt; /branches/mule-3.x/distributions/embedded/pom.xml (16178)
&lt;br&gt;&amp;gt; /branches/mule-3.x/pom.xml (16178)
&lt;br&gt;&amp;gt; /branches/mule-3.x/tests/archetypes/pom.xml (16178)
&lt;br&gt;&amp;gt; /branches/mule-3.x/tests/archetypes/project-archetype/pom.xml (16178)
&lt;br&gt;&amp;gt; /branches/mule-3.x/tests/archetypes/RunArchetype.groovy (16178)
&lt;br&gt;&amp;gt; /branches/mule-3.x (16178)
&lt;br&gt;&amp;gt; /branches/mule-3.x/tests/archetypes/example-archetype/pom.xml (16178)
&lt;/div&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;---------------------------------------------------------------------------------------
&lt;br&gt;&lt;br&gt;No tests were executed.
&lt;br&gt;&lt;br&gt;Click &lt;a href=&quot;http://bamboo.mulesource.org/browse/MULE-MULE3XSNAPSHOTS-262&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://bamboo.mulesource.org/browse/MULE-MULE3XSNAPSHOTS-262&lt;/a&gt;&amp;nbsp;to find out more.
&lt;br&gt;&lt;br&gt;Thanks,
&lt;br&gt;&lt;br&gt;Bamboo
&lt;br&gt;&lt;br&gt;---------------------------------------------------------------------
&lt;br&gt;To unsubscribe from this list, please visit:
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &lt;a href=&quot;http://xircles.codehaus.org/manage_email&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://xircles.codehaus.org/manage_email&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Mule---Builds-f30275.html&quot; embed=&quot;fixTarget[30275]&quot; target=&quot;_top&quot; &gt;Mule - Builds&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/-mule-builds---Bamboo--Mule---Mule-3.x-Snapshot-Deployment-build-262-was-SUCCESSFUL.-Change-made-by-Dirk-Olmes-tp26673217p26673217.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26672908</id>
	<title>[mule-builds] [Bamboo] Mule - Mule 3.x (3.0.0-M2-SNAPSHOT) JDK5 build 556 has FAILED (1 tests failed). Change made by Dirk Olmes</title>
	<published>2009-12-06T21:55:03Z</published>
	<updated>2009-12-06T21:55:03Z</updated>
	<author>
		<name>mulebot</name>
	</author>
	<content type="html">The project Mule - Mule 3.x (3.0.0-M2-SNAPSHOT) JDK5 has the following 1 change by 1 author:
&lt;br&gt;&lt;br&gt;*Dirk Olmes* made the following changes at 
&lt;br&gt;&lt;br&gt;Comment:
&lt;br&gt;Merged revisions 16177 via svnmerge from 
&lt;br&gt;&lt;a href=&quot;https://svn.codehaus.org/mule/branches/mule-2.2.x&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://svn.codehaus.org/mule/branches/mule-2.2.x&lt;/a&gt;&lt;br&gt;&lt;br&gt;........
&lt;br&gt;&amp;nbsp; r16177 | dirk.olmes | 2009-12-05 13:18:55 +0100 (Sat, 05 Dec 2009) | 2 lines
&lt;br&gt;&amp;nbsp; 
&lt;br&gt;&amp;nbsp; pass on the specified Maven repo from the commandline when running the archetype tests. This will be required when the Mule bulid was redirected to a different local repo. For this to work, the groovy plugin had to be updated.
&lt;br&gt;........
&lt;br&gt;&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; /branches/mule-3.x/distributions/standalone/pom.xml (16178)
&lt;br&gt;&amp;gt; /branches/mule-3.x/tests/archetypes/transport-archetype/pom.xml (16178)
&lt;br&gt;&amp;gt; /branches/mule-3.x/tests/archetypes/module-archetype/pom.xml (16178)
&lt;br&gt;&amp;gt; /branches/mule-3.x/distributions/embedded/pom.xml (16178)
&lt;br&gt;&amp;gt; /branches/mule-3.x/pom.xml (16178)
&lt;br&gt;&amp;gt; /branches/mule-3.x/tests/archetypes/pom.xml (16178)
&lt;br&gt;&amp;gt; /branches/mule-3.x/tests/archetypes/project-archetype/pom.xml (16178)
&lt;br&gt;&amp;gt; /branches/mule-3.x/tests/archetypes/RunArchetype.groovy (16178)
&lt;br&gt;&amp;gt; /branches/mule-3.x (16178)
&lt;br&gt;&amp;gt; /branches/mule-3.x/tests/archetypes/example-archetype/pom.xml (16178)
&lt;/div&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;---------------------------------------------------------------------------------------
&lt;br&gt;&lt;br&gt;The build has 1 failed test and 2589 successful tests.
&lt;br&gt;&lt;br&gt;Click &lt;a href=&quot;http://bamboo.mulesource.org/browse/MULE-MULE3JDK5-556&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://bamboo.mulesource.org/browse/MULE-MULE3JDK5-556&lt;/a&gt;&amp;nbsp;to find out more.
&lt;br&gt;&lt;br&gt;Thanks,
&lt;br&gt;&lt;br&gt;Bamboo
&lt;br&gt;&lt;br&gt;---------------------------------------------------------------------
&lt;br&gt;To unsubscribe from this list, please visit:
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &lt;a href=&quot;http://xircles.codehaus.org/manage_email&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://xircles.codehaus.org/manage_email&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Mule---Builds-f30275.html&quot; embed=&quot;fixTarget[30275]&quot; target=&quot;_top&quot; &gt;Mule - Builds&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/-mule-builds---Bamboo--Mule---Mule-3.x-%283.0.0-M2-SNAPSHOT%29-JDK5-build-556-has-FAILED-%281-tests-failed%29.-Change-made-by-Dirk-Olmes-tp26672908p26672908.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26672492</id>
	<title>[mule-scm] [mule] [16178] branches/mule-3.x: Merged revisions 16177 via svnmerge from</title>
	<published>2009-12-06T20:55:03Z</published>
	<updated>2009-12-06T20:55:03Z</updated>
	<author>
		<name>dirk.olmes</name>
	</author>
	<content type="html">&lt;!DOCTYPE html PUBLIC &quot;-//W3C//DTD XHTML 1.1//EN&quot; &quot;http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd&quot;&gt;
&lt;html xmlns=&quot;http://www.w3.org/1999/xhtml&quot;&gt;
&lt;head&gt;
&lt;title&gt;[mule] [16178] branches/mule-3.x: Merged revisions 16177 via svnmerge from &lt;/title&gt;
&lt;/head&gt;
&lt;body&gt;

&lt;div id=&quot;msg&quot;&gt;
&lt;dl&gt;
&lt;dt&gt;Revision&lt;/dt&gt; &lt;dd&gt;&lt;a href=&quot;http://fisheye.codehaus.org/changelog/mule/?cs=16178&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;16178&lt;/a&gt;&lt;/dd&gt;
&lt;dt&gt;Author&lt;/dt&gt; &lt;dd&gt;dirk.olmes&lt;/dd&gt;
&lt;dt&gt;Date&lt;/dt&gt; &lt;dd&gt;2009-12-06 22:55:03 -0600 (Sun, 06 Dec 2009)&lt;/dd&gt;
&lt;/dl&gt;

&lt;h3&gt;Log Message&lt;/h3&gt;
&lt;pre&gt;Merged revisions 16177 via svnmerge from 
https://svn.codehaus.org/mule/branches/mule-2.2.x

........
  r16177 | dirk.olmes | 2009-12-05 13:18:55 +0100 (Sat, 05 Dec 2009) | 2 lines
  
  pass on the specified Maven repo from the commandline when running the archetype tests. This will be required when the Mule bulid was redirected to a different local repo. For this to work, the groovy plugin had to be updated.
........&lt;/pre&gt;

&lt;h3&gt;Modified Paths&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href=&quot;#branchesmule3xdistributionsembeddedpomxml&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;branches/mule-3.x/distributions/embedded/pom.xml&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;#branchesmule3xdistributionsstandalonepomxml&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;branches/mule-3.x/distributions/standalone/pom.xml&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;#branchesmule3xpomxml&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;branches/mule-3.x/pom.xml&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;#branchesmule3xtestsarchetypesRunArchetypegroovy&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;branches/mule-3.x/tests/archetypes/RunArchetype.groovy&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;#branchesmule3xtestsarchetypesexamplearchetypepomxml&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;branches/mule-3.x/tests/archetypes/example-archetype/pom.xml&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;#branchesmule3xtestsarchetypesmodulearchetypepomxml&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;branches/mule-3.x/tests/archetypes/module-archetype/pom.xml&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;#branchesmule3xtestsarchetypespomxml&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;branches/mule-3.x/tests/archetypes/pom.xml&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;#branchesmule3xtestsarchetypesprojectarchetypepomxml&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;branches/mule-3.x/tests/archetypes/project-archetype/pom.xml&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;#branchesmule3xtestsarchetypestransportarchetypepomxml&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;branches/mule-3.x/tests/archetypes/transport-archetype/pom.xml&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;Property Changed&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;branches/mule-3.x/&lt;/li&gt;
&lt;/ul&gt;

&lt;/div&gt;
&lt;div id=&quot;patch&quot;&gt;
&lt;h3&gt;Diff&lt;/h3&gt;
&lt;a id=&quot;branchesmule3x&quot; target=&quot;_top&quot;&gt;&lt;/a&gt;
&lt;div class=&quot;propset&quot;&gt;&lt;h4&gt;Property changes: branches/mule-3.x&lt;/h4&gt;
&lt;pre class=&quot;diff&quot;&gt;
&lt;span class=&quot;cx&quot;&gt;Name: svnmerge-integrated
   - /branches/mule-2.2.x:1-14052,14055-14056,14058-14062,14064,14066-14073,14076-14084,14086-14088,14091-14095,14097-14098,14100-14101,14103-14104,14106-14109,14111-14115,14117-14121,14123-14132,14135-14140,14142-14149,14152-14154,14156-14162,14165-14171,14173-14180,14182,14184-14189,14191-14195,14197-14203,14205,14207-14208,14210-14211,14214-14215,14217-14227,14230,14232-14236,14239,14241,14244,14246-14248,14250,14252-14253,14255-14256,14258-14263,14266-14269,14271-14278,14281-14282,14284,14286-14288,14292-14295,14297-14299,14301-14303,14306-14308,14310-14311,14313-14319,14321-14325,14327-14329,14331,14333-14339,14341-14343,14345-14357,14364-14368,14370-14374,14376-14378,14380-14381,14383-14397,14399-14400,14402,14404-14405,14407-14408,14410-14411,14413-14418,14421-14434,14436,14438,14440-14444,14449-14457,14459,14461-14462,14464-14469,14471-14475,14478-14480,14482-14484,14486-14504,14508-14535,14537-14592,14594-14595,14597-14638,14640-14644,14646-14647,14649-14761,14763-14
 838,14840-14869,14872-14881,14890,14897,14899,14904,14906-14908,14910-14911,14913,14916,14921,14943,14946-14948,14969,14991,15010,15012,15022,15027,15040,15044,15063,15066,15076,15088,15094,15098,15101,15107,15112,15126,15132,15143,15189,15192,15200,15204,15207,15215,15220,15229-15230,15241,15245,15271,15284,15291,15293-15294,15296,15298-15299,15302,15307,15311,15315,15317-15322,15324-15355,15357-15365,15367,15369-15372,15374,15377,15387,15418,15420-15430,15433,15440,15442-15443,15450,15452,15456-15462,15465,15467-15470,15489-15492,15501-15502,15513,15528,15532,15554,15556-15561,15563-15586,15588-15589,15591-15596,15599-15665,15667-15688,15690-15753,15755-15756,15760-15771,15773-15777,15780-15794,15796-15800,15802-15804,15806-15828,15830-15833,15835-15858,15863,15865-15875,15881-15884,15889,15892-15902,15904,15908-15925,15927-15928,15930-15931,15933-15985,15988-15993,15995-15997,15999,16001-16002,16008-16009,16011,16013-16021,16023-16028,16030-16031,16033-16074,16077-16078,1
 6080-16081,16086,16089,16092-16096,16098-16101,16103,16105-16124,16126-16149,16153,16155,16157,16159,16168,16175 /branches/mule-3.x-messaging:1-15430 /branches/mule-3.x-xmpp:1-15727
   + /branches/mule-3.x-messaging:1-15430 /branches/mule-2.2.x:1-14052,14055-14056,14058-14062,14064,14066-14073,14076-14084,14086-14088,14091-14095,14097-14098,14100-14101,14103-14104,14106-14109,14111-14115,14117-14121,14123-14132,14135-14140,14142-14149,14152-14154,14156-14162,14165-14171,14173-14180,14182,14184-14189,14191-14195,14197-14203,14205,14207-14208,14210-14211,14214-14215,14217-14227,14230,14232-14236,14239,14241,14244,14246-14248,14250,14252-14253,14255-14256,14258-14263,14266-14269,14271-14278,14281-14282,14284,14286-14288,14292-14295,14297-14299,14301-14303,14306-14308,14310-14311,14313-14319,14321-14325,14327-14329,14331,14333-14339,14341-14343,14345-14357,14364-14368,14370-14374,14376-14378,14380-14381,14383-14397,14399-14400,14402,14404-14405,14407-14408,14410-14411,14413-14418,14421-14434,14436,14438,14440-14444,14449-14457,14459,14461-14462,14464-14469,14471-14475,14478-14480,14482-14484,14486-14504,14508-14535,14537-14592,14594-14595,14597-14638,14640-1
 4644,14646-14647,14649-14761,14763-14838,14840-14869,14872-14881,14890,14897,14899,14904,14906-14908,14910-14911,14913,14916,14921,14943,14946-14948,14969,14991,15010,15012,15022,15027,15040,15044,15063,15066,15076,15088,15094,15098,15101,15107,15112,15126,15132,15143,15189,15192,15200,15204,15207,15215,15220,15229-15230,15241,15245,15271,15284,15291,15293-15294,15296,15298-15299,15302,15307,15311,15315,15317-15322,15324-15355,15357-15365,15367,15369-15372,15374,15377,15387,15418,15420-15430,15433,15440,15442-15443,15450,15452,15456-15462,15465,15467-15470,15489-15492,15501-15502,15513,15528,15532,15554,15556-15561,15563-15586,15588-15589,15591-15596,15599-15665,15667-15688,15690-15753,15755-15756,15760-15771,15773-15777,15780-15794,15796-15800,15802-15804,15806-15828,15830-15833,15835-15858,15863,15865-15875,15881-15884,15889,15892-15902,15904,15908-15925,15927-15928,15930-15931,15933-15985,15988-15993,15995-15997,15999,16001-16002,16008-16009,16011,16013-16021,16023-16028,
 16030-16031,16033-16074,16077-16078,16080-16081,16086,16089,16092-16096,16098-16101,16103,16105-16124,16126-16149,16153,16155,16157,16159,16168,16175,16177 /branches/mule-3.x-xmpp:1-15727
&lt;/span&gt;&lt;/pre&gt;&lt;/div&gt;
&lt;a id=&quot;branchesmule3xdistributionsembeddedpomxml&quot; target=&quot;_top&quot;&gt;&lt;/a&gt;
&lt;div class=&quot;modfile&quot;&gt;&lt;h4&gt;Modified: branches/mule-3.x/distributions/embedded/pom.xml (16177 =&gt; 16178)&lt;/h4&gt;
&lt;pre class=&quot;diff&quot;&gt;
&lt;span class=&quot;info&quot;&gt;--- branches/mule-3.x/distributions/embedded/pom.xml	2009-12-05 12:18:55 UTC (rev 16177)
+++ branches/mule-3.x/distributions/embedded/pom.xml	2009-12-07 04:55:03 UTC (rev 16178)
&lt;/span&gt;&lt;span class=&quot;lines&quot;&gt;@@ -224,8 +224,8 @@
&lt;/span&gt;&lt;span class=&quot;cx&quot;&gt;                 &amp;lt;/executions&amp;gt;
             &amp;lt;/plugin&amp;gt;
             &amp;lt;plugin&amp;gt;
&lt;/span&gt;&lt;span class=&quot;rem&quot;&gt;-                &amp;lt;groupId&amp;gt;org.codehaus.mojo.groovy&amp;lt;/groupId&amp;gt;
-                &amp;lt;artifactId&amp;gt;groovy-maven-plugin&amp;lt;/artifactId&amp;gt;
&lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+                &amp;lt;groupId&amp;gt;org.codehaus.groovy.maven&amp;lt;/groupId&amp;gt;
+                &amp;lt;artifactId&amp;gt;gmaven-plugin&amp;lt;/artifactId&amp;gt;
&lt;/span&gt;&lt;span class=&quot;cx&quot;&gt;                 &amp;lt;executions&amp;gt;
                     &amp;lt;execution&amp;gt;
                         &amp;lt;phase&amp;gt;generate-sources&amp;lt;/phase&amp;gt;
&lt;/span&gt;&lt;/pre&gt;&lt;/div&gt;
&lt;a id=&quot;branchesmule3xdistributionsstandalonepomxml&quot; target=&quot;_top&quot;&gt;&lt;/a&gt;
&lt;div class=&quot;modfile&quot;&gt;&lt;h4&gt;Modified: branches/mule-3.x/distributions/standalone/pom.xml (16177 =&gt; 16178)&lt;/h4&gt;
&lt;pre class=&quot;diff&quot;&gt;
&lt;span class=&quot;info&quot;&gt;--- branches/mule-3.x/distributions/standalone/pom.xml	2009-12-05 12:18:55 UTC (rev 16177)
+++ branches/mule-3.x/distributions/standalone/pom.xml	2009-12-07 04:55:03 UTC (rev 16178)
&lt;/span&gt;&lt;span class=&quot;lines&quot;&gt;@@ -97,8 +97,8 @@
&lt;/span&gt;&lt;span class=&quot;cx&quot;&gt;             &amp;lt;/plugin&amp;gt;
 
             &amp;lt;plugin&amp;gt;
&lt;/span&gt;&lt;span class=&quot;rem&quot;&gt;-                &amp;lt;groupId&amp;gt;org.codehaus.mojo.groovy&amp;lt;/groupId&amp;gt;
-                &amp;lt;artifactId&amp;gt;groovy-maven-plugin&amp;lt;/artifactId&amp;gt;
&lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+                &amp;lt;groupId&amp;gt;org.codehaus.groovy.maven&amp;lt;/groupId&amp;gt;
+                &amp;lt;artifactId&amp;gt;gmaven-plugin&amp;lt;/artifactId&amp;gt;
&lt;/span&gt;&lt;span class=&quot;cx&quot;&gt;                 &amp;lt;executions&amp;gt;
                     &amp;lt;execution&amp;gt;
                         &amp;lt;phase&amp;gt;generate-sources&amp;lt;/phase&amp;gt;
&lt;/span&gt;&lt;/pre&gt;&lt;/div&gt;
&lt;a id=&quot;branchesmule3xpomxml&quot; target=&quot;_top&quot;&gt;&lt;/a&gt;
&lt;div class=&quot;modfile&quot;&gt;&lt;h4&gt;Modified: branches/mule-3.x/pom.xml (16177 =&gt; 16178)&lt;/h4&gt;
&lt;pre class=&quot;diff&quot;&gt;
&lt;span class=&quot;info&quot;&gt;--- branches/mule-3.x/pom.xml	2009-12-05 12:18:55 UTC (rev 16177)
+++ branches/mule-3.x/pom.xml	2009-12-07 04:55:03 UTC (rev 16178)
&lt;/span&gt;&lt;span class=&quot;lines&quot;&gt;@@ -1368,9 +1368,9 @@
&lt;/span&gt;&lt;span class=&quot;cx&quot;&gt;                     &amp;lt;version&amp;gt;2.0-beta-7&amp;lt;/version&amp;gt;
                 &amp;lt;/plugin&amp;gt;
                 &amp;lt;plugin&amp;gt;
&lt;/span&gt;&lt;span class=&quot;rem&quot;&gt;-                    &amp;lt;groupId&amp;gt;org.codehaus.mojo.groovy&amp;lt;/groupId&amp;gt;
-                    &amp;lt;artifactId&amp;gt;groovy-maven-plugin&amp;lt;/artifactId&amp;gt;
-                    &amp;lt;version&amp;gt;1.0-beta-3&amp;lt;/version&amp;gt;
&lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+                    &amp;lt;groupId&amp;gt;org.codehaus.groovy.maven&amp;lt;/groupId&amp;gt;
+                    &amp;lt;artifactId&amp;gt;gmaven-plugin&amp;lt;/artifactId&amp;gt;
+                    &amp;lt;version&amp;gt;1.0&amp;lt;/version&amp;gt;
&lt;/span&gt;&lt;span class=&quot;cx&quot;&gt;                 &amp;lt;/plugin&amp;gt;
             &amp;lt;/plugins&amp;gt;
         &amp;lt;/pluginManagement&amp;gt;
&lt;/span&gt;&lt;/pre&gt;&lt;/div&gt;
&lt;a id=&quot;branchesmule3xtestsarchetypesRunArchetypegroovy&quot; target=&quot;_top&quot;&gt;&lt;/a&gt;
&lt;div class=&quot;modfile&quot;&gt;&lt;h4&gt;Modified: branches/mule-3.x/tests/archetypes/RunArchetype.groovy (16177 =&gt; 16178)&lt;/h4&gt;
&lt;pre class=&quot;diff&quot;&gt;
&lt;span class=&quot;info&quot;&gt;--- branches/mule-3.x/tests/archetypes/RunArchetype.groovy	2009-12-05 12:18:55 UTC (rev 16177)
+++ branches/mule-3.x/tests/archetypes/RunArchetype.groovy	2009-12-07 04:55:03 UTC (rev 16178)
&lt;/span&gt;&lt;span class=&quot;lines&quot;&gt;@@ -27,11 +27,16 @@
&lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; // make sure that the output dir is created before the actual Maven run that follows now
 existingProjectDir.mkdirs()
 
&lt;/span&gt;&lt;span class=&quot;rem&quot;&gt;-/*
- * run Maven archetype
- */
-def cmdline = &amp;quot;-o &amp;quot;
&lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+// determine the local repository to use. Users may have specified a different local
+// repo when invoking the original Maven bulid (-Dmaven.repo.local=xxx). Of course
+// we need to use the same local repository on the forked Maven invocation
+localRepoArgument = &amp;quot;-Dmaven.repo.local=${settings.localRepository}&amp;quot;
&lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; 
&lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+//
+// run Maven archetype
+//
+def cmdline = &amp;quot;-o ${localRepoArgument} &amp;quot;
+
&lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; if (project.properties.archetype == null)
 {
     fail(&amp;quot;Specify the archetype to be invoked via a property named &amp;#39;archetype&amp;#39; in the config section of the groovy-maven-plugin that invokes this script&amp;quot;)
&lt;/span&gt;&lt;span class=&quot;lines&quot;&gt;@@ -53,7 +58,7 @@
&lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; 
 // now that the source is generated, compile it using Maven
 // Do not run &amp;quot;mvn test&amp;quot; here since the generated source is not testable as is
&lt;/span&gt;&lt;span class=&quot;rem&quot;&gt;-cmdline = &amp;quot;test-compile&amp;quot;
&lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+cmdline = &amp;quot;${localRepoArgument} test-compile&amp;quot;
&lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; runMaven(cmdline, existingProjectDir)
 
 def runMaven(String commandline, File directory)
&lt;/span&gt;&lt;/pre&gt;&lt;/div&gt;
&lt;a id=&quot;branchesmule3xtestsarchetypesexamplearchetypepomxml&quot; target=&quot;_top&quot;&gt;&lt;/a&gt;
&lt;div class=&quot;modfile&quot;&gt;&lt;h4&gt;Modified: branches/mule-3.x/tests/archetypes/example-archetype/pom.xml (16177 =&gt; 16178)&lt;/h4&gt;
&lt;pre class=&quot;diff&quot;&gt;
&lt;span class=&quot;info&quot;&gt;--- branches/mule-3.x/tests/archetypes/example-archetype/pom.xml	2009-12-05 12:18:55 UTC (rev 16177)
+++ branches/mule-3.x/tests/archetypes/example-archetype/pom.xml	2009-12-07 04:55:03 UTC (rev 16178)
&lt;/span&gt;&lt;span class=&quot;lines&quot;&gt;@@ -44,8 +44,8 @@
&lt;/span&gt;&lt;span class=&quot;cx&quot;&gt;     &amp;lt;build&amp;gt;
         &amp;lt;plugins&amp;gt;
             &amp;lt;plugin&amp;gt;
&lt;/span&gt;&lt;span class=&quot;rem&quot;&gt;-                &amp;lt;groupId&amp;gt;org.codehaus.mojo.groovy&amp;lt;/groupId&amp;gt;
-                &amp;lt;artifactId&amp;gt;groovy-maven-plugin&amp;lt;/artifactId&amp;gt;
&lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+                &amp;lt;groupId&amp;gt;org.codehaus.groovy.maven&amp;lt;/groupId&amp;gt;
+                &amp;lt;artifactId&amp;gt;gmaven-plugin&amp;lt;/artifactId&amp;gt;
&lt;/span&gt;&lt;span class=&quot;cx&quot;&gt;             &amp;lt;/plugin&amp;gt;
         &amp;lt;/plugins&amp;gt;
     &amp;lt;/build&amp;gt;
&lt;/span&gt;&lt;/pre&gt;&lt;/div&gt;
&lt;a id=&quot;branchesmule3xtestsarchetypesmodulearchetypepomxml&quot; target=&quot;_top&quot;&gt;&lt;/a&gt;
&lt;div class=&quot;modfile&quot;&gt;&lt;h4&gt;Modified: branches/mule-3.x/tests/archetypes/module-archetype/pom.xml (16177 =&gt; 16178)&lt;/h4&gt;
&lt;pre class=&quot;diff&quot;&gt;
&lt;span class=&quot;info&quot;&gt;--- branches/mule-3.x/tests/archetypes/module-archetype/pom.xml	2009-12-05 12:18:55 UTC (rev 16177)
+++ branches/mule-3.x/tests/archetypes/module-archetype/pom.xml	2009-12-07 04:55:03 UTC (rev 16178)
&lt;/span&gt;&lt;span class=&quot;lines&quot;&gt;@@ -44,8 +44,8 @@
&lt;/span&gt;&lt;span class=&quot;cx&quot;&gt;     &amp;lt;build&amp;gt;
         &amp;lt;plugins&amp;gt;
             &amp;lt;plugin&amp;gt;
&lt;/span&gt;&lt;span class=&quot;rem&quot;&gt;-                &amp;lt;groupId&amp;gt;org.codehaus.mojo.groovy&amp;lt;/groupId&amp;gt;
-                &amp;lt;artifactId&amp;gt;groovy-maven-plugin&amp;lt;/artifactId&amp;gt;
&lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+                &amp;lt;groupId&amp;gt;org.codehaus.groovy.maven&amp;lt;/groupId&amp;gt;
+                &amp;lt;artifactId&amp;gt;gmaven-plugin&amp;lt;/artifactId&amp;gt;
&lt;/span&gt;&lt;span class=&quot;cx&quot;&gt;             &amp;lt;/plugin&amp;gt;
         &amp;lt;/plugins&amp;gt;
     &amp;lt;/build&amp;gt;
&lt;/span&gt;&lt;/pre&gt;&lt;/div&gt;
&lt;a id=&quot;branchesmule3xtestsarchetypespomxml&quot; target=&quot;_top&quot;&gt;&lt;/a&gt;
&lt;div class=&quot;modfile&quot;&gt;&lt;h4&gt;Modified: branches/mule-3.x/tests/archetypes/pom.xml (16177 =&gt; 16178)&lt;/h4&gt;
&lt;pre class=&quot;diff&quot;&gt;
&lt;span class=&quot;info&quot;&gt;--- branches/mule-3.x/tests/archetypes/pom.xml	2009-12-05 12:18:55 UTC (rev 16177)
+++ branches/mule-3.x/tests/archetypes/pom.xml	2009-12-07 04:55:03 UTC (rev 16178)
&lt;/span&gt;&lt;span class=&quot;lines&quot;&gt;@@ -36,8 +36,8 @@
&lt;/span&gt;&lt;span class=&quot;cx&quot;&gt;                 &amp;lt;pluginManagement&amp;gt;
                     &amp;lt;plugins&amp;gt;
                         &amp;lt;plugin&amp;gt;
&lt;/span&gt;&lt;span class=&quot;rem&quot;&gt;-                            &amp;lt;groupId&amp;gt;org.codehaus.mojo.groovy&amp;lt;/groupId&amp;gt;
-                            &amp;lt;artifactId&amp;gt;groovy-maven-plugin&amp;lt;/artifactId&amp;gt;
&lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+                            &amp;lt;groupId&amp;gt;org.codehaus.groovy.maven&amp;lt;/groupId&amp;gt;
+                            &amp;lt;artifactId&amp;gt;gmaven-plugin&amp;lt;/artifactId&amp;gt;
&lt;/span&gt;&lt;span class=&quot;cx&quot;&gt;                             &amp;lt;executions&amp;gt;
                                 &amp;lt;execution&amp;gt;
                                     &amp;lt;phase&amp;gt;generate-test-sources&amp;lt;/phase&amp;gt;
&lt;/span&gt;&lt;span class=&quot;lines&quot;&gt;@@ -60,8 +60,6 @@
&lt;/span&gt;&lt;span class=&quot;cx&quot;&gt;                     &amp;lt;/plugins&amp;gt;
                 &amp;lt;/pluginManagement&amp;gt;
             &amp;lt;/build&amp;gt;
&lt;/span&gt;&lt;span class=&quot;rem&quot;&gt;-
&lt;/span&gt;&lt;span class=&quot;cx&quot;&gt;         &amp;lt;/profile&amp;gt;
     &amp;lt;/profiles&amp;gt;
&lt;/span&gt;&lt;span class=&quot;rem&quot;&gt;-
&lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; &amp;lt;/project&amp;gt;
&lt;/span&gt;&lt;/pre&gt;&lt;/div&gt;
&lt;a id=&quot;branchesmule3xtestsarchetypesprojectarchetypepomxml&quot; target=&quot;_top&quot;&gt;&lt;/a&gt;
&lt;div class=&quot;modfile&quot;&gt;&lt;h4&gt;Modified: branches/mule-3.x/tests/archetypes/project-archetype/pom.xml (16177 =&gt; 16178)&lt;/h4&gt;
&lt;pre class=&quot;diff&quot;&gt;
&lt;span class=&quot;info&quot;&gt;--- branches/mule-3.x/tests/archetypes/project-archetype/pom.xml	2009-12-05 12:18:55 UTC (rev 16177)
+++ branches/mule-3.x/tests/archetypes/project-archetype/pom.xml	2009-12-07 04:55:03 UTC (rev 16178)
&lt;/span&gt;&lt;span class=&quot;lines&quot;&gt;@@ -44,8 +44,8 @@
&lt;/span&gt;&lt;span class=&quot;cx&quot;&gt;     &amp;lt;build&amp;gt;
         &amp;lt;plugins&amp;gt;
             &amp;lt;plugin&amp;gt;
&lt;/span&gt;&lt;span class=&quot;rem&quot;&gt;-                &amp;lt;groupId&amp;gt;org.codehaus.mojo.groovy&amp;lt;/groupId&amp;gt;
-                &amp;lt;artifactId&amp;gt;groovy-maven-plugin&amp;lt;/artifactId&amp;gt;
&lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+                &amp;lt;groupId&amp;gt;org.codehaus.groovy.maven&amp;lt;/groupId&amp;gt;
+                &amp;lt;artifactId&amp;gt;gmaven-plugin&amp;lt;/artifactId&amp;gt;
&lt;/span&gt;&lt;span class=&quot;cx&quot;&gt;             &amp;lt;/plugin&amp;gt;
         &amp;lt;/plugins&amp;gt;
     &amp;lt;/build&amp;gt;
&lt;/span&gt;&lt;/pre&gt;&lt;/div&gt;
&lt;a id=&quot;branchesmule3xtestsarchetypestransportarchetypepomxml&quot; target=&quot;_top&quot;&gt;&lt;/a&gt;
&lt;div class=&quot;modfile&quot;&gt;&lt;h4&gt;Modified: branches/mule-3.x/tests/archetypes/transport-archetype/pom.xml (16177 =&gt; 16178)&lt;/h4&gt;
&lt;pre class=&quot;diff&quot;&gt;
&lt;span class=&quot;info&quot;&gt;--- branches/mule-3.x/tests/archetypes/transport-archetype/pom.xml	2009-12-05 12:18:55 UTC (rev 16177)
+++ branches/mule-3.x/tests/archetypes/transport-archetype/pom.xml	2009-12-07 04:55:03 UTC (rev 16178)
&lt;/span&gt;&lt;span class=&quot;lines&quot;&gt;@@ -44,9 +44,9 @@
&lt;/span&gt;&lt;span class=&quot;cx&quot;&gt;     &amp;lt;build&amp;gt;
         &amp;lt;plugins&amp;gt;
             &amp;lt;plugin&amp;gt;
&lt;/span&gt;&lt;span class=&quot;rem&quot;&gt;-                &amp;lt;groupId&amp;gt;org.codehaus.mojo.groovy&amp;lt;/groupId&amp;gt;
-                &amp;lt;artifactId&amp;gt;groovy-maven-plugin&amp;lt;/artifactId&amp;gt;
&lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+                &amp;lt;groupId&amp;gt;org.codehaus.groovy.maven&amp;lt;/groupId&amp;gt;
+                &amp;lt;artifactId&amp;gt;gmaven-plugin&amp;lt;/artifactId&amp;gt;
&lt;/span&gt;&lt;span class=&quot;cx&quot;&gt;             &amp;lt;/plugin&amp;gt;
         &amp;lt;/plugins&amp;gt;
     &amp;lt;/build&amp;gt;
&lt;/span&gt;&lt;span class=&quot;rem&quot;&gt;-&amp;lt;/project&amp;gt;
&lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+&amp;lt;/project&amp;gt;
&lt;/span&gt;&lt;span class=&quot;cx&quot;&gt;\ No newline at end of file
&lt;/span&gt;
&lt;/pre&gt;
&lt;/div&gt;
&lt;/div&gt;

&lt;/body&gt;
&lt;/html&gt;

&lt;hr /&gt;
&lt;p&gt;
To unsubscribe from this list please visit:
&lt;/p&gt;
&lt;p&gt;
    &lt;a href=&quot;http://xircles.codehaus.org/manage_email&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://xircles.codehaus.org/manage_email&lt;/a&gt;

&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Mule-Commits-f35672.html&quot; embed=&quot;fixTarget[35672]&quot; target=&quot;_top&quot; &gt;Mule Commits&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/-mule-scm---mule---16178--branches-mule-3.x%3A-Merged-revisions-16177-via-svnmerge-from-tp26672492p26672492.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26668808</id>
	<title>[mule-transport-sftp-dev] [mule-jira] Updated: (SFTP-17) Simplify writing tests that need to know when a file is processed</title>
	<published>2009-12-06T12:40:23Z</published>
	<updated>2009-12-06T12:40:23Z</updated>
	<author>
		<name>JIRA no-reply@mulesource.com</name>
	</author>
	<content type="html">&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;[ &lt;a href=&quot;http://www.mulesource.org/jira/browse/SFTP-17?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.mulesource.org/jira/browse/SFTP-17?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel&lt;/a&gt;&amp;nbsp;]
&lt;br&gt;&lt;br&gt;Magnus Larsson updated SFTP-17:
&lt;br&gt;-------------------------------
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; Fix Version/s: 2.2.1-RC2
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Simplify writing tests that need to know when a file is processed
&lt;br&gt;&amp;gt; -----------------------------------------------------------------
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Key: SFTP-17
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; URL: &lt;a href=&quot;http://www.mulesource.org/jira/browse/SFTP-17&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.mulesource.org/jira/browse/SFTP-17&lt;/a&gt;&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Project: SFTP Transport Project
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Issue Type: Improvement
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Components: Test
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;Affects Versions: 2.2.*
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Reporter: Magnus Larsson
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Assignee: Magnus Larsson
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Fix For: 2.2.1-RC2
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Currently when writing tests where we need to be sure that a file is fully processed we force the test to &amp;quot;sleep&amp;quot; for a time period sufficient for the background processing. This leads to both non robust test code and/or tests that take unnecessary long time to be executed.
&lt;br&gt;&amp;gt; Instead of forcing the test code to &amp;quot;sleep&amp;quot; a helper method that uses Mule ESB internal notification mechanism could listen for internal delivery notifications to detect when the background processing is complete and allow the test code to continue immediately after the background processing is complete.
&lt;br&gt;&amp;gt; Example of current test code:
&lt;br&gt;&amp;gt; {code}
&lt;br&gt;&amp;gt; // Send an file to the SFTP server, which the inbound-endpoint then can pick up
&lt;br&gt;&amp;gt; muleClient.dispatch(getAddressByEndpoint(muleClient, INBOUND_ENDPOINT_NAME) + &amp;quot;?connector=sftpCustomConnector&amp;quot;, TEST_MESSAGE, fileNameProperties);
&lt;br&gt;&amp;gt; // TODO dont know any better way to wait for the above to finish? We cant use the same as SftpFileAgeFunctionalTestCase
&lt;br&gt;&amp;gt; // &amp;nbsp; for example since we dont have the TestComp
&lt;br&gt;&amp;gt; Thread.sleep(10000);
&lt;br&gt;&amp;gt; ...continue tests here...
&lt;br&gt;&amp;gt; {code}
&lt;br&gt;&amp;gt; Sample code using new helper method:
&lt;br&gt;&amp;gt; {code}
&lt;br&gt;&amp;gt; dispatchAndWaitForDelivery(&amp;quot;sftpCustomConnector&amp;quot;, INBOUND_ENDPOINT_NAME, OUTBOUND_ENDPOINT_NAME);
&lt;br&gt;&amp;gt; ...continue tests here...
&lt;br&gt;&amp;gt; {code}
&lt;/div&gt;&lt;br&gt;-- 
&lt;br&gt;This message is automatically generated by JIRA.
&lt;br&gt;-
&lt;br&gt;If you think it was sent incorrectly contact one of the administrators: &lt;a href=&quot;http://www.mulesource.org/jira/secure/Administrators.jspa&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.mulesource.org/jira/secure/Administrators.jspa&lt;/a&gt;&lt;br&gt;-
&lt;br&gt;For more information on JIRA, see: &lt;a href=&quot;http://www.atlassian.com/software/jira&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.atlassian.com/software/jira&lt;/a&gt;&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&lt;br&gt;---------------------------------------------------------------------
&lt;br&gt;To unsubscribe from this list, please visit:
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &lt;a href=&quot;http://admin.muleforge.org/manage_email&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://admin.muleforge.org/manage_email&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;--
&lt;br&gt;&lt;br&gt;You received this message because you are subscribed to the Google Groups &amp;quot;MuleForge Dev&amp;quot; group.
&lt;br&gt;To post to this group, send email to &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26668808&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;muleforgedev@...&lt;/a&gt;.
&lt;br&gt;To unsubscribe from this group, send email to &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26668808&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;muleforgedev+unsubscribe@...&lt;/a&gt;.
&lt;br&gt;For more options, visit this group at &lt;a href=&quot;http://groups.google.com/group/muleforgedev?hl=en&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://groups.google.com/group/muleforgedev?hl=en&lt;/a&gt;.
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/MuleForge-Dev-f29652.html&quot; embed=&quot;fixTarget[29652]&quot; target=&quot;_top&quot; &gt;MuleForge Dev&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/-mule-transport-sftp-dev---mule-jira--Created%3A-%28SFTP-17%29-Simplify-writing-tests-that-need-to-know-when-a-file-is-processed-tp26668826p26668808.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26668805</id>
	<title>[mule-jira] Updated: (SFTP-17) Simplify writing tests that need to know when a file is processed</title>
	<published>2009-12-06T12:40:23Z</published>
	<updated>2009-12-06T12:40:23Z</updated>
	<author>
		<name>JIRA no-reply@mulesource.com</name>
	</author>
	<content type="html">&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;[ &lt;a href=&quot;http://www.mulesource.org/jira/browse/SFTP-17?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.mulesource.org/jira/browse/SFTP-17?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel&lt;/a&gt;&amp;nbsp;]
&lt;br&gt;&lt;br&gt;Magnus Larsson updated SFTP-17:
&lt;br&gt;-------------------------------
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; Fix Version/s: 2.2.1-RC2
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Simplify writing tests that need to know when a file is processed
&lt;br&gt;&amp;gt; -----------------------------------------------------------------
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Key: SFTP-17
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; URL: &lt;a href=&quot;http://www.mulesource.org/jira/browse/SFTP-17&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.mulesource.org/jira/browse/SFTP-17&lt;/a&gt;&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Project: SFTP Transport Project
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Issue Type: Improvement
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Components: Test
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;Affects Versions: 2.2.*
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Reporter: Magnus Larsson
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Assignee: Magnus Larsson
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Fix For: 2.2.1-RC2
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Currently when writing tests where we need to be sure that a file is fully processed we force the test to &amp;quot;sleep&amp;quot; for a time period sufficient for the background processing. This leads to both non robust test code and/or tests that take unnecessary long time to be executed.
&lt;br&gt;&amp;gt; Instead of forcing the test code to &amp;quot;sleep&amp;quot; a helper method that uses Mule ESB internal notification mechanism could listen for internal delivery notifications to detect when the background processing is complete and allow the test code to continue immediately after the background processing is complete.
&lt;br&gt;&amp;gt; Example of current test code:
&lt;br&gt;&amp;gt; {code}
&lt;br&gt;&amp;gt; // Send an file to the SFTP server, which the inbound-endpoint then can pick up
&lt;br&gt;&amp;gt; muleClient.dispatch(getAddressByEndpoint(muleClient, INBOUND_ENDPOINT_NAME) + &amp;quot;?connector=sftpCustomConnector&amp;quot;, TEST_MESSAGE, fileNameProperties);
&lt;br&gt;&amp;gt; // TODO dont know any better way to wait for the above to finish? We cant use the same as SftpFileAgeFunctionalTestCase
&lt;br&gt;&amp;gt; // &amp;nbsp; for example since we dont have the TestComp
&lt;br&gt;&amp;gt; Thread.sleep(10000);
&lt;br&gt;&amp;gt; ...continue tests here...
&lt;br&gt;&amp;gt; {code}
&lt;br&gt;&amp;gt; Sample code using new helper method:
&lt;br&gt;&amp;gt; {code}
&lt;br&gt;&amp;gt; dispatchAndWaitForDelivery(&amp;quot;sftpCustomConnector&amp;quot;, INBOUND_ENDPOINT_NAME, OUTBOUND_ENDPOINT_NAME);
&lt;br&gt;&amp;gt; ...continue tests here...
&lt;br&gt;&amp;gt; {code}
&lt;/div&gt;&lt;br&gt;-- 
&lt;br&gt;This message is automatically generated by JIRA.
&lt;br&gt;-
&lt;br&gt;If you think it was sent incorrectly contact one of the administrators: &lt;a href=&quot;http://www.mulesource.org/jira/secure/Administrators.jspa&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.mulesource.org/jira/secure/Administrators.jspa&lt;/a&gt;&lt;br&gt;-
&lt;br&gt;For more information on JIRA, see: &lt;a href=&quot;http://www.atlassian.com/software/jira&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.atlassian.com/software/jira&lt;/a&gt;&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&lt;br&gt;--
&lt;br&gt;&lt;br&gt;You received this message because you are subscribed to the Google Groups &amp;quot;MuleForge Dev&amp;quot; group.
&lt;br&gt;To post to this group, send email to &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26668805&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;muleforgedev@...&lt;/a&gt;.
&lt;br&gt;To unsubscribe from this group, send email to &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26668805&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;muleforgedev+unsubscribe@...&lt;/a&gt;.
&lt;br&gt;For more options, visit this group at &lt;a href=&quot;http://groups.google.com/group/muleforgedev?hl=en&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://groups.google.com/group/muleforgedev?hl=en&lt;/a&gt;.
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/MuleForge-Dev-f29652.html&quot; embed=&quot;fixTarget[29652]&quot; target=&quot;_top&quot; &gt;MuleForge Dev&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/-mule-jira--Created%3A-%28SFTP-17%29-Simplify-writing-tests-that-need-to-know-when-a-file-is-processed-tp26668828p26668805.html" />
</entry>

</feed>
