servicemix-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gno...@apache.org
Subject svn commit: r489060 - in /incubator/servicemix/trunk/core/servicemix-core/src/main/java/org/apache/servicemix/jbi/messaging: MessageExchangeFactoryImpl.java MessageExchangeSupport.java
Date Wed, 20 Dec 2006 11:37:34 GMT
Author: gnodet
Date: Wed Dec 20 03:37:33 2006
New Revision: 489060

URL: http://svn.apache.org/viewvc?view=rev&rev=489060
Log:
SM-790: Support for WSDL2 namespace in MEPs

Modified:
    incubator/servicemix/trunk/core/servicemix-core/src/main/java/org/apache/servicemix/jbi/messaging/MessageExchangeFactoryImpl.java
    incubator/servicemix/trunk/core/servicemix-core/src/main/java/org/apache/servicemix/jbi/messaging/MessageExchangeSupport.java

Modified: incubator/servicemix/trunk/core/servicemix-core/src/main/java/org/apache/servicemix/jbi/messaging/MessageExchangeFactoryImpl.java
URL: http://svn.apache.org/viewvc/incubator/servicemix/trunk/core/servicemix-core/src/main/java/org/apache/servicemix/jbi/messaging/MessageExchangeFactoryImpl.java?view=diff&rev=489060&r1=489059&r2=489060
==============================================================================
--- incubator/servicemix/trunk/core/servicemix-core/src/main/java/org/apache/servicemix/jbi/messaging/MessageExchangeFactoryImpl.java
(original)
+++ incubator/servicemix/trunk/core/servicemix-core/src/main/java/org/apache/servicemix/jbi/messaging/MessageExchangeFactoryImpl.java
Wed Dec 20 03:37:33 2006
@@ -76,16 +76,20 @@
         checkNotClosed();
         MessageExchange result = null;
         if (pattern != null) {
-            if (pattern.equals(MessageExchangeSupport.IN_ONLY)) {
+            if (pattern.equals(MessageExchangeSupport.IN_ONLY) ||
+                pattern.equals(MessageExchangeSupport.WSDL2_IN_ONLY)) {
                 result = createInOnlyExchange();
             }
-            else if (pattern.equals(MessageExchangeSupport.IN_OUT)) {
+            else if (pattern.equals(MessageExchangeSupport.IN_OUT) ||
+                     pattern.equals(MessageExchangeSupport.WSDL2_IN_OUT)) {
                 result = createInOutExchange();
             }
-            else if (pattern.equals(MessageExchangeSupport.IN_OPTIONAL_OUT)) {
+            else if (pattern.equals(MessageExchangeSupport.IN_OPTIONAL_OUT) ||
+                     pattern.equals(MessageExchangeSupport.WSDL2_IN_OPTIONAL_OUT)) {
                 result = createInOptionalOutExchange();
             }
-            else if (pattern.equals(MessageExchangeSupport.ROBUST_IN_ONLY)) {
+            else if (pattern.equals(MessageExchangeSupport.ROBUST_IN_ONLY) ||
+                     pattern.equals(MessageExchangeSupport.WSDL2_ROBUST_IN_ONLY)) {
                 result = createRobustInOnlyExchange();
             }
         }

Modified: incubator/servicemix/trunk/core/servicemix-core/src/main/java/org/apache/servicemix/jbi/messaging/MessageExchangeSupport.java
URL: http://svn.apache.org/viewvc/incubator/servicemix/trunk/core/servicemix-core/src/main/java/org/apache/servicemix/jbi/messaging/MessageExchangeSupport.java?view=diff&rev=489060&r1=489059&r2=489060
==============================================================================
--- incubator/servicemix/trunk/core/servicemix-core/src/main/java/org/apache/servicemix/jbi/messaging/MessageExchangeSupport.java
(original)
+++ incubator/servicemix/trunk/core/servicemix-core/src/main/java/org/apache/servicemix/jbi/messaging/MessageExchangeSupport.java
Wed Dec 20 03:37:33 2006
@@ -56,4 +56,38 @@
      * Robust Out Only MEP.
      */
     public static final URI ROBUST_OUT_ONLY = URI.create("http://www.w3.org/2004/08/wsdl/robust-out-only");
+
+
+    /**
+     * In Only MEP.
+     */
+    public static final URI WSDL2_IN_ONLY = URI.create("http://www.w3.org/2006/01/wsdl/in-only");
+    /**
+     * In Out MEP.
+     */
+    public static final URI WSDL2_IN_OUT = URI.create("http://www.w3.org/2006/01/wsdl/in-out");
+    /**
+     * In Optional Out MEP.
+     */
+    public static final URI WSDL2_IN_OPTIONAL_OUT = URI.create("http://www.w3.org/2006/01/wsdl/in-opt-out");
+    /**
+     * Robust In Only MEP.
+     */
+    public static final URI WSDL2_ROBUST_IN_ONLY = URI.create("http://www.w3.org/2006/01/wsdl/robust-in-only");
+    /**
+     * Out Only MEP.
+     */
+    public static final URI WSDL2_OUT_ONLY = URI.create("http://www.w3.org/2006/01/wsdl/out-only");
+    /**
+     * Out In MEP.
+     */
+    public static final URI WSDL2_OUT_IN = URI.create("http://www.w3.org/2006/01/wsdl/out-in");
+    /**
+     * Out Optional In MEP.
+     */
+    public static final URI WSDL2_OUT_OPTIONAL_IN = URI.create("http://www.w3.org/2006/01/wsdl/out-opt-in");
+    /**
+     * Robust Out Only MEP.
+     */
+    public static final URI WSDL2_ROBUST_OUT_ONLY = URI.create("http://www.w3.org/2006/01/wsdl/robust-out-only");
 }



Mime
View raw message