Open topic with navigation

TIBCO Rendezvous® 8.7.0

# TibrvRvdTransport.setBatchMode()

Method

## Declaration

    void setBatchMode(
        int mode)
      throws TibrvException
    static final int DEFAULT_BATCH = 0;
    static final int TIMER_BATCH = 1;

## Purpose

Set the batch mode parameter of a transport.

## Remarks

This type of batching is available only with the standard (daemon-based) Rendezvous library. It is not available with the IPM library.

The batch mode determines when the transport transmits outbound message data to `rvd`:

| • | As soon as possible (the initial default for all transports)

| • | Either when its buffer is full, or when a timer interval expires—either event triggers transmission to the daemon

Parameter | Description
`mode` | Use this value as the new batch mode.

Constant | Description
`DEFAULT_BATCH` | Default batch behavior. The transport transmits outbound messages to `rvd` as soon as possible. This value is the initial default for all transports.
`TIMER_BATCH` | Timer batch behavior. The transport accumulates outbound messages, and transmits them to `rvd` in batches—either when its buffer is full, or when a timer interval expires. (Programs cannot adjust the timer interval.)

## See Also

Batch Modes for Transports on page 93 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.