You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@qpid.apache.org by "zhaoyi0113@gmail.com" <zh...@gmail.com> on 2010/11/09 05:49:26 UTC

A warning message when creating a connection

I am using qpid-0.6 java broker and JMS client. When I start a connection I
will get this warning message:
WARN  ClientDelegate - Ignoring the idle timeout 0 set by the connection,
using the brokers max value 65535

Below is my JMS configuration:

java.naming.factory.initial =
org.apache.qpid.jndi.PropertiesFileInitialContextFactory
connectionfactory.qpidConnectionfactory =
amqp://guest:guest@clientid/test?brokerlist='tcp://localhost:5672'
destination.directQueue =
direct://amq.direct//message_queue?routingkey='routing_key'

Below is my code:

context = new InitialContext(properties);
ConnectionFactory conFac = (ConnectionFactory) context
					.lookup("qpidConnectionfactory");
connection = conFac.createConnection();

-- 
View this message in context: http://apache-qpid-users.2158936.n2.nabble.com/A-warning-message-when-creating-a-connection-tp5719658p5719658.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


Re: A warning message when creating a connection

Posted by "Sorin S." <ss...@gmail.com>.
Yes, the timeout is negociated, as you have not set it you got warned
that the broker default time out is assumed.


On Tue, Nov 9, 2010 at 4:49 AM, zhaoyi0113@gmail.com
<zh...@gmail.com> wrote:
>
> I am using qpid-0.6 java broker and JMS client. When I start a connection I
> will get this warning message:
> WARN  ClientDelegate - Ignoring the idle timeout 0 set by the connection,
> using the brokers max value 65535
>
> Below is my JMS configuration:
>
> java.naming.factory.initial =
> org.apache.qpid.jndi.PropertiesFileInitialContextFactory
> connectionfactory.qpidConnectionfactory =
> amqp://guest:guest@clientid/test?brokerlist='tcp://localhost:5672'
> destination.directQueue =
> direct://amq.direct//message_queue?routingkey='routing_key'
>
> Below is my code:
>
> context = new InitialContext(properties);
> ConnectionFactory conFac = (ConnectionFactory) context
>                                        .lookup("qpidConnectionfactory");
> connection = conFac.createConnection();
>
> --
> View this message in context: http://apache-qpid-users.2158936.n2.nabble.com/A-warning-message-when-creating-a-connection-tp5719658p5719658.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
>
>



-- 
Sorin S

---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project:      http://qpid.apache.org
Use/Interact: mailto:users-subscribe@qpid.apache.org


Re: A warning message when creating a connection

Posted by "zhaoyi0113@gmail.com" <zh...@gmail.com>.
Thanks for reply.

I followed the suggestion to setup the timeout and heartbeat (-Didle_timeout
-Dqpid.heartbeat) in my application system property. But it doesn't work.
The warning is still there.
-- 
View this message in context: http://apache-qpid-users.2158936.n2.nabble.com/A-warning-message-when-creating-a-connection-tp5719658p5723163.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


Re: A warning message when creating a connection

Posted by Ba...@troika.ru.
I hope this link would be helpfull
https://issues.apache.org/jira/browse/QPID-2800




"zhaoyi0113@gmail.com" <zh...@gmail.com> 
11/09/2010 07:50 AM
Please respond to
users@qpid.apache.org


To
users@qpid.apache.org
cc

Subject
A warning message when creating a connection







I am using qpid-0.6 java broker and JMS client. When I start a connection 
I
will get this warning message:
WARN  ClientDelegate - Ignoring the idle timeout 0 set by the connection,
using the brokers max value 65535

Below is my JMS configuration:

java.naming.factory.initial =
org.apache.qpid.jndi.PropertiesFileInitialContextFactory
connectionfactory.qpidConnectionfactory =
amqp://guest:guest@clientid/test?brokerlist='tcp://localhost:5672'
destination.directQueue =
direct://amq.direct//message_queue?routingkey='routing_key'

Below is my code:

context = new InitialContext(properties);
ConnectionFactory conFac = (ConnectionFactory) context
  .lookup("qpidConnectionfactory");
connection = conFac.createConnection();

-- 
View this message in context: 
http://apache-qpid-users.2158936.n2.nabble.com/A-warning-message-when-creating-a-connection-tp5719658p5719658.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



_______________________________________________________

The information contained in this message may be privileged and conf idential and protected from disclosure. If you are not the original intended recipient, you are hereby notified that any review, retransmission, dissemination, or other use of, or taking of any action in reliance upon, this information is prohibited. If you have received this communication in error, please notify the sender immediately by replying to this message and delete it from your computer. Thank you for your cooperation. Troika Dialog, Russia. 
If you need assistance please contact our Contact Center  (+7495) 258 0500 or go to www.troika.ru/eng/Contacts/system.wbp