public interface ChannelProvider
| Modifier and Type | Method and Description |
|---|---|
MuleAmqpChannel |
getChannel(AmqpTransactionalConnection connection,
AmqpChannelManager channelManager,
org.mule.runtime.extension.api.tx.OperationTransactionalAction transactionalAction,
QualityOfService qualityOfService,
boolean singleMessageChannel)
Gets a channel based on the provider's strategy.
|
MuleAmqpChannel getChannel(AmqpTransactionalConnection connection, AmqpChannelManager channelManager, org.mule.runtime.extension.api.tx.OperationTransactionalAction transactionalAction, QualityOfService qualityOfService, boolean singleMessageChannel) throws IOException
connection - The AMQP connection.channelManager - The channel manager responsible for managing channel lifecycles.transactionalAction - The transactional action associated with the operation.qualityOfService - Quality of Service (QoS) settings for the channel.singleMessageChannel - Whether the channel is intended for single-message operations.MuleAmqpChannel ready for use.IOException - If channel creation or acquisition fails.Copyright © 2025 MuleSoft, Inc.. All rights reserved.