Solclient
ITransactedSessionSend Method |
Sends a guaranteed message on the transacted session.
In order to send messages on a Transacted Session, a default publisher flow has to be created by
enabling the Transacted Session property HasPublisher during
the transacted session creation.
Send(IMessage) returns SOLCLIENT_OK when the
message has been successfully copied to the transmit buffer or underlying transport.
Successful commits acknowledge published messages delivered to the Solace messaging appliance.
Namespace: SolaceSystems.Solclient.Messaging
Assembly: SolaceSystems.Solclient.Messaging (in SolaceSystems.Solclient.Messaging.dll) Version: 7.2.1.27 (7.2.1.27)
Syntax
ReturnCode Send( IMessage message )
Function Send ( message As IMessage ) As ReturnCode
ReturnCode Send( IMessage^ message )
Parameters
- message
- Type: SolaceSystems.Solclient.MessagingIMessage
An IMessage instance.
Return Value
Type: ReturnCode- SOLCLIENT_OK when message has been successfully copied to the transmit buffer or underlying transport
Exceptions
Exception | Condition |
---|---|
OperationErrorException | Thrown when the operation fails. Possible sub-codes: |
ObjectDisposedException | Thrown when the session is already disposed (terminal state). |
FatalErrorException | Thrown when an unrecoverable error occurs. |
See Also