[ 
https://issues.apache.org/jira/browse/AMQCPP-712?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17533905#comment-17533905
 ] 

Sthala Narasimhan commented on AMQCPP-712:
------------------------------------------

Sometimes, the client crashes. Can you give some tips to find out what is going 
on in the client side?

> 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)

Reply via email to