Hi
There is any away to stop just one route??
I mean,a console like apache camel?
Hi
There is any away to stop just one route??
I mean,a console like apache camel?
In Spring Integration, you can stop the adapters (they are Lifecycle implementations). Each is JMX-enabled, and/or you can use the Control Bus: http://static.springsource.org/sprin...e/#control-bus
Mark Fisher
Spring Integration Lead
SpringSource, a division of VMware
http://www.springsource.com
http://www.springsource.org/spring-integration
http://blog.springsource.com/main/author/markf
And how i can stop the adapters except stoping the program?
I don't think Mark was suggesting to "stopping the program". There is an pattern called Control Bus which allows you to maintain control over messaging system and that is the support we have in Spring Integration.
For the record there is no such a thing as 'route' when it comes to Messaging system since route implies a well known beginning and end and which in itself contradicts the architecture of pipes-and-filter (the core of messaging architecture).
Anyway, hope that helps
Oleg Zhurakousky
Spring Integration team
http://twitter.com/z_oleg
http://blog.springsource.com/author/ozhurakousky/
ok,i understand..
I was looking something like console in apache camel..
I will try control bus anyway
There is nothing better than send a message by the channel?
imagine that channel is not working bcz a error..How i can stop that without stop all application :\
Hi,
The Control Bus works independent from other channels in the flow. So, yes, you can use it to start/stop individual components without having to shut down everything. Also, as mentioned, please take a look at the provided JMX functionality:
http://static.springsource.org/sprin...mbean-exporter
Furthermore, as we touch the subject of monitoring, take a look at the integration capabilities with Spring Insight http://www.springsource.org/insight
The Spring Integration Plugin:
https://github.com/SpringSource/spri...ng-integration
Some further useful information:
https://github.com/SpringSource/spring-insight-plugins
Please also see the following webinar "Managing and Monitoring Spring Integration Applications" for more information:
http://www.youtube.com/watch?v=fkZcF47NRu0
I hope this provides some additional pointers.
Cheers,
Gunnar
Gunnar Hillert
SpringSource/VMWare, Spring Integration team
SpringSource Team - Spring Training, Consulting, and Support - "From the Source"
http://twitter.com/ghillert
http://blog.hillert.com/
http://blog.springsource.com/author/ghillert/
ok,i used controlbus and worker perfect but my problem now is, i need to deploy the project in other computer..
So how i can stop the channels from my computer?? There is any solution??
anyone can help,plz?
Hello.
Does your remote App have some public interface: HTTP-port, JMX-server, socket-server, file-interface?
Or can it be connect as client to some messaging middleware, e.g. AMQP?
Or maybe you have some shared DataBase...
ControlBus does not have any difference of another endpoints: it is listening some channel and invoking command based on Message's payload.
Take care,
Artem