← Back to team overview

txamqp-user team mailing list archive

Re: Publish and consume in one app.

 

Hello again,

> I'm experimenting with AMQP (and in particular with txamqp) and I
> would like to know if you can create an application which publishes
> and consumes from the same exchange (this is the current experiment).
> My guess is: "yes".

Just to give an example this is what I wanted to do:
http://dpaste.com/hold/109292/ but better.

It sort of works, for starters I can't get it to finish cleanly. Is
this the right way of achieving what I would like? Is there a cleaner
way?

The idea is that the consumer thread should be getting messages from
anybody and that the producer can send to any client listening.

Thanks for your time again.

-- 
Ale.



Follow ups

References