public class SwitchYardServiceInvoker extends Object
| Constructor and Description |
|---|
SwitchYardServiceInvoker(org.switchyard.ServiceDomain serviceDomain)
Constructs a new SwitchYardServiceInvoker with the specified service domain.
|
SwitchYardServiceInvoker(org.switchyard.ServiceDomain serviceDomain,
String targetNamespace)
Constructs a new SwitchYardServiceInvoker with the specified service domain and target namespace.
|
| Modifier and Type | Method and Description |
|---|---|
org.switchyard.ServiceDomain |
getServiceDomain()
Gets the service domain.
|
String |
getTargetNamespace()
Gets the target namespace.
|
SwitchYardServiceResponse |
invoke(SwitchYardServiceRequest request)
Invokes the request and returns the response.
|
public SwitchYardServiceInvoker(org.switchyard.ServiceDomain serviceDomain)
serviceDomain - the service domainpublic SwitchYardServiceInvoker(org.switchyard.ServiceDomain serviceDomain,
String targetNamespace)
serviceDomain - the service domaintargetNamespace - the target namespacepublic org.switchyard.ServiceDomain getServiceDomain()
public String getTargetNamespace()
public SwitchYardServiceResponse invoke(SwitchYardServiceRequest request)
request - the requestCopyright © 2013–2017 JBoss by Red Hat. All rights reserved.