You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@activemq.apache.org by "Sthala Narasimhan (Jira)" <ji...@apache.org> on 2022/04/28 20:22:00 UTC

[jira] [Updated] (AMQCPP-712) ActiveMQConnection Start() hangs forever/not connecting with Broker

     [ https://issues.apache.org/jira/browse/AMQCPP-712?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Sthala Narasimhan updated AMQCPP-712:
-------------------------------------
    Description: 
My Client application uses CMS Library 3.9.5 with failover protocol.. When I invoke Start() function to connect to broker it hangs/ not connecting, though broker is configured correctly

std::string brokerURI = "failover:(tcp://host1:61400,tcp://host2:61400)&maxReconnectAttempts=1;

 ActiveMQConnection* conn = 0;
ActiveMQConnectionFactory *amqfactory = new ActiveMQConnectionFactory(brokerURI);

conn = amqfactory->createConnection();
delete amqfactory;
amqfactory = NULL;

//Hangs here forever or timeout.  

conn->start();

 

  was:My Client application uses CMS Library 3.9.5 hangs on the call Start() on Windows Server 2012.

        Summary: ActiveMQConnection Start() hangs forever/not connecting with Broker  (was: ActiveMQConnection Start() hangs forever )

> ActiveMQConnection Start() hangs forever/not connecting with Broker
> -------------------------------------------------------------------
>
>                 Key: AMQCPP-712
>                 URL: https://issues.apache.org/jira/browse/AMQCPP-712
>             Project: ActiveMQ C++ Client
>          Issue Type: Bug
>          Components: CMS Impl
>    Affects Versions: 3.9.5
>         Environment: Windows server 2012 R2
>            Reporter: Sthala Narasimhan
>            Assignee: Timothy A. Bish
>            Priority: Major
>
> My Client application uses CMS Library 3.9.5 with failover protocol.. When I invoke Start() function to connect to broker it hangs/ not connecting, though broker is configured correctly
> std::string brokerURI = "failover:(tcp://host1:61400,tcp://host2:61400)&maxReconnectAttempts=1;
>  ActiveMQConnection* conn = 0;
> ActiveMQConnectionFactory *amqfactory = new ActiveMQConnectionFactory(brokerURI);
> conn = amqfactory->createConnection();
> delete amqfactory;
> amqfactory = NULL;
> //Hangs here forever or timeout.  
> conn->start();
>  



--
This message was sent by Atlassian Jira
(v8.20.7#820007)