summaryrefslogtreecommitdiffstats
path: root/java/sca
diff options
context:
space:
mode:
Diffstat (limited to 'java/sca')
-rw-r--r--java/sca/modules/assembly/src/main/java/org/apache/tuscany/sca/assembly/builder/impl/ComponentReferenceEndpointReferenceBuilderImpl.java2
-rw-r--r--java/sca/modules/assembly/src/main/resources/assembly-validation-messages.properties2
2 files changed, 2 insertions, 2 deletions
diff --git a/java/sca/modules/assembly/src/main/java/org/apache/tuscany/sca/assembly/builder/impl/ComponentReferenceEndpointReferenceBuilderImpl.java b/java/sca/modules/assembly/src/main/java/org/apache/tuscany/sca/assembly/builder/impl/ComponentReferenceEndpointReferenceBuilderImpl.java
index c56541a273..c5f03b51c5 100644
--- a/java/sca/modules/assembly/src/main/java/org/apache/tuscany/sca/assembly/builder/impl/ComponentReferenceEndpointReferenceBuilderImpl.java
+++ b/java/sca/modules/assembly/src/main/java/org/apache/tuscany/sca/assembly/builder/impl/ComponentReferenceEndpointReferenceBuilderImpl.java
@@ -184,7 +184,7 @@ public class ComponentReferenceEndpointReferenceBuilderImpl extends BaseBuilderI
// the presence of binding elements
if (reference.getBindings().size() > 0) {
warning(monitor, "ReferenceEndPointMixWithTarget",
- composite, reference.getName());
+ composite, composite.getName().toString(), component.getName(), reference.getName());
}
// Resolve targets specified on the component reference
diff --git a/java/sca/modules/assembly/src/main/resources/assembly-validation-messages.properties b/java/sca/modules/assembly/src/main/resources/assembly-validation-messages.properties
index 6aeda18aab..67328bc929 100644
--- a/java/sca/modules/assembly/src/main/resources/assembly-validation-messages.properties
+++ b/java/sca/modules/assembly/src/main/resources/assembly-validation-messages.properties
@@ -46,7 +46,7 @@ ComponentReferenceTargetNotFound = Component reference target not found, it migh
NoSCABindingAvailableForUnresolvedService = A local service cannot be found for reference {0} target {1} and there is no SCA binding available to represent the unresolved target
NoMatchingBinding = Component reference {0} does not have a binding which matches the bindings of service {1}
NoMatchingCallbackBinding = Component reference {0} does not have a callback binding which matches the callback bindings of service {1}
-ReferenceEndPointMixWithTarget = Reference {0} must not specify endpoints using both target attribute and with binding uri attribute
+ReferenceEndPointMixWithTarget = Composite {0} Component {1} Reference {2} must not specify endpoints using both target attribute and with binding uri attribute
PolicyRelatedException = Policy Related Exception occured due to : {0}
CompositeAlreadyIncluded = Composite {0} has already been included.
ComponentReferenceMoreWire = Component reference {0} has more than one wires