public class ChannelBasedRegistry extends Object
| Constructor and Description |
|---|
ChannelBasedRegistry() |
| Modifier and Type | Method and Description |
|---|---|
Map<String,amf.core.client.platform.validation.payload.AMFShapePayloadValidator> |
getPublishPayloadValidators(amf.apicontract.client.platform.model.domain.api.AsyncApi api,
String runtimeChannel,
amf.apicontract.client.platform.AMFElementClient elementClient)
Publish operations writes to channels where the API listens for actions.
|
Map<String,amf.core.client.platform.validation.payload.AMFShapePayloadValidator> |
getSourcePayloadValidators(amf.apicontract.client.platform.model.domain.api.AsyncApi api,
String specChannel,
amf.apicontract.client.platform.AMFElementClient elementClient)
Source message listeners listen to channels where the API publishes events.
|
String |
getSpecChannelByRuntimeChannel(String runtimeChannelName) |
void |
registerChannelBinding(String overriddenChannelName,
String channelName) |
void |
registerChannelPatterns(AsyncConfig config)
Channel names available from API contain the parameter enclosed in parentheses.
|
public void registerChannelPatterns(AsyncConfig config) throws org.mule.runtime.api.lifecycle.InitialisationException
org.mule.runtime.api.lifecycle.InitialisationExceptionpublic void registerChannelBinding(String overriddenChannelName, String channelName)
public String getSpecChannelByRuntimeChannel(String runtimeChannelName)
public Map<String,amf.core.client.platform.validation.payload.AMFShapePayloadValidator> getPublishPayloadValidators(amf.apicontract.client.platform.model.domain.api.AsyncApi api, String runtimeChannel, amf.apicontract.client.platform.AMFElementClient elementClient)
api - AsyncApiruntimeChannel - Runtime channelelementClient - AMF element clientpublic Map<String,amf.core.client.platform.validation.payload.AMFShapePayloadValidator> getSourcePayloadValidators(amf.apicontract.client.platform.model.domain.api.AsyncApi api, String specChannel, amf.apicontract.client.platform.AMFElementClient elementClient)
api - AsyncApielementClient - AMF element clientCopyright © 2024 MuleSoft, Inc.. All rights reserved.