Open topic with navigation

TIBCO Rendezvous® 8.7.0

# TibrvCmTransport.disallowListener()

Method

## Declaration

    void disallowListener(
        java.lang.String    cmName)
      throws TibrvException

## Purpose

Cancel certified delivery to all listeners at a specific correspondent. Deny subsequent certified delivery registration requests from those listeners.

## Remarks

Disallowed listeners still receive subsequent messages from this sender, but delivery is not certified. In other words:

| • | The first labeled message causes the listener to initiate registration. Registration fails, and the listener discards that labeled message.

| • | The listener receives a `REGISTRATION.NOT_CERTIFIED` advisory, informing it that the sender has canceled certified delivery of all subjects.

| • | If the sender’s ledger contains messages sent to the disallowed listener (for which this listener has not confirmed delivery), then Rendezvous software removes those ledger items, and does not attempt to redeliver those messages.

| • | Rendezvous software presents subsequent messages (from the canceling sender) to the listener without a sequence number, to indicate that delivery is not certified.

Senders can promptly revoke the acceptance of certified delivery by calling TibrvCmTransport.disallowListener() within the callback method that processes the `REGISTRATION.REQUEST` advisory.

This method disallows a correspondent by name. If the correspondent terminates, and another process instance (with the same reusable name) takes its place, the new process is still disallowed by this sender.

To supersede the effect of TibrvCmTransport.disallowListener(), call TibrvCmTransport.allowListener().

Parameter | Description
`cmName` | Cancel certified delivery to listeners of the transport with this name.

## See Also

Name

TibrvCmTransport.allowListener()

Disallowing Certified Delivery in TIBCO Rendezvous Concepts

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-2023. Cloud Software Group, Inc. All Rights Reserved.