Skip to content

momania/spring-rabbitmq

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Spring integration for RabbitMQ

What is it for?

These components help using RabbitMQ with the Spring Framework.
Initial goal was to provide an alternative for the spring jms components giving the posibility to use rabbitmq in a similar way.
This initial version contains a simple connection and channel factory (currently only with single connection).

Example spring configuration(s) is provided in src/main/test/spring-examples.xml

Descriptions

Component Description
RabbitTemplate Send objects to injected exchange
AsyncRabbitTemplate Same as RabbitTempate, but uses internal queue and worker so calls to the send method are non-blocking
RabbitMessageListenerAdapter Listens for incoming object messages and delegate the handling to delegate object trying to find a handleMessage method taking the specific object as a parameter
RabbitInvokerServerExporter Exports spring service interface to a direct queue or and exchange, handling springs remote invocation calls
RabbitInvokerProxyFactoryBean Proxy bean to invoke a remote exported service by intercepting method calls on proxied interface and sending a remote invocation over rabbitmq

Future plans

  • Merge/integrate with amqp-spring from yawn making it more spring-amqp generic with rabbitmq implementation
  • Better threading/pooling
  • Lazy connection/channel initalization (So connection doesn’t block startup when rabbitmq is not running)

About

Spring integration for RabbitMQ

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages