You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@qpid.apache.org by dmounessa <dm...@yahoo.com> on 2011/11/22 17:00:10 UTC
Message Producer send(message) - Timeout
I have been trying to change the time-out value for send() - I have a java
client to C++ Broker.
And If I bring down the broker, it takes 60 seconds for it to come-out.
The JMS API knows that the broker is down immediately.
What do I need to do to change this timer to be immediate or 1 second?
Thanks for your help.
10:47:39.218|NOTE|org.apache.qpid.client.AMQConnection|Connection:amqp://guest:********@clientid/test?brokerlist='tcp://localhost:5672?connectdelay='1000'&connecttimeout='1000''|
10:47:39.218|NOTE|org.apache.qpid.client.protocol.AMQProtocolSession|Using
ProtocolVersion for Session:0-10|
10:47:39.218|NOTE|org.apache.qpid.client.handler.ClientMethodDispatcherImpl|New
Method Dispatcher:AMQProtocolSession[null]|
10:47:39.218|NOTE|org.apache.qpid.client.AMQConnection|Connecting with
ProtocolHandler Version:0-10|
10:47:39.594|NOTE|org.apache.qpid.client.AMQConnection|Connected with
ProtocolHandler Version:0-10|
10:47:39.594|NOTE|org.apache.qpid.client.AMQSession|Created
session:org.apache.qpid.client.AMQSession_0_10@3fbfbfb8|
10:47:40.084|NOTE|org.apache.qpid.client.BasicMessageProducer|MessageProducer
org.apache.qpid.client.BasicMessageProducer_0_10@4cc72243 using publish mode
: ASYNC_PUBLISH_ALL|
|SEND_MSG|NODE6|<BusMsg 1483.10:47:45.108 on topic NODE6.39.256>|
*10:47:45.824|SEV|org.apache.qpid.client.AMQConnectionDelegate_0_10|connection
exception: conn:5b32627|
10:48:46.123|SEV|7664|sendMsg|couldn't send message on Message
*Producer|NODE6|javax.jms.JMSException: Exception when sending message|
--
View this message in context: http://apache-qpid-users.2158936.n2.nabble.com/Message-Producer-send-message-Timeout-tp7020888p7020888.html
Sent from the Apache Qpid users mailing list archive at Nabble.com.
---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project: http://qpid.apache.org
Use/Interact: mailto:users-subscribe@qpid.apache.org