Thank you Gary. One very dumb question, are you declaring the controlBus variable and the "if" statement in the main here ?
Type: Posts; User: tsure; Keyword(s):
Thank you Gary. One very dumb question, are you declaring the controlBus variable and the "if" statement in the main here ?
Thought this could be a new thread. Is there any way in Spring Integration from which I could get the status (running/stopped) of any of my consumer ??
Thanks a lot Gary. Looking into this ..
Ok. This looks like something I can start looking into...I do not have much experience with parent/child application context since I never had the need to use one, but I will dig into it and see what...
Yes exactly what my current option is. But here is why it does not work for me. So I want to create a monitoring and management configuration such that I should be able to start/pause/resume and stop...
Thanks for the quick reply Mark. I did look at concurrent-consumers attribute as an option but then all my consumers would be getting their messages from one single adapter. What if I want to shut...
I have been wondering about what would be the best way to go about implementing creating multiple consumers with Spring Integration Framework.
So to elaborate on the question, I am more interested...
I think I know what was going wrong ...
I had left context.registerShutdownHook() in the main... Removing that I get the same output as you were getting ...
Thanks for your help !
Really...
Well I was just trying to stop it so I really had not written it as a Unit Test. It was written in my Main. I fail to understand what you mean by "before you are ready" ??
How are you stopping...
Thank you so much for your help Russell. Looks like that may have stopped it. I do not know why it was not stopping earlier, may be I had another adapter running elsewhere.
Follow up question on...
My bad, I meant controlChannel.send(new GenericMessage<String>("@rabbitAdapter.stop()"))
Yes I have, here is the new thread with some more info :
http://forum.springsource.org/showthread.php?126763-RabbitMQ-and-Control-Bus&p=413706#post413706
Can you help?
Hi,
Continuing from a previous reply to a thread (http://forum.springsource.org/showthread.php?99474-Monitoring-SI-application-using-SI&goto=newpost). I did try to use the control bus. I have...
Hi,
I am new to Spring Integration and JMX as well. However, I looked at the examples and have a few questions about implementations. So my use case is that I want to be able to start, stop, pause...