public interface TransportServiceDescriptor extends ServiceDescriptor, MuleContextAware
TransportServiceDescriptor
describes the necessary information for
creating a connector from a service descriptor. A service descriptor should be
located at META-INF/services/org/mule/providers/Modifier and Type | Field and Description |
---|---|
static String |
OSGI_HEADER_TRANSPORT |
getService
setMuleContext
static final String OSGI_HEADER_TRANSPORT
MuleMessageFactory createMuleMessageFactory() throws TransportServiceException
TransportServiceException
SessionHandler createSessionHandler() throws TransportServiceException
TransportServiceException
MessageReceiver createMessageReceiver(Connector connector, FlowConstruct flowConstruct, InboundEndpoint endpoint) throws MuleException
MuleException
MessageReceiver createMessageReceiver(Connector connector, FlowConstruct flowConstruct, InboundEndpoint endpoint, Object... args) throws MuleException
MuleException
MessageDispatcherFactory createDispatcherFactory() throws TransportServiceException
TransportServiceException
MessageRequesterFactory createRequesterFactory() throws TransportServiceException
TransportServiceException
TransactionFactory createTransactionFactory() throws TransportServiceException
TransportServiceException
Connector createConnector() throws TransportServiceException
TransportServiceException
List<Transformer> createInboundTransformers(ImmutableEndpoint endpoint) throws TransportFactoryException
TransportFactoryException
List<Transformer> createOutboundTransformers(ImmutableEndpoint endpoint) throws TransportFactoryException
TransportFactoryException
List<Transformer> createResponseTransformers(ImmutableEndpoint endpoint) throws TransportFactoryException
TransportFactoryException
EndpointURIBuilder createEndpointURIBuilder() throws TransportFactoryException
TransportFactoryException
@Deprecated EndpointBuilder createEndpointBuilder(String uri) throws TransportFactoryException
TransportFactoryException
EndpointBuilder createEndpointBuilder(String uri, MuleContext muleContext) throws TransportFactoryException
EndpointBuilder
uri
- address for the created endpointsmuleContext
- context of the application owning endpoint builderTransportFactoryException
@Deprecated EndpointBuilder createEndpointBuilder(EndpointURIEndpointBuilder builder) throws TransportFactoryException
TransportFactoryException
EndpointBuilder createEndpointBuilder(EndpointURIEndpointBuilder builder, MuleContext muleContext) throws TransportFactoryException
EndpointBuilder
wrapping an existing builderbuilder
- instance to be wrappedmuleContext
- context of the application owning endpoint builderTransportFactoryException
void setExceptionMappings(Properties props)
Properties getExceptionMappings()
List<MessageExchangePattern> getInboundExchangePatterns() throws TransportServiceException
TransportServiceException
List<MessageExchangePattern> getOutboundExchangePatterns() throws TransportServiceException
TransportServiceException
MessageExchangePattern getDefaultExchangePattern() throws TransportServiceException
TransportServiceException
Copyright © 2003–2016 MuleSoft, Inc.. All rights reserved.