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

A

addEvent(EventKey<T>, PublisherConfiguration<T>) - 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
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.
bindEvents() - Method in class net.reini.rabbitmq.cdi.EventBinder
Extend EventBinder and implement this method to create the event bindings for your application.

C

cleanUp() - Method in class net.reini.rabbitmq.cdi.EventPublisher
 
close() - Method in class net.reini.rabbitmq.cdi.ConnectionProducer
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
 
ConnectionConfig - Interface in net.reini.rabbitmq.cdi
Function responsible to create new connections using a given connection factory.
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
A single connection factory provides ONE SINGLE connection to a RabbitMQ message broker via TCP.
ConnectionProducer() - Constructor for class net.reini.rabbitmq.cdi.ConnectionProducer
 
consume(String, Envelope, AMQP.BasicProperties, byte[]) - Method in interface net.reini.rabbitmq.cdi.EnvelopeConsumer
 
consume(String, Envelope, AMQP.BasicProperties, byte[]) - Method in class net.reini.rabbitmq.cdi.EventConsumer
 
contentType() - Method in interface net.reini.rabbitmq.cdi.Encoder
Content type of converter.
contentType() - Method in class net.reini.rabbitmq.cdi.JsonEncoder
 
createConnection(ConnectionFactory) - Method in interface net.reini.rabbitmq.cdi.ConnectionConfig
 

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.
EnvelopeConsumer - Interface in net.reini.rabbitmq.cdi
Consumer of an Rabbit MQ envelope content.
equals(Object) - Method in class net.reini.rabbitmq.cdi.EventBinder.ExchangeBinding
 
equals(Object) - Method in class net.reini.rabbitmq.cdi.EventBinder.QueueBinding
 
EventBinder - Class in net.reini.rabbitmq.cdi
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
 
getConnection(ConnectionConfig) - Method in class net.reini.rabbitmq.cdi.ConnectionProducer
Gets a new connection from the factory.

H

handleIoException(int, Throwable) - Method in class net.reini.rabbitmq.cdi.GenericPublisher
Handles an exception depending on the already used attempts to send a message.
hashCode() - Method in class net.reini.rabbitmq.cdi.EventBinder.ExchangeBinding
 
hashCode() - Method in class net.reini.rabbitmq.cdi.EventBinder.QueueBinding
 

I

initialize() - Method in class net.reini.rabbitmq.cdi.EventBinder
Initializes the event binder and effectively enables all bindings created in EventBinder.bindEvents().
inPhase(TransactionPhase) - Method in class net.reini.rabbitmq.cdi.EventBinder.ExchangeBinding
Sets the event observation phase to the given transaction phase on which the event will be published to the configured exchange.

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.

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.
onEventAfterCompletion(Object) - Method in class net.reini.rabbitmq.cdi.EventPublisher
Observes a CDI event after completion and publishes it to the respective RabbitMQ exchange.
onEventAfterFailure(Object) - Method in class net.reini.rabbitmq.cdi.EventPublisher
Observes a CDI event after failure and publishes it to the respective RabbitMQ exchange.
onEventAfterSuccess(Object) - Method in class net.reini.rabbitmq.cdi.EventPublisher
Observes a CDI event after success and publishes it to the respective RabbitMQ exchange.
onEventBeforeCompletion(Object) - Method in class net.reini.rabbitmq.cdi.EventPublisher
Observes a CDI event before completion and publishes it to the respective RabbitMQ exchange.
onEventInProgress(Object) - Method in class net.reini.rabbitmq.cdi.EventPublisher
Observes a CDI event in progress and publishes it to the respective RabbitMQ exchange.

P

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.
PublishException - Exception in net.reini.rabbitmq.cdi
A general exception that occurs when trying to publish a RabbitMQ message.
PublishException(Throwable) - Constructor for exception net.reini.rabbitmq.cdi.PublishException
 
PublishException(String, Throwable) - Constructor for exception net.reini.rabbitmq.cdi.PublishException
 

R

registerConnectionListener(ConnectionConfig, 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(ConnectionConfig, ConnectionListener) - Method in class net.reini.rabbitmq.cdi.ConnectionProducer
Removes a connection listener from the factory.

S

setConnectionUri(URI) - Method in class net.reini.rabbitmq.cdi.EventBinder.BinderConfiguration
Set the connection parameters using the given uri.
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.
setSecure(boolean) - Method in class net.reini.rabbitmq.cdi.EventBinder.BinderConfiguration
Set the connection security setting.
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.
sleepBeforeRetry() - Method in class net.reini.rabbitmq.cdi.GenericPublisher
 

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.
toString() - Method in class net.reini.rabbitmq.cdi.EventBinder.ExchangeBinding
 
toString() - Method in class net.reini.rabbitmq.cdi.EventBinder.QueueBinding
 

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.
withErrorHandler(BiConsumer<T, PublishException>) - Method in class net.reini.rabbitmq.cdi.EventBinder.ExchangeBinding
Sets the given error handler to be used when a event could not be published to RabbitMQ.
withHeader(String, Object) - Method in class net.reini.rabbitmq.cdi.EventBinder.ExchangeBinding
Sets the message header to the given headerValue to be added when sending each message.
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