| Package | Description |
|---|---|
| org.hawkular.bus.common | |
| org.hawkular.bus.common.consumer | |
| org.hawkular.bus.common.producer |
| Modifier and Type | Method and Description |
|---|---|
void |
ConnectionContext.copy(ConnectionContext source)
Sets this context object with the same data found in the source context.
|
protected void |
ConnectionContextFactory.createConnection(ConnectionContext context)
Creates a connection using this object's connection factory and stores
that connection in the given context object.
|
protected void |
ConnectionContextFactory.createDestination(ConnectionContext context,
Endpoint endpoint)
Creates a destination using the context's session.
|
protected javax.jms.Message |
MessageProcessor.createMessage(ConnectionContext context,
BasicMessage basicMessage)
Same as
MessageProcessor.createMessage(ConnectionContext, BasicMessage, Map) with null headers. |
protected javax.jms.Message |
MessageProcessor.createMessage(ConnectionContext context,
BasicMessage basicMessage,
Map<String,String> headers)
Creates a text message that can be send via a producer that contains the given BasicMessage's JSON encoded data.
|
protected javax.jms.Message |
MessageProcessor.createMessageWithBinaryData(ConnectionContext context,
BasicMessage basicMessage,
InputStream inputStream)
Same as
MessageProcessor.createMessage(ConnectionContext, BasicMessage, Map) with null headers. |
protected javax.jms.Message |
MessageProcessor.createMessageWithBinaryData(ConnectionContext context,
BasicMessage basicMessage,
InputStream inputStream,
Map<String,String> headers)
Creates a blob message that can be send via a producer that contains the given BasicMessage's JSON encoded data
along with binary data.
|
protected void |
ConnectionContextFactory.createOrReuseConnection(ConnectionContext context,
boolean start)
This method provides a way to cache and share a connection across
multiple contexts.
|
protected void |
ConnectionContextFactory.createSession(ConnectionContext context)
Creates a default session using the context's connection.
|
| Modifier and Type | Class and Description |
|---|---|
class |
ConsumerConnectionContext |
class |
RPCConnectionContext
This is a context that will be associated with an incoming RPC call (that is, a request is sent and a response is
expected back; mimicing an RPC call).
|
| Modifier and Type | Class and Description |
|---|---|
class |
ProducerConnectionContext |
Copyright © 2014–2017 Red Hat, Inc.. All rights reserved.