Skip navigation links
A B C D E G H I J M N O P R S T W 

A

addEvent(Class<?>, PublisherConfiguration) - Method in class net.reini.rabbitmq.cdi.EventPublisher
Adds events of the given type to the CDI events to which the event publisher listens in order to publish them.
addHost(String) - Method in class net.reini.rabbitmq.cdi.EventBinder.BinderConfiguration
Adds a broker host name used when establishing a connection.
addHost(Address) - Method in class net.reini.rabbitmq.cdi.EventBinder.BinderConfiguration
Adds a broker host address used when establishing a connection.
autoAck() - Method in class net.reini.rabbitmq.cdi.EventBinder.QueueBinding
<p> Sets the acknowledgement mode to be used for consuming message to automatic acknowledges (auto acks).

B

bind(Class<M>) - Method in class net.reini.rabbitmq.cdi.EventBinder
Starting point for binding an event.
BinderConfiguration() - Constructor for class net.reini.rabbitmq.cdi.EventBinder.BinderConfiguration
 
bindEvents() - Method in class net.reini.rabbitmq.cdi.EventBinder
Extend EventBinder and implement this method to create the event bindings for your application.

C

close() - Method in class net.reini.rabbitmq.cdi.ConnectionProducer
<p> Closes the connection factory and interrupts all threads associated to it.
close() - Method in class net.reini.rabbitmq.cdi.GenericPublisher
Closes the publisher by closing its underlying channel.
close() - Method in interface net.reini.rabbitmq.cdi.MessagePublisher
Closes the publisher by closing its underlying channel.
configuration() - Method in class net.reini.rabbitmq.cdi.EventBinder
Returns the configuration object for the event binder, in order to configure the connection specific part.
CONNECTION_ESTABLISH_INTERVAL_IN_MS - Static variable in class net.reini.rabbitmq.cdi.ConnectionProducer
 
CONNECTION_HEARTBEAT_IN_SEC - Static variable in class net.reini.rabbitmq.cdi.ConnectionProducer
 
CONNECTION_TIMEOUT_IN_MS - Static variable in class net.reini.rabbitmq.cdi.ConnectionProducer
 
ConnectionListener - Interface in net.reini.rabbitmq.cdi
A connection listener is used by a connection factory to notify clients about a change in connection state.
ConnectionProducer - Class in net.reini.rabbitmq.cdi
<p> A single connection factory provides ONE SINGLE connection to a RabbitMQ message broker via TCP.
ConnectionProducer() - Constructor for class net.reini.rabbitmq.cdi.ConnectionProducer
 
contentType() - Method in interface net.reini.rabbitmq.cdi.Encoder
Content type of converter.
contentType() - Method in class net.reini.rabbitmq.cdi.JsonEncoder
 

D

decode(byte[]) - Method in interface net.reini.rabbitmq.cdi.Decoder
Decode the given bytes into an message object of type M.
decode(byte[]) - Method in class net.reini.rabbitmq.cdi.JsonDecoder
 
DecodeException - Exception in net.reini.rabbitmq.cdi
A general exception that occurs when trying to decode a custom object from a binary message.
DecodeException(Throwable) - Constructor for exception net.reini.rabbitmq.cdi.DecodeException
 
Decoder<T> - Interface in net.reini.rabbitmq.cdi
The Decoder is responsible to convert a raw bytes message to a message object of the given type.
DEFAULT_RETRY_ATTEMPTS - Static variable in class net.reini.rabbitmq.cdi.GenericPublisher
 
DEFAULT_RETRY_INTERVAL - Static variable in class net.reini.rabbitmq.cdi.GenericPublisher
 

E

encode(T) - Method in interface net.reini.rabbitmq.cdi.Encoder
Encode a message object of type T into given bytes.
encode(T) - Method in class net.reini.rabbitmq.cdi.JsonEncoder
 
EncodeException - Exception in net.reini.rabbitmq.cdi
A general exception that occurs when trying to encode a custom object to a binary message.
EncodeException(Throwable) - Constructor for exception net.reini.rabbitmq.cdi.EncodeException
Construct a EncodeException.
Encoder<T> - Interface in net.reini.rabbitmq.cdi
The Encoder is responsible to convert a message object of the given type to a raw bytes message.
EventBinder - Class in net.reini.rabbitmq.cdi
<p> Binds incoming CDI events to queues and outgoing CDI events to exchanges of a broker.
EventBinder() - Constructor for class net.reini.rabbitmq.cdi.EventBinder
 
EventBinder.BinderConfiguration - Class in net.reini.rabbitmq.cdi
 
EventBinder.EventBindingBuilder<T> - Class in net.reini.rabbitmq.cdi
 
EventBinder.ExchangeBinding<T> - Class in net.reini.rabbitmq.cdi
Configures and stores the binding between an event class and an exchange.
EventBinder.QueueBinding<T> - Class in net.reini.rabbitmq.cdi
Configures and stores the binding between and event class and a queue.
EventConsumer - Class in net.reini.rabbitmq.cdi
 
EventPublisher - Class in net.reini.rabbitmq.cdi
Publishes events to exchanges of a broker.
EventPublisher(ConnectionProducer) - Constructor for class net.reini.rabbitmq.cdi.EventPublisher
 

G

