Change remote jms sca binding to only be used for remotable services
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@693381 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
cdc40905ce
commit
7ea46da435
1 changed files with 5 additions and 1 deletions
|
@ -96,7 +96,11 @@ public class RuntimeSCAReferenceBindingProvider implements ReferenceBindingProvi
|
|||
// what are the implications of this here?
|
||||
|
||||
if (RemoteBindingHelper.isTargetRemote()) {
|
||||
if (reference.getInterfaceContract() != null && reference.getInterfaceContract().getInterface().isRemotable()) {
|
||||
targetIsRemote = true;
|
||||
} else {
|
||||
targetIsRemote = false;
|
||||
}
|
||||
} else if (optimizableBinding.getTargetComponentService() != null) {
|
||||
if (optimizableBinding.getTargetComponentService().isUnresolved() == true) {
|
||||
targetIsRemote = true;
|
||||
|
|
Loading…
Add table
Reference in a new issue