StompSession.setAutoReceipt

When enabled, a receipt header is automatically added to future {@code send} and {@code subscribe} operations on this session, which causes the server to return a RECEIPT. An application can then use the {@link StompSession.Receiptable Receiptable} returned from the operation to track the receipt. <p>A receipt header can also be added manually through the overloaded methods that accept {@code StompHeaders}.

interface StompSession
void
setAutoReceipt
(
bool enabled
)

Meta