Interface MessageDispatcherProvider<T extends MessageDispatcher>
- All Superinterfaces:
org.mule.runtime.api.connection.ConnectionProvider<T>
- All Known Implementing Classes:
ContextAwareMessageDispatcherProvider
public interface MessageDispatcherProvider<T extends MessageDispatcher>
extends org.mule.runtime.api.connection.ConnectionProvider<T>
ConnectionProvider specialization that handles MessageDispatcher connections that are bundled to a
SoapServiceProvider, which are created from when the SoapServiceProvider is created.- Since:
- 1.0
-
Method Summary
Modifier and TypeMethodDescriptiondefault org.mule.runtime.api.connection.ConnectionValidationResultDeprecated.default org.mule.runtime.api.connection.ConnectionValidationResultvalidate(T connection, SoapServiceProvider provider) Validates the givenMessageDispatcherProvider.Methods inherited from interface org.mule.runtime.api.connection.ConnectionProvider
connect, disconnect
-
Method Details
-
validate
default org.mule.runtime.api.connection.ConnectionValidationResult validate(T connection, SoapServiceProvider provider) Validates the givenMessageDispatcherProvider. In invalid connection case, theConnectionValidationResultshould also return a valid messageConnectionValidationResult.getMessage(), exceptionConnectionValidationResult.getException()and codeConnectionValidationResult.getErrorType()- Parameters:
connection- a nonnullMessageDispatcherProvider.- Returns:
- a
ConnectionValidationResultindicating if the connection is valid or not. - Since:
- 1.1
-
validate
@Deprecated default org.mule.runtime.api.connection.ConnectionValidationResult validate(T connection) Deprecated.- Specified by:
validatein interfaceorg.mule.runtime.api.connection.ConnectionProvider<T extends MessageDispatcher>
-
validate(MessageDispatcher, SoapServiceProvider)