note the last comment on AMQ-6666.
Check the logs, your failover connection is probably trying to
reconnect forever. use maxReconnectAttempts=x to limit that.

On Mon, 25 Mar 2019 at 12:43, tal.cohen2 <tal.coh...@nice.com> wrote:
>
> Hi .
> we are using activemq v.5.15.8 broker and client. (jdk 1.8)
> when configuring broker jms url in the client side  , this way :
>     <bean id="activeMQBroker" class="com.ccih.base.messaging.MessageBroker">
>         <property name="transacted" value="true"/>
>         <property name="acknowledgeMode" value="Auto"/>
>         <property name="deliveryMode" value="VirtualTopic"/>
>         <property name="jndiConnectionFactory"
> value="org.apache.activemq.jndi.ActiveMQInitialContextFactory"/>
>         <property name=&quot;jmsUrl&quot;
> value=&quot;failover://(tcp://${ACTIVEMQ_HOSTNAME}:61616?daemon=true)?&lt;b>timeout=60000"/*>
>
>
> after the service is running and connected to the activemq , we shut down
> activemq broker and try to send message. on v.5.8 the operation timeout
> after the defined time . on this version it never timeout even with this
> paramter .
> someone can give us a soultion ?
>
>
>
> Best Regards,
> Tal
>
>
>
> --
> Sent from: http://activemq.2283324.n4.nabble.com/ActiveMQ-Dev-f2368404.html

Reply via email to