tuscany-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From antel...@apache.org
Subject svn commit: r1228595 - /tuscany/sca-java-2.x/trunk/modules/binding-jms/src/main/java/org/apache/tuscany/sca/binding/jms/JMSBindingProcessor.java
Date Sat, 07 Jan 2012 11:26:14 GMT
Author: antelder
Date: Sat Jan  7 11:26:14 2012
New Revision: 1228595

URL: http://svn.apache.org/viewvc?rev=1228595&view=rev
Log:
TUSCANY-4002: Apply patch from Jennifer Thompson for JMSBindingProcessor to allow for additional
extensions

Modified:
    tuscany/sca-java-2.x/trunk/modules/binding-jms/src/main/java/org/apache/tuscany/sca/binding/jms/JMSBindingProcessor.java

Modified: tuscany/sca-java-2.x/trunk/modules/binding-jms/src/main/java/org/apache/tuscany/sca/binding/jms/JMSBindingProcessor.java
URL: http://svn.apache.org/viewvc/tuscany/sca-java-2.x/trunk/modules/binding-jms/src/main/java/org/apache/tuscany/sca/binding/jms/JMSBindingProcessor.java?rev=1228595&r1=1228594&r2=1228595&view=diff
==============================================================================
--- tuscany/sca-java-2.x/trunk/modules/binding-jms/src/main/java/org/apache/tuscany/sca/binding/jms/JMSBindingProcessor.java
(original)
+++ tuscany/sca-java-2.x/trunk/modules/binding-jms/src/main/java/org/apache/tuscany/sca/binding/jms/JMSBindingProcessor.java
Sat Jan  7 11:26:14 2012
@@ -452,6 +452,21 @@ public class JMSBindingProcessor extends
         if (model.getOperationPropertiesName() != null) {
             model.setOperationPropertiesBinding(getConnectionBinding(model, "operationProperties",
model.getOperationPropertiesName(), resolver, context));
         }
+        
+        WireFormat requestWireFormat = model.getRequestWireFormat(); 
+        if (requestWireFormat != null) {
+            extensionProcessor.resolve(requestWireFormat, resolver, context);
+        }    
+
+        WireFormat responseWireFormat = model.getResponseWireFormat(); 
+        if (responseWireFormat != null) {
+            extensionProcessor.resolve(responseWireFormat, resolver, context);
+        }    
+        
+        OperationSelector operationSelector = model.getOperationSelector(); 
+        if (operationSelector != null) {
+            extensionProcessor.resolve(operationSelector, resolver, context);
+        }      
     }
 
     private JMSBinding getConnectionBinding(JMSBinding model, String attrName, QName bindingName,
ModelResolver resolver, ProcessorContext context) {



Mime
View raw message