activemq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Timothy Bish (JIRA)" <j...@apache.org>
Subject [jira] [Closed] (AMQ-3344) Daemon mode doesn't work for network connection
Date Tue, 06 Nov 2012 21:54:13 GMT

     [ 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

Mime
View raw message