activemq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ivan Shcheklein (JIRA)" <>
Subject [jira] [Created] (AMQ-3344) Daemon mode doesn't work for network connection
Date Wed, 01 Jun 2011 12:11:47 GMT
Daemon mode doesn't work for network connection

                 Key: AMQ-3344
             Project: ActiveMQ
          Issue Type: Bug
          Components: Broker
    Affects Versions: 5.4.2
         Environment: Windows, Linux
            Reporter: Ivan Shcheklein

The following code doesn't work:

BrokerService broker = new BrokerService();
NetworkConnector nc = broker.addNetworkConnector("static:(failover:(tcp://localhost:61616?daemon=true))");


2011:06:01 15:09:03,648 [WARN ] - Could
not connect to remote URI: failover:(tcp://localhost:61616: Invalid location: failover:(tcp://localhost:61616

It works fine without 'daemon=true' but connection thread is not daemon in that case and it
prevents JVM finish.

This message is automatically generated by JIRA.
For more information on JIRA, see:

View raw message