public class ExchangeImpl extends ConcurrentHashMap<String,Object> implements Exchange
ConcurrentHashMap.KeySetView<K,V>
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
Constructor and Description |
---|
ExchangeImpl() |
ExchangeImpl(ExchangeImpl ex) |
Modifier and Type | Method and Description |
---|---|
void |
clear() |
<T> T |
get(Class<T> key)
Convenience method for storing/retrieving typed objects from the map.
|
Binding |
getBinding() |
BindingOperationInfo |
getBindingOperationInfo() |
Bus |
getBus() |
Conduit |
getConduit(Message message) |
Destination |
getDestination() |
Endpoint |
getEndpoint() |
Message |
getInFaultMessage() |
Message |
getInMessage()
Returns the inbound message for the exchange.
|
Message |
getOutFaultMessage() |
Message |
getOutMessage()
Returns the outbound message for the exchange.
|
Service |
getService() |
Session |
getSession() |
boolean |
isOneWay()
Determines if the exchange is one-way.
|
boolean |
isSynchronous()
Determines if the exchange requires the frontend to wait for a
response.
|
<T> void |
put(Class<T> key,
T value)
Convenience method for storing/retrieving typed objects from the map.
|
Object |
put(String key,
Object value) |
void |
putAll(Map<? extends String,?> m) |
void |
setConduit(Conduit c) |
void |
setDestination(Destination d) |
void |
setInFaultMessage(Message m) |
void |
setInMessage(Message m) |
void |
setOneWay(boolean b) |
void |
setOutFaultMessage(Message m) |
void |
setOutMessage(Message m) |
void |
setSession(Session session) |
void |
setSynchronous(boolean b) |
compute, computeIfAbsent, computeIfPresent, contains, containsKey, containsValue, elements, entrySet, equals, forEach, forEach, forEach, forEachEntry, forEachEntry, forEachKey, forEachKey, forEachValue, forEachValue, get, getOrDefault, hashCode, isEmpty, keys, keySet, keySet, mappingCount, merge, newKeySet, newKeySet, putIfAbsent, reduce, reduceEntries, reduceEntries, reduceEntriesToDouble, reduceEntriesToInt, reduceEntriesToLong, reduceKeys, reduceKeys, reduceKeysToDouble, reduceKeysToInt, reduceKeysToLong, reduceToDouble, reduceToInt, reduceToLong, reduceValues, reduceValues, reduceValuesToDouble, reduceValuesToInt, reduceValuesToLong, remove, remove, replace, replace, replaceAll, search, searchEntries, searchKeys, searchValues, size, toString, values
clone
finalize, getClass, notify, notifyAll, wait, wait, wait
compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, entrySet, equals, forEach, get, getOrDefault, hashCode, isEmpty, keySet, merge, putIfAbsent, remove, remove, replace, replace, replaceAll, size, values
public ExchangeImpl()
public ExchangeImpl(ExchangeImpl ex)
public <T> T get(Class<T> key)
StringMap
public <T> void put(Class<T> key, T value)
StringMap
public Destination getDestination()
getDestination
in interface Exchange
public Message getInMessage()
Exchange
getInMessage
in interface Exchange
public Conduit getConduit(Message message)
getConduit
in interface Exchange
message
- the associated messagepublic Message getOutMessage()
Exchange
getOutMessage
in interface Exchange
public Message getInFaultMessage()
getInFaultMessage
in interface Exchange
public void setInFaultMessage(Message m)
setInFaultMessage
in interface Exchange
public Message getOutFaultMessage()
getOutFaultMessage
in interface Exchange
public void setOutFaultMessage(Message m)
setOutFaultMessage
in interface Exchange
public void setDestination(Destination d)
setDestination
in interface Exchange
d
- the associated incoming Destinationpublic void setInMessage(Message m)
setInMessage
in interface Exchange
public void setConduit(Conduit c)
setConduit
in interface Exchange
c
- the associated outgoing Conduitpublic void setOutMessage(Message m)
setOutMessage
in interface Exchange
public boolean isOneWay()
Exchange
public void setOneWay(boolean b)
public boolean isSynchronous()
Exchange
isSynchronous
in interface Exchange
public void setSynchronous(boolean b)
setSynchronous
in interface Exchange
public Session getSession()
getSession
in interface Exchange
public void setSession(Session session)
public void clear()
Exchange
public Endpoint getEndpoint()
getEndpoint
in interface Exchange
public Service getService()
getService
in interface Exchange
public Binding getBinding()
getBinding
in interface Exchange
public BindingOperationInfo getBindingOperationInfo()
getBindingOperationInfo
in interface Exchange
Copyright © 2016 JBoss by Red Hat. All rights reserved.