summaryrefslogtreecommitdiffstats
path: root/java/sca
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--java/sca/modules/core/src/main/java/org/apache/tuscany/sca/core/assembly/impl/EndpointReferenceBuilderImpl.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/java/sca/modules/core/src/main/java/org/apache/tuscany/sca/core/assembly/impl/EndpointReferenceBuilderImpl.java b/java/sca/modules/core/src/main/java/org/apache/tuscany/sca/core/assembly/impl/EndpointReferenceBuilderImpl.java
index e1bb50a2b9..b37699580e 100644
--- a/java/sca/modules/core/src/main/java/org/apache/tuscany/sca/core/assembly/impl/EndpointReferenceBuilderImpl.java
+++ b/java/sca/modules/core/src/main/java/org/apache/tuscany/sca/core/assembly/impl/EndpointReferenceBuilderImpl.java
@@ -98,7 +98,7 @@ public class EndpointReferenceBuilderImpl implements EndpointReferenceBuilder {
// still need to check that the callback endpoint is set correctly
if (hasCallback(endpointReference) &&
- endpointReference.getCallbackEndpoint() == null &&
+ endpointReference.getCallbackEndpoint() != null &&
endpointReference.getCallbackEndpoint().isUnresolved() == true ){
problem = selectCallbackEndpoint(endpointReference,
endpointReference.getReference().getCallbackService().getEndpoints());