Modifier and Type | Method and Description |
---|---|
Exchange |
Exchange.consumer(ServiceReference consumer,
ServiceOperation operation)
Set service consumer info for this exchange.
|
Exchange |
ServiceReference.createExchange()
Creates a new Exchange to invoke this service.
|
Exchange |
ServiceReference.createExchange(ExchangeHandler handler)
Creates a new Exchange to invoke this service, with replies handled by
the specified ExchangeHandler.
|
Exchange |
ServiceReference.createExchange(String operation)
Creates a new Exchange to invoke this service with the specified exchange
pattern.
|
Exchange |
ServiceReference.createExchange(String operation,
ExchangeHandler handler)
Creates a new Exchange to invoke this service with the specified exchange
pattern.
|
Exchange |
Exchange.provider(Service provider,
ServiceOperation operation)
Set service provider info for this exchange.
|
Modifier and Type | Method and Description |
---|---|
void |
ExchangeInterceptor.after(String target,
Exchange exchange)
Invoked immediately after the specified target scope in a message exchange.
|
void |
ExchangeInterceptor.before(String target,
Exchange exchange)
Invoked immediately before the specified target scope in a message exchange.
|
void |
ExchangeHandler.handleFault(Exchange exchange)
Called when a fault is generated while processing an exchange.
|
void |
BaseHandler.handleFault(Exchange exchange) |
void |
ExchangeHandler.handleMessage(Exchange exchange)
Called when a message is sent through an exchange.
|
void |
BaseHandler.handleMessage(Exchange exchange) |
void |
ErrorListener.notify(Exchange exchange,
Throwable throwable)
Process exception thrown during handling of given exchange.
|
Modifier and Type | Method and Description |
---|---|
Message |
CamelMessageComposer.compose(CamelBindingData source,
Exchange exchange)
Takes the data from the passed in source object and composes a SwithYardMessage based on the specified Exchange.
|
CamelBindingData |
CamelMessageComposer.decompose(Exchange exchange,
CamelBindingData target)
Takes the data from the SwitchYardMessage in the specified Exchange and decomposes it into the target object.
|
Modifier and Type | Method and Description |
---|---|
Message |
MessageComposer.compose(D source,
Exchange exchange)
Takes the data from the passed in source object and composes a SwithYardMessage based on the specified Exchange.
|
D |
MessageComposer.decompose(Exchange exchange,
D target)
Takes the data from the SwitchYardMessage in the specified Exchange and decomposes it into the target object.
|
static QName |
BaseMessageComposer.getMessageType(Exchange exchange)
Returns the current message type based on the state of the exchange.
|
Modifier and Type | Method and Description |
---|---|
Message |
HttpMessageComposer.compose(HttpBindingData source,
Exchange exchange)
Takes the data from the passed in source object and composes a SwithYardMessage based on the specified Exchange.
|
HttpBindingData |
HttpMessageComposer.decompose(Exchange exchange,
HttpBindingData target)
Takes the data from the SwitchYardMessage in the specified Exchange and decomposes it into the target object.
|
Modifier and Type | Method and Description |
---|---|
Message |
IndexedRecordMessageComposer.compose(IndexedRecordBindingData source,
Exchange exchange)
Takes the data from the passed in source object and composes a SwithYardMessage based on the specified Exchange.
|
Message |
JMSMessageComposer.compose(JMSBindingData source,
Exchange exchange)
Takes the data from the passed in source object and composes a SwithYardMessage based on the specified Exchange.
|
Message |
MappedRecordMessageComposer.compose(MappedRecordBindingData source,
Exchange exchange)
Takes the data from the passed in source object and composes a SwithYardMessage based on the specified Exchange.
|
Message |
StreamableRecordMessageComposer.compose(StreamableRecordBindingData source,
Exchange exchange)
Takes the data from the passed in source object and composes a SwithYardMessage based on the specified Exchange.
|
IndexedRecordBindingData |
IndexedRecordMessageComposer.decompose(Exchange exchange,
IndexedRecordBindingData target)
Takes the data from the SwitchYardMessage in the specified Exchange and decomposes it into the target object.
|
JMSBindingData |
JMSMessageComposer.decompose(Exchange exchange,
JMSBindingData target)
Takes the data from the SwitchYardMessage in the specified Exchange and decomposes it into the target object.
|
MappedRecordBindingData |
MappedRecordMessageComposer.decompose(Exchange exchange,
MappedRecordBindingData target)
Takes the data from the SwitchYardMessage in the specified Exchange and decomposes it into the target object.
|
StreamableRecordBindingData |
StreamableRecordMessageComposer.decompose(Exchange exchange,
StreamableRecordBindingData target)
Takes the data from the SwitchYardMessage in the specified Exchange and decomposes it into the target object.
|
Modifier and Type | Method and Description |
---|---|
Message |
RESTEasyMessageComposer.compose(RESTEasyBindingData source,
Exchange exchange)
Takes the data from the passed in source object and composes a SwithYardMessage based on the specified Exchange.
|
RESTEasyBindingData |
RESTEasyMessageComposer.decompose(Exchange exchange,
RESTEasyBindingData target)
Takes the data from the SwitchYardMessage in the specified Exchange and decomposes it into the target object.
|
Modifier and Type | Method and Description |
---|---|
Message |
SOAPMessageComposer.compose(SOAPBindingData source,
Exchange exchange)
Takes the data from the passed in source object and composes a SwithYardMessage based on the specified Exchange.
|
SOAPBindingData |
SOAPMessageComposer.decompose(Exchange exchange,
SOAPBindingData target)
Takes the data from the SwitchYardMessage in the specified Exchange and decomposes it into the target object.
|
Modifier and Type | Method and Description |
---|---|
static Set<Policy> |
PolicyUtil.getProvided(Exchange exchange)
Returns the set of policies provided for this exchange.
|
static Set<Policy> |
PolicyUtil.getRequired(Exchange exchange)
Returns the set of policies required for this exchange.
|
static boolean |
PolicyUtil.isProvided(Exchange exchange,
Policy policy)
Indicates whether a given policy is provided on the exchange.
|
static boolean |
PolicyUtil.isRequired(Exchange exchange,
Policy policy)
Indicates whether a given policy is required on the exchange.
|
static void |
PolicyUtil.provide(Exchange exchange,
Policy policy)
Indicate that a given policy is satisfied for the exchange.
|
static void |
PolicyUtil.require(Exchange exchange,
Policy policy)
Indicate that a given policy is required for the exchange.
|
Modifier and Type | Method and Description |
---|---|
Exchange |
Invoker.createExchange(ExchangeHandler handler)
Create an
Exchange instance for the target service operation. |
Modifier and Type | Method and Description |
---|---|
LinkedBlockingQueue<Exchange> |
MockHandler.getFaults()
Fault getter.
|
LinkedBlockingQueue<Exchange> |
MockHandler.getMessages()
Message getter.
|
Modifier and Type | Method and Description |
---|---|
void |
MockHandler.handleFault(Exchange exchange) |
void |
MockHandler.handleMessage(Exchange exchange) |
Modifier and Type | Method and Description |
---|---|
static void |
TransformSequence.applySequence(Exchange exchange,
TransformerRegistry registry)
Apply the active exchange transformation sequence to the supplied
Exchange Message.
|
static boolean |
TransformSequence.assertTransformsApplied(Exchange exchange)
Utility assertion method for checking if the source to destination transformations
have been applied to the Exchange.
|
static QName |
TransformSequence.getCurrentMessageType(Exchange exchange)
Get the current message type for the specified exchange.
|
static QName |
TransformSequence.getTargetMessageType(Exchange exchange)
Get the target message type for the specified exchange phase.
|
Copyright © 2013–2021 JBoss by Red Hat. All rights reserved.