Announcement Announcement Module
Collapse
No announcement yet.
Spring Integration Console Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Spring Integration Console

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

  • #2
    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

    Comment


    • #3
      And how i can stop the adapters except stoping the program?

      Comment


      • #4
        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

        Comment


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

          Comment


          • #6
            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 :\

            Comment


            • #7
              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

              Comment


              • #8
                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??

                Comment


                • #9
                  anyone can help,plz?

                  Comment


                  • #10
                    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

                    Comment


                    • #11
                      What do u recommend?? :\

                      Comment


                      • #12
                        What do u recommend?
                        AMQP will be more flexible and allow to accomplish the best loose-coupling.

                        Comment


                        • #13
                          Originally posted by Cleric View Post
                          AMQP will be more flexible and allow to accomplish the best loose-coupling.


                          There is any example with that?
                          bcz i really never worker with that

                          Comment


                          • #14
                            Ok,im using AMQP as midlleware and a web service on client.
                            So now, how i can stop channels if my server and project is in other computer??

                            Comment


                            • #15
                              You can send a message to a <control-bus/> to stop the AMQP adapter.

                              You can use any transport you want to send such a message to another system (http, tcp, udp, amqp etc).

                              Or, you can use JMX; spring provides a convenient factory bean to connect to a remote MBean server.

                              Comment

                              Working...
                              X