Interface PulsarMessageReceiptFactory
- All Known Implementing Classes:
DefaultPulsarMessageReceiptFactory
public interface PulsarMessageReceiptFactory
Factory to create a new
PulsarMessageReceipt to store on the Exchange.
Implement this interface if an alternate implementation of PulsarMessageReceipt is required as newer Pulsar
clients may have acknowledgement functionality not yet supported by DefaultPulsarMessageReceipt.
-
Method Summary
Modifier and TypeMethodDescriptionnewInstance(org.apache.camel.Exchange exchange, org.apache.pulsar.client.api.Message message, org.apache.pulsar.client.api.Consumer consumer) Creates a new instance ofPulsarMessageReceipt.
-
Method Details
-
newInstance
PulsarMessageReceipt newInstance(org.apache.camel.Exchange exchange, org.apache.pulsar.client.api.Message message, org.apache.pulsar.client.api.Consumer consumer) Creates a new instance ofPulsarMessageReceipt.
-