public interface Messenger
MessengerService
. The following shows how a
messenger is obtained and then used to execute an in-out message exchange with a web
service.Modifier and Type | Method and Description |
---|---|
void |
send(Exchange exchange)
Sends the given exchange.
|
void |
send(Exchange exchange,
boolean audit)
Sends the given exchange.
|
void send(Exchange exchange) throws GException
exchange
- Addressed Exchange
GException
- Thrown if unable to deliver the exchange, possibly due to
not properly addressing the exchange or the target not being
registered with the MessengerService
.void send(Exchange exchange, boolean audit) throws GException
exchange
- Addressed Exchange
audit
- If true and if being called within the context of an exchange
already being audited then the input and output messages will also
be audited. If false no auditing will occur.GException
- Thrown if unable to deliver the exchange, possibly due to
not properly addressing the exchange or the target not being
registered with the MessengerService
.?? 2022 Perforce Software, All rights reserved
This software is the confidential and proprietary information of Perforce, Inc. and is subject to copyright protection under laws of the United States of America and other countries. The use of this software should be in accordance with the license agreement terms you entered into with Perforce, Inc.