May 24th, 2012, 11:39 AM
RabbitMQ and Control Bus
Continuing from a previous reply to a thread (http://forum.springsource.org/showth...I&goto=newpost). I did try to use the control bus. I have looked at the example of control bus, however, I have a few questions. I modeled my consumer process with control bus, similar to the control bus example.
My amqp rabbit adapter has an id = " rabbitAdapter" . Should the following statement stop the rabbitAdapter from listening??
controlChannel.send(new GenericMessage<String>("@rabbitAdapter.start()")); ??
I have modeled this based on the Control bus example..In the control bus example it is done as follows:
controlChannel.send(new GenericMessage<String>("@inboundAdapter.start()")) ;
Let me know your suggestions