| Package | Description |
|---|---|
| org.hawkular.bus.common |
| Modifier and Type | Method and Description |
|---|---|
MessageId |
BasicMessage.getCorrelationId() |
MessageId |
AbstractMessage.getCorrelationId()
If this message is correlated with another message, this will be that other message's ID.
|
MessageId |
BasicMessage.getMessageId() |
MessageId |
AbstractMessage.getMessageId()
Returns the message ID that was assigned to this message by the messaging infrastructure.
|
MessageId |
SimpleMessageProcessor.send(BasicMessage basicMessage) |
MessageId |
SimpleMessageProcessor.send(BasicMessage basicMessage,
Map<String,String> headers) |
MessageId |
MessageProcessor.send(ProducerConnectionContext context,
BasicMessage basicMessage)
Same as
MessageProcessor.send(ProducerConnectionContext, BasicMessage, Map) with null headers. |
MessageId |
MessageProcessor.send(ProducerConnectionContext context,
BasicMessage basicMessage,
Map<String,String> headers)
Send the given message to its destinations across the message bus.
|
<T extends BasicMessage> |
MessageProcessor.send(ProducerConnectionContext context,
BasicMessageWithExtraData<T> message,
Map<String,String> headers)
If the given
message.getBinaryData() is not null delegates to
MessageProcessor.sendWithBinaryData(ProducerConnectionContext, BasicMessage, InputStream, Map) otherwise delegates to
MessageProcessor.send(ProducerConnectionContext, BasicMessageWithExtraData, Map) |
MessageId |
MessageProcessor.sendWithBinaryData(ProducerConnectionContext context,
BasicMessage basicMessage,
File file)
Same as
MessageProcessor.sendWithBinaryData(ProducerConnectionContext, BasicMessage, File, Map) with null
headers. |
MessageId |
MessageProcessor.sendWithBinaryData(ProducerConnectionContext context,
BasicMessage basicMessage,
File file,
Map<String,String> headers)
Same as
MessageProcessor.sendWithBinaryData(ProducerConnectionContext, BasicMessage, InputStream, Map) with the input
stream being a stream to read the file. |
MessageId |
MessageProcessor.sendWithBinaryData(ProducerConnectionContext context,
BasicMessage basicMessage,
InputStream inputStream)
Same as
MessageProcessor.sendWithBinaryData(ProducerConnectionContext, BasicMessage, InputStream, Map) with
null headers. |
MessageId |
MessageProcessor.sendWithBinaryData(ProducerConnectionContext context,
BasicMessage basicMessage,
InputStream inputStream,
Map<String,String> headers)
Send the given message along with the stream of binary data to its destinations across the message bus.
|
| Modifier and Type | Method and Description |
|---|---|
void |
BasicMessage.setCorrelationId(MessageId correlationId) |
void |
AbstractMessage.setCorrelationId(MessageId correlationId) |
void |
BasicMessage.setMessageId(MessageId messageId) |
void |
AbstractMessage.setMessageId(MessageId messageId) |
Copyright © 2015 Red Hat, Inc.. All rights reserved.