public class SalesforcePubSubMessageListenerHandler extends MessageListenerHandler<com.mulesoft.connector.salesforce.pubsub.api.EventDTO,Void>
| Modifier and Type | Field and Description |
|---|---|
protected String |
configRef |
amfElementClient, api, asyncBindings, asyncConfig, channelName, componentLocation, defaultEncoding, disableValidation, registry, RESULT_HANDLER_CTX_KEY, serverName| Constructor and Description |
|---|
SalesforcePubSubMessageListenerHandler(amf.apicontract.client.platform.model.domain.api.AsyncApi api,
SourceCallbackRegistry registry,
AsyncConfig config,
amf.apicontract.client.platform.AMFElementClient amfElementClient,
String serverName,
boolean disableValidation,
String channelName,
String configRef,
List<Binding> asyncBindings,
String defaultEncoding) |
| Modifier and Type | Method and Description |
|---|---|
protected AsyncMessageAttributes |
buildResultAttributes(org.mule.runtime.extension.api.runtime.operation.Result<com.mulesoft.connector.salesforce.pubsub.api.EventDTO,Void> result,
String specChannel)
Build the message attributes out of the underlying connector result attributes
|
protected InputStream |
buildResultOutput(org.mule.runtime.extension.api.runtime.operation.Result<com.mulesoft.connector.salesforce.pubsub.api.EventDTO,Void> result)
Build the message payload out of the underlying connector result content
|
void |
configureSourceListener(org.mule.runtime.extension.api.client.source.SourceParameterizer sourceParameterizer)
Configure the underlying source listener
|
protected String |
getRuntimeChannelName(org.mule.runtime.extension.api.runtime.operation.Result<com.mulesoft.connector.salesforce.pubsub.api.EventDTO,Void> result)
Obtain the channel name from the message received
|
String |
getSourceListenerName()
Obtain the underlying source listener name
|
consumeSourceListenerResult, getChannelName, getServerName, setComponentLocationprotected String configRef
public SalesforcePubSubMessageListenerHandler(amf.apicontract.client.platform.model.domain.api.AsyncApi api,
SourceCallbackRegistry registry,
AsyncConfig config,
amf.apicontract.client.platform.AMFElementClient amfElementClient,
String serverName,
boolean disableValidation,
String channelName,
String configRef,
List<Binding> asyncBindings,
String defaultEncoding)
public String getSourceListenerName()
MessageListenerHandlergetSourceListenerName in class MessageListenerHandler<com.mulesoft.connector.salesforce.pubsub.api.EventDTO,Void>public void configureSourceListener(org.mule.runtime.extension.api.client.source.SourceParameterizer sourceParameterizer)
MessageListenerHandlerconfigureSourceListener in class MessageListenerHandler<com.mulesoft.connector.salesforce.pubsub.api.EventDTO,Void>protected AsyncMessageAttributes buildResultAttributes(org.mule.runtime.extension.api.runtime.operation.Result<com.mulesoft.connector.salesforce.pubsub.api.EventDTO,Void> result, String specChannel)
MessageListenerHandlerbuildResultAttributes in class MessageListenerHandler<com.mulesoft.connector.salesforce.pubsub.api.EventDTO,Void>protected InputStream buildResultOutput(org.mule.runtime.extension.api.runtime.operation.Result<com.mulesoft.connector.salesforce.pubsub.api.EventDTO,Void> result)
MessageListenerHandlerbuildResultOutput in class MessageListenerHandler<com.mulesoft.connector.salesforce.pubsub.api.EventDTO,Void>protected String getRuntimeChannelName(org.mule.runtime.extension.api.runtime.operation.Result<com.mulesoft.connector.salesforce.pubsub.api.EventDTO,Void> result)
MessageListenerHandlergetRuntimeChannelName in class MessageListenerHandler<com.mulesoft.connector.salesforce.pubsub.api.EventDTO,Void>Copyright © 2025 MuleSoft, Inc.. All rights reserved.