From 35a38f4339dafbb333e0ca77cbc9da37511f1bee Mon Sep 17 00:00:00 2001 From: antelder Date: Sat, 7 Jan 2012 11:26:14 +0000 Subject: TUSCANY-4002: Apply patch from Jennifer Thompson for JMSBindingProcessor to allow for additional extensions git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1228595 13f79535-47bb-0310-9956-ffa450edef68 --- .../tuscany/sca/binding/jms/JMSBindingProcessor.java | 15 +++++++++++++++ 1 file changed, 15 insertions(+) (limited to 'sca-java-2.x/trunk/modules/binding-jms/src/main/java') diff --git a/sca-java-2.x/trunk/modules/binding-jms/src/main/java/org/apache/tuscany/sca/binding/jms/JMSBindingProcessor.java b/sca-java-2.x/trunk/modules/binding-jms/src/main/java/org/apache/tuscany/sca/binding/jms/JMSBindingProcessor.java index f503e845a5..04b4f43f64 100644 --- a/sca-java-2.x/trunk/modules/binding-jms/src/main/java/org/apache/tuscany/sca/binding/jms/JMSBindingProcessor.java +++ b/sca-java-2.x/trunk/modules/binding-jms/src/main/java/org/apache/tuscany/sca/binding/jms/JMSBindingProcessor.java @@ -452,6 +452,21 @@ public class JMSBindingProcessor extends BaseStAXArtifactProcessor implements St 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) { -- cgit v1.2.3