public interface ExchangeFactory
Provides the ability to create message exchanges that can be sent to web services
using a Messenger
. An exchange can take an input message only or can
expect an output message to be returned. An ExchangeFactory is obtained from a
MessengerService
. The following shows how to obtain an ExchangeFactory.
exchangeFactory = msgrService.createExchangeFactory();
The following creates an in-only message exchange:
exchange = exchangeFactory.createInOnly();
The following creates an in-out message exchange.
exchange = exchangeFactory.createInOut();
Modifier and Type | Method and Description |
---|---|
Exchange |
createInOnly()
Creates an in-only message exchange.
|
Exchange |
createInOut()
Creates an in-out message exchange.
|
?? 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.