| Package | Description |
|---|---|
| org.hawkular.bus.common | |
| org.hawkular.bus.common.consumer |
| Modifier and Type | Method and Description |
|---|---|
ConsumerConnectionContext |
ConnectionContextFactory.createConsumerConnectionContext(Endpoint endpoint)
Creates a new consumer connection context, reusing any existing connection that might have already been created.
|
ConsumerConnectionContext |
ConnectionContextFactory.createConsumerConnectionContext(Endpoint endpoint,
String messageSelector)
Creates a new consumer connection context, reusing any existing connection that might have
already been created.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
ConnectionContextFactory.createConsumer(ConsumerConnectionContext context,
String messageSelector)
Creates a message consumer using the context's session and destination.
|
<T extends BasicMessage> |
MessageProcessor.listen(ConsumerConnectionContext context,
AbstractBasicMessageListener<T> listener)
Listens for messages.
|
| Constructor and Description |
|---|
SimpleMessageProcessor(ConsumerConnectionContext consumerCtx,
ProducerConnectionContext producerCtx) |
| Modifier and Type | Class and Description |
|---|---|
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 | Method and Description |
|---|---|
ConsumerConnectionContext |
AbstractBasicMessageListener.getConsumerConnectionContext()
When this listener is attached to a consumer, this field should be filled in to allow the listener to perform
other tasks it needs which might require access to the context.
|
| Modifier and Type | Method and Description |
|---|---|
void |
AbstractBasicMessageListener.setConsumerConnectionContext(ConsumerConnectionContext consumerConnectionContext) |
Copyright © 2015 Red Hat, Inc.. All rights reserved.