Page 1 of 2 12 LastLast
Results 1 to 10 of 18

Thread: Spring Integration Console

  1. #1
    Join Date
    Apr 2012
    Posts
    27

    Default Spring Integration Console

    Hi
    There is any away to stop just one route??
    I mean,a console like apache camel?

  2. #2
    Join Date
    Oct 2005
    Location
    Boston, MA
    Posts
    2,844

    Default

    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

  3. #3
    Join Date
    Apr 2012
    Posts
    27

    Default

    And how i can stop the adapters except stoping the program?

  4. #4
    Join Date
    Jan 2008
    Location
    Mohnton, PA USA (that's near Philadelphia)
    Posts
    2,148

    Default

    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

  5. #5
    Join Date
    Apr 2012
    Posts
    27

    Default

    ok,i understand..
    I was looking something like console in apache camel..
    I will try control bus anyway

  6. #6
    Join Date
    Apr 2012
    Posts
    27

    Default

    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 :\

  7. #7
    Join Date
    Aug 2005
    Location
    Atlanta
    Posts
    124

    Default

    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/

  8. #8
    Join Date
    Apr 2012
    Posts
    27

    Default

    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??

  9. #9
    Join Date
    Apr 2012
    Posts
    27

    Default

    anyone can help,plz?

  10. #10
    Join Date
    Jan 2009
    Location
    Ukraine, Kharkov
    Posts
    646

    Default

    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

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •