ServiceMix
  1. ServiceMix
  2. SM-1302

Make failover:// transport the default protocol used in ServiceMix.

    Details

    • Type: Improvement Improvement
    • Status: Reopened
    • Priority: Major Major
    • Resolution: Unresolved
    • Affects Version/s: 3.2.1
    • Fix Version/s: 3.4.2
    • Component/s: beanflow
    • Labels:
      None
    • Environment:

      ServiceMix 3

      Description

      Currently servicemix.properties configures the underlying ActiveMQ to use the plain tcp:// transport.
      activemq.url = tcp://$

      {activemq.host}

      :$

      {activemq.port}

      However, in order to have ServiceMix functioning correctly in case of transport problems or simply inactivity timeouts, from which the tcp:// transport cannot recover, we should turn on failover:// by default. Otherwise any transport related problem causes ServiceMix to fail and requires a restart.

      1. using_new_failover.txt
        7 kB
        Lars Heinemann
      2. using_failover.txt
        2 kB
        Lars Heinemann

        Activity

        Torsten Mielke created issue -
        Guillaume Nodet made changes -
        Field Original Value New Value
        Fix Version/s 3.2.2 [ 11861 ]
        Fix Version/s 3.3 [ 11850 ]
        Environment ServiceMix 3 and 4 ServiceMix 3
        Freeman Fang made changes -
        Fix Version/s 3.2.3 [ 11910 ]
        Fix Version/s 3.2.2 [ 11861 ]
        Hide
        Bruce Snyder added a comment -

        Committed fix to the 3.2 branch and the trunk (3.3).

        Show
        Bruce Snyder added a comment - Committed fix to the 3.2 branch and the trunk (3.3).
        Bruce Snyder made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Assignee Bruce Snyder [ bsnyder ]
        Resolution Fixed [ 1 ]
        Hide
        Guillaume Nodet added a comment -

        Lars reverted the commit because they were causing problems at startup.
        We need to dive in to these issues a bit more before applying the patch.
        One of the issue seems to be that the url should be:

        failover:(tcp://${activemq.host}:${activemq.port})
        

        rather than the one in the patch, but it seems to still cause problems at shutdown.
        See the thread on the dev list for more infos:
        http://www.nabble.com/can%27t-start-smx-any-longer-to16719399.html#a16719399

        Show
        Guillaume Nodet added a comment - Lars reverted the commit because they were causing problems at startup. We need to dive in to these issues a bit more before applying the patch. One of the issue seems to be that the url should be: failover:(tcp: //${activemq.host}:${activemq.port}) rather than the one in the patch, but it seems to still cause problems at shutdown. See the thread on the dev list for more infos: http://www.nabble.com/can%27t-start-smx-any-longer-to16719399.html#a16719399
        Guillaume Nodet made changes -
        Status Resolved [ 5 ] Reopened [ 4 ]
        Resolution Fixed [ 1 ]
        Hide
        Lars Heinemann added a comment -

        I attached two files containing console outputs in DEBUG log level.

        using_failover: this is the output when using bruce patch
        using_new_failover: this is the output on shutdown with guillaumes settings

        I hope this helps somehow.

        Lars

        Show
        Lars Heinemann added a comment - I attached two files containing console outputs in DEBUG log level. using_failover: this is the output when using bruce patch using_new_failover: this is the output on shutdown with guillaumes settings I hope this helps somehow. Lars
        Lars Heinemann made changes -
        Attachment using_new_failover.txt [ 16350 ]
        Attachment using_failover.txt [ 16349 ]
        Freeman Fang made changes -
        Fix Version/s 3.3.1 [ 11978 ]
        Fix Version/s 3.3 [ 11850 ]
        Fix Version/s 3.4 [ 11979 ]
        Fix Version/s 3.2.3 [ 11910 ]
        Lars Heinemann made changes -
        Fix Version/s 3.3.1 [ 11978 ]
        Fix Version/s 3.4 [ 11979 ]
        Fix Version/s 3.3.2 [ 12152 ]
        Jean-Baptiste Onofré made changes -
        Fix Version/s 3.3.3 [ 12301 ]
        Fix Version/s 3.3.2 [ 12152 ]
        Jeff Turner made changes -
        Project Import Sat Nov 27 00:46:19 EST 2010 [ 1290836779991 ]
        Jean-Baptiste Onofré made changes -
        Fix Version/s 3.3.4 [ 12316200 ]
        Fix Version/s 3.3.3 [ 12315728 ]
        Jean-Baptiste Onofré made changes -
        Fix Version/s 3.5 [ 12316284 ]
        Fix Version/s 3.3.4 [ 12316200 ]
        Jean-Baptiste Onofré made changes -
        Fix Version/s EOL-3 [ 12321940 ]
        Fix Version/s 3.4.1 [ 12316284 ]
        Transition Time In Source Status Execution Times Last Executer Last Execution Date
        Open Open Resolved Resolved
        12d 20h 56m 1 Bruce Snyder 16/Apr/08 05:30
        Resolved Resolved Reopened Reopened
        8h 25m 1 Guillaume Nodet 16/Apr/08 13:55

          People

          • Assignee:
            Bruce Snyder
            Reporter:
            Torsten Mielke
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:

              Development