Qpid persistent storage using Berkeley DB

2010-01-05 Thread denny86
Hi, I'm using C++ Broker along with C++ Clients, both running in win32 platforms. I would like to implement Berkeley DB persistent storage. I have seen an example of persistence library at http://qpidcomponents.org/download.html#persistence QpidComponents . But the same is implemented for li

Re: timeouts

2010-01-05 Thread Rajith Attapattu
On Tue, Jan 5, 2010 at 4:48 PM, Jen Andre wrote: > > Yes, I am using both the c++ broker and the java library from 0.5. > > Setting the idle_timeout in the AMQP url doesn't seem affect anything. >  I will try grabbing the latest from trunk as suggested by another > user. > > I'm not sure which API

Re: timeouts

2010-01-05 Thread Rajith Attapattu
Jakub, We don't support a Java Qpid API. The supported API for java is JMS. Regards, Rajith On Tue, Jan 5, 2010 at 3:29 PM, JAkub Scholz wrote: > Hi, > > I had a similar problem with the C++ broker and Java client from release 0.5 > (with the Qpid API, JMS API didn't suffered with this problem

Re: timeouts

2010-01-05 Thread Robert Greig
I would remove this line: c.setIdleTimeout(0); Robert 2010/1/5 Jen Andre : > > Yes, I am using both the c++ broker and the java library from 0.5. > > Setting the idle_timeout in the AMQP url doesn't seem affect anything. >  I will try grabbing the latest from trunk as suggested by another > user

Re: timeouts

2010-01-05 Thread Jen Andre
Yes, I am using both the c++ broker and the java library from 0.5. Setting the idle_timeout in the AMQP url doesn't seem affect anything. I will try grabbing the latest from trunk as suggested by another user. I'm not sure which API I'm supposed to be using. I tried both the code in org.apac

RE: timeouts

2010-01-05 Thread JAkub Scholz
Hi, I had a similar problem with the C++ broker and Java client from release 0.5 (with the Qpid API, JMS API didn't suffered with this problem). I tried to download the latest source from trunk in SVN repository and compile the library myself and it solved the problem for me. Regards JAkub Schol

Re: timeouts

2010-01-05 Thread Rajith Attapattu
Hello Jean, It appears that you are using the C++ broker and the java client. Could you confirm which version you are using? On Tue, Jan 5, 2010 at 12:47 PM, Jen Andre wrote: > > Hello, > > I have a Java client listener that subscribes to a topic and waits for > messages.  I'm noticing after 120

timeouts

2010-01-05 Thread Jen Andre
Hello, I have a Java client listener that subscribes to a topic and waits for messages. I'm noticing after 120 seconds of idle time (no messages received) the connections time out (here's what I see in syslog messages for qpidd) qpidd[3472]: 2010-01-01 16:46:20 error Connection timed out: clos