Guaranteeing Message Delivery in Java

An example that demonstrates how to use guarenteed delivery in Java.

Name

Example_13_WorkingWithGuaranteedDelivery

Description

This example illustrates how to publish and subscribe with guaranteed delivery.

Notable Classes and Methods

engineClient.createPublisherWithGuaranteedDelivery

publisher.getLastBatchId()

BatchOfMessages

mf.newBatchOfMessages

subscription1.getNextBatchOfMessages

receivedBatch1.getTuples()

engineClient.resumeSubscriptionWithGuaranteedDelivery

receivedBatch1.getBatchId()

Related Information

For more information about guaranteed delivery, see Implementing Guaranteed Processing.