GenericPublisher - Class in net.reini.rabbitmq.cdi
 
GenericPublisher(ConnectionProducer) - Constructor for class net.reini.rabbitmq.cdi.GenericPublisher
 

H

handleCancel(String) - Method in class net.reini.rabbitmq.cdi.EventConsumer
 
handleCancelOk(String) - Method in class net.reini.rabbitmq.cdi.EventConsumer
 
handleConsumeOk(String) - Method in class net.reini.rabbitmq.cdi.EventConsumer
 
handleDelivery(String, Envelope, AMQP.BasicProperties, byte[]) - Method in class net.reini.rabbitmq.cdi.EventConsumer
 
handleIoException(int, T) - Method in class net.reini.rabbitmq.cdi.GenericPublisher
Handles an exception depending on the already used attempts to send a message.
handleRecoverOk(String) - Method in class net.reini.rabbitmq.cdi.EventConsumer
 
handleShutdownSignal(String, ShutdownSignalException) - Method in class net.reini.rabbitmq.cdi.EventConsumer
 

I

initialize() - Method in class net.reini.rabbitmq.cdi.EventBinder
Initializes the event binder and effectively enables all bindings created in EventBinder.bindEvents().

J

JsonDecoder<T> - Class in net.reini.rabbitmq.cdi
Specialized decoder that decodes Json into the target event type.
JsonDecoder(Class<T>) - Constructor for class net.reini.rabbitmq.cdi.JsonDecoder
 
JsonEncoder<T> - Class in net.reini.rabbitmq.cdi
Specialized encoder that encodes a event type into Json using Jackson ObjectMapper.
JsonEncoder() - Constructor for class net.reini.rabbitmq.cdi.JsonEncoder
 

M

MessagePublisher - Interface in net.reini.rabbitmq.cdi
 

N

net.reini.rabbitmq.cdi - package net.reini.rabbitmq.cdi
Contains the CDI to RabbitMQ bridge implementer classes.
newConnection() - Method in class net.reini.rabbitmq.cdi.ConnectionProducer
<p> Gets a new connection from the factory.

O

onConnectionClosed(Connection) - Method in interface net.reini.rabbitmq.cdi.ConnectionListener
Called when a connection was ultimately closed and no new connection is going to be established in the future (this the case if the connection factory was teared down).
onConnectionEstablished(Connection) - Method in interface net.reini.rabbitmq.cdi.ConnectionListener
Called when a connection was established the first time.
onConnectionLost(Connection) - Method in interface net.reini.rabbitmq.cdi.ConnectionListener
Called when a connection was lost and the connection factory is trying to reestablish the connection.

P

provideChannel() - Method in class net.reini.rabbitmq.cdi.GenericPublisher
Initializes a channel if there is not already an open channel.
publish(Object, PublisherConfiguration) - Method in class net.reini.rabbitmq.cdi.GenericPublisher
 
publish(Object, PublisherConfiguration) - Method in interface net.reini.rabbitmq.cdi.MessagePublisher
Publishes the given event using the given publisher configuration template.
publishEvent(Object) - Method in class net.reini.rabbitmq.cdi.EventPublisher
Observes CDI events for remote events and publishes those events if their event type was added before.

R

registerListener(ConnectionListener) - Method in class net.reini.rabbitmq.cdi.ConnectionProducer
Registers a connection listener at the factory which is notified about changes of connection states.
removeConnectionListener(ConnectionListener) - Method in class net.reini.rabbitmq.cdi.ConnectionProducer
Removes a connection listener from the factory.

S

setHost(String) - Method in class net.reini.rabbitmq.cdi.EventBinder.BinderConfiguration
setPassword(String) - Method in class net.reini.rabbitmq.cdi.EventBinder.BinderConfiguration
Set the password.
setUsername(String) - Method in class net.reini.rabbitmq.cdi.EventBinder.BinderConfiguration
Set the user name.
setVirtualHost(String) - Method in class net.reini.rabbitmq.cdi.EventBinder.BinderConfiguration
Set the virtual host.

T

toExchange(String) - Method in class net.reini.rabbitmq.cdi.EventBinder.EventBindingBuilder
Binds an event to the given exchange.
toQueue(String) - Method in class net.reini.rabbitmq.cdi.EventBinder.EventBindingBuilder
Binds an event to the given queue.

W

willDecode(String) - Method in interface net.reini.rabbitmq.cdi.Decoder
Answer whether the given content type can be decoded into an object of type T.
willDecode(String) - Method in class net.reini.rabbitmq.cdi.JsonDecoder
 
withDecoder(Decoder<T>) - Method in class net.reini.rabbitmq.cdi.EventBinder.QueueBinding
Sets the message decoder to be used for message decoding.
withEncoder(Encoder<T>) - Method in class net.reini.rabbitmq.cdi.EventBinder.ExchangeBinding
Sets the message encoder to be used for message encoding.
withProperties(AMQP.BasicProperties) - Method in class net.reini.rabbitmq.cdi.EventBinder.ExchangeBinding
Sets the given basic properties to be used for message publishing.
withRoutingKey(String) - Method in class net.reini.rabbitmq.cdi.EventBinder.ExchangeBinding
Sets the routing key to be used for message publishing.
A B C D E G H I J M N O P R S T W 
Skip navigation links