[rabbitmq-discuss] How to use Consumer as Producer in rabbitmq
sameek at arosys.com
Thu Sep 23 13:26:23 BST 2010
> I am new to RabbitMQ , i would like to know how to use consumer as
> producer and vice versa ie the consumer will use to receive the message
> from the queue at the same time it should be able to transmit the message
> to the exchange and same for producer too , it should transmit and receive
> Thankyou in advance
Here service.java file contain the code for producer and consumer.
The route of the messages would be:
C1 -> X1 -> Q1 -> C2
C2 -> X1 -> Q2 -> C1
where C1 and C2 are your clients.
and the result.java file can listen the response queue and print the
result.here i m using only one exchange.
View this message in context: http://old.nabble.com/How-to-use-Consumer-as-Producer-in-rabbitmq-tp29736359p29788719.html
Sent from the RabbitMQ mailing list archive at Nabble.com.
More information about the rabbitmq-discuss