public interface TransactedExchange
Modifier and Type | Method and Description |
---|---|
TransactedExchange |
addChildExchange(java.lang.String exchangeId)
Adds a message exchange to this exchange as a child.
|
void |
addChildExchange(TransactedExchange transactedExchange)
Adds a message exchange to this exchange as a child.
|
java.util.List<TransactedExchange> |
getChildExchanges()
Returns the list of child exchanges.
|
java.lang.String |
getExchangeId()
Returns the message exchange ID.
|
TransactedExchange |
getParentExchange()
Returns the parent, or originating, exchange (if any).
|
java.util.Map |
getProperties()
Provides direct access to the Map of properties for the exchange.
|
java.lang.Object |
getProperty(java.lang.String name)
Returns the property with the given name.
|
java.util.Set |
getPropertyNames()
Returns the names of the properties associated with the exchange.
|
boolean |
isTransactionTrackingEnabled()
Returns whether or not transaction tracking is enabled.
|
void |
setIsTransactionTrackingEnabled(boolean isTransactionTrackingEnabled)
Changes whether or not transaction tracking is enabled.
|
void |
setProperty(java.lang.String name,
java.lang.Object property)
Adds or replaces a property.
|
java.lang.String getExchangeId()
TransactedExchange getParentExchange()
TransactedExchange addChildExchange(java.lang.String exchangeId)
exchangeId
- ID of the message exchange.void addChildExchange(TransactedExchange transactedExchange)
transactedExchange
- TransactedExchange representing the child
exchange.java.util.List<TransactedExchange> getChildExchanges()
boolean isTransactionTrackingEnabled()
void setIsTransactionTrackingEnabled(boolean isTransactionTrackingEnabled)
isTransactionTrackingEnabled
- true to enable, false to not.java.lang.Object getProperty(java.lang.String name)
name
- Name of the property.void setProperty(java.lang.String name, java.lang.Object property)
name
- Name of the property.property
- Value of the property.java.util.Set getPropertyNames()
java.util.Map getProperties()
?? 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.