servicemix-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ff...@apache.org
Subject svn commit: r1095252 - in /servicemix/smx4/features/trunk/camel/servicemix-camel/src: main/java/org/apache/servicemix/camel/nmr/ServiceMixEndpoint.java test/java/org/apache/servicemix/camel/nmr/RunAsSubjectTest.java
Date Wed, 20 Apr 2011 01:58:30 GMT
Author: ffang
Date: Wed Apr 20 01:58:29 2011
New Revision: 1095252

URL: http://svn.apache.org/viewvc?rev=1095252&view=rev
Log:
[SMX4-792]use runAsSubject for camel:nmr endpoint

Modified:
    servicemix/smx4/features/trunk/camel/servicemix-camel/src/main/java/org/apache/servicemix/camel/nmr/ServiceMixEndpoint.java
    servicemix/smx4/features/trunk/camel/servicemix-camel/src/test/java/org/apache/servicemix/camel/nmr/RunAsSubjectTest.java

Modified: servicemix/smx4/features/trunk/camel/servicemix-camel/src/main/java/org/apache/servicemix/camel/nmr/ServiceMixEndpoint.java
URL: http://svn.apache.org/viewvc/servicemix/smx4/features/trunk/camel/servicemix-camel/src/main/java/org/apache/servicemix/camel/nmr/ServiceMixEndpoint.java?rev=1095252&r1=1095251&r2=1095252&view=diff
==============================================================================
--- servicemix/smx4/features/trunk/camel/servicemix-camel/src/main/java/org/apache/servicemix/camel/nmr/ServiceMixEndpoint.java
(original)
+++ servicemix/smx4/features/trunk/camel/servicemix-camel/src/main/java/org/apache/servicemix/camel/nmr/ServiceMixEndpoint.java
Wed Apr 20 01:58:29 2011
@@ -33,7 +33,7 @@ import org.apache.camel.Processor;
 public class ServiceMixEndpoint extends DefaultEndpoint {
 
     private static final String SYNCHRONOUS = "synchronous";
-    private static final String RUN_AS_SUBJECT = "RUN_AS_SUBJECT";
+    public static final String RUN_AS_SUBJECT = "runAsSubject";
 
     private String endpointName;
     private boolean synchronous;

Modified: servicemix/smx4/features/trunk/camel/servicemix-camel/src/test/java/org/apache/servicemix/camel/nmr/RunAsSubjectTest.java
URL: http://svn.apache.org/viewvc/servicemix/smx4/features/trunk/camel/servicemix-camel/src/test/java/org/apache/servicemix/camel/nmr/RunAsSubjectTest.java?rev=1095252&r1=1095251&r2=1095252&view=diff
==============================================================================
--- servicemix/smx4/features/trunk/camel/servicemix-camel/src/test/java/org/apache/servicemix/camel/nmr/RunAsSubjectTest.java
(original)
+++ servicemix/smx4/features/trunk/camel/servicemix-camel/src/test/java/org/apache/servicemix/camel/nmr/RunAsSubjectTest.java
Wed Apr 20 01:58:29 2011
@@ -51,7 +51,7 @@ public class RunAsSubjectTest  extends A
                 from("direct:inonly").setHeader(Exchange.AUTHENTICATION).constant(subject).
                 	to("nmr:helloworld");
                    
-                from("nmr:helloworld?RUN_AS_SUBJECT=true").process(new SubjectProcessor());
+                from("nmr:helloworld?runAsSubject=true").process(new SubjectProcessor());
                     
             }
         };



Mime
View raw message