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
This commit is contained in:
antelder 2012-01-07 11:26:14 +00:00
parent a04a4e90df
commit 35a38f4339

View file

@ -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) {