[rabbitmq-discuss] RabbitMQ / Spring integration
Ben Hood
0x6e6562 at gmail.com
Wed Jul 23 18:36:46 BST 2008
Hi Joern,
Sorry about the delay in this reponse:
On Mon, Jul 21, 2008 at 11:51 AM, Joern Barthel <joern.barthel at gmail.com> wrote:
>> On that note, does anybody in the community have any ideas about how
>> they would like to see this happen? Any particular tools?
>
> I'd apply for a Confluence OpenSource license [1].
Vote noted. I think ATM with the people that I've spoken with they'd
like to go for a more lightweight solution than Confluence, but the
polling booths have just opened. Any more suggestions, community?
>> Are you asking about what kind of typical patterns one would like to
>> have from a high level client's perspective?
>
> Yes. Things like a bean which declares an exchange + queue(s) + consumer(s)
> etc. Templates like "Consume something from A, do something with it, reply
> to A', ack A", transactional semantics etc. should probably be part of the
> integration, too.
This template already exists (for Java at least) - check out the
RpcServer/RpcClient combination.
>
>> BTW, do you have any source that we can look at?
>
> Yes but nothing too fancy. I wrote a FactoryBean for Connections (which is
> now, perhaps unwisely, called ConnectionFactoryBean with a
> ConnectionFactoryBean as property) and for Channels. I also wrote an example
> of how to wrap Channel instances with Spring Proxies for e.g. thread-local
> behaviour (using ThreadLocalTargetSource) and how to invert the channel
> numbering (if this is of relevance) using Strategies such as simple
> increment, annotations (via a Proxy & BeanPostProcessor combo) or e.g.
> Thread name.
How does the connection factory differ to what's currently available
in the Java library?
>
> I can send you sources if you want but discussing them in a Wiki might be a
> better alternative.
Sure, but until we get a wiki, you might consider putting your code into Github.
HTH,
Ben
More information about the rabbitmq-discuss
mailing list