camel-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From davscl...@apache.org
Subject svn commit: r1226868 - in /camel/branches/camel-2.8.x: ./ components/camel-bam/src/main/java/org/apache/camel/bam/ProcessBuilder.java
Date Tue, 03 Jan 2012 17:03:25 GMT
Author: davsclaus
Date: Tue Jan  3 17:03:25 2012
New Revision: 1226868

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

Modified:
    camel/branches/camel-2.8.x/   (props changed)
    camel/branches/camel-2.8.x/components/camel-bam/src/main/java/org/apache/camel/bam/ProcessBuilder.java

Propchange: camel/branches/camel-2.8.x/
------------------------------------------------------------------------------
--- svn:mergeinfo (original)
+++ svn:mergeinfo Tue Jan  3 17:03:25 2012
@@ -1 +1 @@
-/camel/trunk:1212504,1215477,1221565,1224674,1225077-1225078,1225766,1226081,1226387,1226430
+/camel/trunk:1212504,1215477,1221565,1224674,1225077-1225078,1225766,1226081,1226387,1226430,1226867

Propchange: camel/branches/camel-2.8.x/
------------------------------------------------------------------------------
Binary property 'svnmerge-integrated' - no diff available.

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



Mime
View raw message