Open topic with navigation

TIBCO Rendezvous® 8.7.0

# TibrvCmMsg.setTimeLimit()

Method

## Declaration

    static final void setTimeLimit(
        TibrvMsg    msg,
        double      timeLimit)
      throws TibrvException

## Purpose

Set the message time limit of a certified message.

## Remarks

Every labeled message has a time limit, after which the sender no longer certifies delivery.

Sending programs can explicitly set the message time limit using this method. If a time limit is not already set for the outbound message, TibrvCmTransport.send() sets it to the transport’s default time limit (see TibrvCmTransport.setDefaultTimeLimit()); if that default is not set for the transport, the default time limit is zero (no time limit).

Time limits represent the minimum time that certified delivery is in effect.

It is meaningless for receiving programs to call this method.

Parameter | Description
`msg` | Set the time limit of this message.
`timeLimit` | Use this time limit (in whole seconds) for the message. The time limit must be non-negative.

## See Also

TibrvCmTransport.getDefaultTimeLimit()

TibrvCmTransport.setDefaultTimeLimit()

TibrvCmMsg.getTimeLimit()

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.