public class ExchangeImpl extends StringMapImpl implements Exchange
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
Constructor and Description |
---|
ExchangeImpl() |
ExchangeImpl(ExchangeImpl ex) |
Modifier and Type | Method and Description |
---|---|
void |
clear() |
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 |
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) |
get
clone, containsKey, containsValue, entrySet, get, isEmpty, keySet, putAll, remove, size, values
equals, hashCode, toString
public ExchangeImpl()
public ExchangeImpl(ExchangeImpl ex)
public <T> void put(Class<T> key, T value)
StringMap
put
in interface StringMap
put
in class StringMapImpl
key
- the keyvalue
- the valuepublic 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 © 2018 JBoss by Red Hat. All rights reserved.