Class SoapOperationOutboundConnectorBase<T>
java.lang.Object
one.x1f.sip.foundation.core.declarative.connector.ConnectorBase
one.x1f.sip.foundation.core.declarative.connector.GenericOutboundConnectorBase
one.x1f.sip.foundation.soap.declarative.connector.SoapOperationOutboundConnectorBase<T>
- Type Parameters:
T
- Service interface type
- All Implemented Interfaces:
ConnectorDefinition
,OutboundConnectorDefinition
,DeclarativeElement
,Orchestratable<ConnectorOrchestrationInfo>
,IntegrationScenarioConsumerDefinition
,org.springframework.beans.factory.Aware
,org.springframework.context.ApplicationContextAware
Base class for SOAP outbound connectors.
This class allows to bind one operation of a SOAP service interface to the integration scenario of the connector.
The base implementation will bind JAXB marshallers automatically.
In standard cases, adapter developers need only to implement getServiceAddress()
and
getServiceOperationName()
optionally getServiceInterfaceClass()
-
Nested Class Summary
Nested classes/interfaces inherited from interface one.x1f.sip.foundation.core.declarative.connector.ConnectorDefinition
ConnectorDefinition.None
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected org.apache.camel.builder.EndpointProducerBuilder
Defines the outgoing endpoint for this connector.protected Optional<MarshallerDefinition>
Handle meant to be overloaded if the definition of a marshaller for the request type is needed.protected Optional<UnmarshallerDefinition>
Handle meant to be overloaded if the definition of an unmarshaller for the response type is needed.protected org.apache.camel.converter.jaxb.JaxbDataFormat
protected String
Returns the JAXB context path for the request model.Returns the JAXB context path for the response model.protected String
Returns the service interface classabstract String
Returns the name of the operation that should be bound to the connector/integration scenarioprotected org.apache.camel.component.cxf.common.DataFormat
Methods inherited from class one.x1f.sip.foundation.core.declarative.connector.GenericOutboundConnectorBase
defineOutboundEndpoints, getConnectorGroupId, getConnectorType, getId, getPathToDocumentationResource, getRequestModelClass, getResponseModelClass, getScenarioId
Methods inherited from class one.x1f.sip.foundation.core.declarative.connector.ConnectorBase
defineTransformationOrchestrator, getConfigurationIds, getOnExceptionHandler, getOrchestrator, getScenario, setApplicationContext
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface one.x1f.sip.foundation.core.declarative.connector.ConnectorDefinition
getConfigurationIds, getOnExceptionHandler
Methods inherited from interface one.x1f.sip.foundation.core.declarative.orchestration.Orchestratable
getOrchestrator
-
Constructor Details
-
SoapOperationOutboundConnectorBase
protected SoapOperationOutboundConnectorBase()
-
-
Method Details
-
defineOutgoingEndpoint
protected org.apache.camel.builder.EndpointProducerBuilder defineOutgoingEndpoint()Description copied from class:GenericOutboundConnectorBase
Defines the outgoing endpoint for this connector.- Specified by:
defineOutgoingEndpoint
in classGenericOutboundConnectorBase
- Returns:
- the outgoing endpoint
- See Also:
-
StaticEndpointBuilders
FileEndpointBuilderFactory.FileEndpointBuilder
-
defineRequestMarshalling
Description copied from class:GenericOutboundConnectorBase
Handle meant to be overloaded if the definition of a marshaller for the request type is needed.- Overrides:
defineRequestMarshalling
in classGenericOutboundConnectorBase
- Returns:
- Marshaller for the request type
-
defineResponseUnmarshalling
Description copied from class:GenericOutboundConnectorBase
Handle meant to be overloaded if the definition of an unmarshaller for the response type is needed.- Overrides:
defineResponseUnmarshalling
in classGenericOutboundConnectorBase
- Returns:
- Unmarshaller for the response type
-
getJaxbContextPathForRequestModel
Returns the JAXB context path for the request model.- Returns:
- Context path - defaults to the package name of the request model class
-
getJaxbContextPathForResponseModel
Returns the JAXB context path for the response model.- Returns:
- Context path - defaults to the package name of the response model class
-
getServiceInterfaceClass
Returns the service interface classThis is typically the service interface generated from a WSDL resource
- Returns:
- Service interface class
-
getServiceOperationName
Returns the name of the operation that should be bound to the connector/integration scenario- Returns:
- Service operation name
-
getServiceAddress
-
getSOAPMessageFormat
protected org.apache.camel.component.cxf.common.DataFormat getSOAPMessageFormat() -
getDataFormat
protected org.apache.camel.converter.jaxb.JaxbDataFormat getDataFormat() throws jakarta.xml.bind.JAXBException- Throws:
jakarta.xml.bind.JAXBException
-