camel-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From davscl...@apache.org
Subject svn commit: r1226867 - /camel/trunk/components/camel-bam/src/main/java/org/apache/camel/bam/ProcessBuilder.java
Date Tue, 03 Jan 2012 17:00:31 GMT
Author: davsclaus
Date: Tue Jan  3 17:00:31 2012
New Revision: 1226867

URL: http://svn.apache.org/viewvc?rev=1226867&view=rev
Log:
CAMEL-4854: camel-bam, ensure processor name is created if not configured explict.

Modified:
    camel/trunk/components/camel-bam/src/main/java/org/apache/camel/bam/ProcessBuilder.java

Modified: camel/trunk/components/camel-bam/src/main/java/org/apache/camel/bam/ProcessBuilder.java
URL: http://svn.apache.org/viewvc/camel/trunk/components/camel-bam/src/main/java/org/apache/camel/bam/ProcessBuilder.java?rev=1226867&r1=1226866&r2=1226867&view=diff
==============================================================================
--- camel/trunk/components/camel-bam/src/main/java/org/apache/camel/bam/ProcessBuilder.java
(original)
+++ camel/trunk/components/camel-bam/src/main/java/org/apache/camel/bam/ProcessBuilder.java
Tue Jan  3 17:00:31 2012
@@ -132,6 +132,9 @@ public abstract class ProcessBuilder ext
     }
 
     public String getProcessName() {
+        if (processName == null) {
+            processName = createProcessName();
+        }
         return processName;
     }
 



Mime
View raw message