You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@activemq.apache.org by "Timothy Bish (JIRA)" <ji...@apache.org> on 2012/11/06 22:54:13 UTC
[jira] [Closed] (AMQ-3344) Daemon mode doesn't work for network
connection
[ https://issues.apache.org/jira/browse/AMQ-3344?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Timothy Bish closed AMQ-3344.
-----------------------------
Resolution: Not A Problem
I don't see an issue here.
> Daemon mode doesn't work for network connection
> -----------------------------------------------
>
> Key: AMQ-3344
> URL: https://issues.apache.org/jira/browse/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:
> {code}
> BrokerService broker = new BrokerService();
> broker.setBrokerName("local");
> NetworkConnector nc = broker.addNetworkConnector("static:(failover:(tcp://localhost:61616?daemon=true))");
> broker.start();
> {code}
> Error:
> {code}
> 2011:06:01 15:09:03,648 [WARN ] org.apache.activemq.network.DiscoveryNetworkConnector - Could not connect to remote URI: failover:(tcp://localhost:61616: Invalid location: failover:(tcp://localhost:61616
> {code}
> 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.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira