Open topic with navigation

TIBCO Rendezvous® 8.8.0

# TibrvCmTransport.reviewLedger()

Method

## Declaration

    void reviewLedger(
        TibrvCmReviewCallback    callback,
        java.lang.String         subject,
        java.lang.Object         closure)
      throws TibrvException

## Purpose

Query the ledger for stored items related to a subject name.

## Remarks

The callback method receives one message for each matching subject of outbound messages stored in the ledger. For example, when `FOO.*` is the `subject`, TibrvCmTransport.reviewLedger() calls its callback method separately for each matching subject—once for `FOO.BAR`, once for `FOO.BAZ`, and once for `FOO.BOX`.

However, if the callback method returns non-`null`, then TibrvCmTransport.reviewLedger() returns immediately.

If the ledger does not contain any matching items, TibrvCmTransport.reviewLedger() returns normally without calling the callback method.

For information about the content and format of the callback messages, see TibrvCmReviewCallback.onLedgerMsg().

Parameter | Description
`callback` | This object receives the review messages.
`subject` | Query for items related to this subject name. If this subject contains wildcard characters (`*` or `>`), then review all items with matching subject names. The callback method receives a separate message for each matching subject in the ledger.
`closure` | Pass this closure data to the review callback method.

## See Also

TibrvCmReviewCallback.onLedgerMsg()

Did you find this helpful?

Yes No
Great!
Thanks for taking the time to give us some feedback.
Sorry about that

Why wasn't this helpful? (check all that apply)

Could not find what I was looking for
Instructions confusing or unclear
Instructions did not work

Want to tell us more?

Please select at least one option or provide details about the issue!!

Error occurred while submitting feedback.

Error2 occurred while submitting feedback.

TIBCO Rendezvous®

Copyright © 1997-2025. Cloud Software Group, Inc. All Rights Reserved.