TibrvTransport.send()

Method

Declaration

void send(TibrvMsg message)
  throws TibrvException
void send(TibrvMsg[] messages)
  throws TibrvException

Purpose

Send a message.

Remarks

The message must have a valid destination subject; see TibrvMsg.setSendSubject().

Parameter

Description

message

Send this message.

messages

Send this array of messages with one call. In most applications this call is more efficient than a series of send calls on individual messages.

Restrictions

Sending an array of messages is available only in the JNI preferred implementation. It is not available in the JNI backward compatibility implementation, nor in the pure Java implementation.

See Also

TibrvMsg.setSendSubject()