| Package | Description |
|---|---|
| javax.jbi.component | |
| javax.jbi.messaging |
| Modifier and Type | Method and Description |
|---|---|
DeliveryChannel |
ComponentContext.getDeliveryChannel()
Get a channel for this component to use to communicate with the
Normalized Message Router.
|
| Modifier and Type | Method and Description |
|---|---|
MessageExchange |
DeliveryChannel.accept()
Blocking call used to service a MessageExchange instance which has
been initiated by another component.
|
MessageExchange |
DeliveryChannel.accept(long timeout)
Identical to accept(), but returns after specified interval even if
a message exchange is unavailable.
|
void |
NormalizedMessage.addAttachment(String id,
DataHandler content)
Add an attachment to the message.
|
void |
DeliveryChannel.close()
Closes the delivery channel, halting all message traffic.
|
MessageExchange |
MessageExchangeFactory.createExchange(QName serviceName,
QName operationName)
Creates a new MessageExchange instance used to initiate a service
invocation.
|
MessageExchange |
MessageExchangeFactory.createExchange(URI pattern)
Creates a new MessageExchange instance used to initiate a service
invocation.
|
Fault |
MessageExchange.createFault()
Generic factory method for Fault objects.
|
InOnly |
MessageExchangeFactory.createInOnlyExchange()
Convenience method that creates an In-Only message exchange.
|
InOptionalOut |
MessageExchangeFactory.createInOptionalOutExchange()
Convenience method that creates an In-Optional-Out message exchange.
|
InOut |
MessageExchangeFactory.createInOutExchange()
Convenience method that creates an In-Out message exchange.
|
NormalizedMessage |
MessageExchange.createMessage()
Creates a normalized message based on the specified message reference.
|
RobustInOnly |
MessageExchangeFactory.createRobustInOnlyExchange()
Convenience method that creates an Robust-In-Only message exchange.
|
void |
NormalizedMessage.removeAttachment(String id)
Removes attachment with the specified unique identifier.
|
void |
DeliveryChannel.send(MessageExchange exchange)
Routes a MessageExchange instance through the Normalized Message Service
to the appropriate servicing component.
|
boolean |
DeliveryChannel.sendSync(MessageExchange exchange)
Routes a MessageExchange instance through the Normalized Message Service
to the appropriate servicing component, blocking until the exchange is
returned.
|
boolean |
DeliveryChannel.sendSync(MessageExchange exchange,
long timeout)
Routes a MessageExchange instance through the Normalized Message Service
to the appropriate servicing component, blocking until the specified
timeout is reached.
|
void |
NormalizedMessage.setContent(Source content)
Set the content of the message.
|
void |
MessageExchange.setFault(Fault fault)
Specifies the fault message for this exchange, if one exists.
|
void |
RobustInOnly.setInMessage(NormalizedMessage msg)
Sets the in normalized message for this exchange.
|
void |
InOut.setInMessage(NormalizedMessage msg)
Specifies the "in" message reference for this exchange.
|
void |
InOptionalOut.setInMessage(NormalizedMessage msg)
Specifies the "in" message reference for this exchange.
|
void |
InOnly.setInMessage(NormalizedMessage msg)
Sets the in normalized message for this exchange.
|
void |
MessageExchange.setMessage(NormalizedMessage msg,
String name)
Sets a normalized message with the specified message reference.
|
void |
InOut.setOutMessage(NormalizedMessage msg)
Specifies the "out" message reference for this exchange.
|
void |
InOptionalOut.setOutMessage(NormalizedMessage msg)
Specifies the "out" message reference for this exchange.
|
void |
MessageExchange.setStatus(ExchangeStatus status)
Sets the processing status of the exchange.
|
Copyright © 2011-2016 OpenESB Community. All Rights Reserved.