Re: 0.5 C++ example listener hangs during testing

2009-07-28 Thread lroloson
Please disregard the last - I forgot to set the user and password :-( -- View this message in context: http://n2.nabble.com/0.5-C%2B%2B-example-listener-hangs-during-testing-tp3344401p3346153.html Sent from the Apache Qpid users mailing list archive at Nabble.com. -

Re: 0.5 C++ example listener hangs during testing

2009-07-28 Thread lroloson
Thanks for the help ... when I use the ConnectionSettings I get a "connetion-forced" error and I cant connect Larry Roloson TRMI Systems Integration 5120 Route 209 | Accord, NY 12404-0010 T 845-626-8655 | M 845-853-9201 | F 845-626-2492 lrolo...@trmi.com | www.trmi.com On Jul 28, 2009, at 4:1

Re: 0.5 C++ example listener hangs during testing

2009-07-28 Thread Gordon Sim
lroloson wrote: I found some information on the ConnectionSettings, I can see the heartbeat is an integer, but I cannot find the unit of measure. Is the value a count, or a time? I can't find any information that tells me how it is handled. It is an interval, specified in seconds, at which hear

Re: 0.5 C++ example listener hangs during testing

2009-07-28 Thread lroloson
I found some information on the ConnectionSettings, I can see the heartbeat is an integer, but I cannot find the unit of measure. Is the value a count, or a time? I can't find any information that tells me how it is handled. -- View this message in context: http://n2.nabble.com/0.5-C%2B%2B-examp

Re: 0.5 C++ example listener hangs during testing

2009-07-28 Thread Gordon Sim
lroloson wrote: I have the 0.5 broker and direct_producer running on Linux, and I have the 0.5 C++ direct listener example code running in Windows. I have transferred tons of messages, and all seems to be working fine under normal conditions. I am using persistent queues and messages - all work v

0.5 C++ example listener hangs during testing

2009-07-28 Thread lroloson
I have the 0.5 broker and direct_producer running on Linux, and I have the 0.5 C++ direct listener example code running in Windows. I have transferred tons of messages, and all seems to be working fine under normal conditions. I am using persistent queues and messages - all work very well. I am no

Re: Valid Session

2009-07-28 Thread Bill Whiting
On 07/28/2009 10:09 AM, Gordon Sim wrote: Bill Whiting wrote: In the C++ api, is there a method for determining if a session is open and valid? or is the session assumed to be valid if connection.isOpen() is "true"? There is now an isValid() method on the session (it didn't make it into 0

Re: Valid Session

2009-07-28 Thread Gordon Sim
Bill Whiting wrote: In the C++ api, is there a method for determining if a session is open and valid? or is the session assumed to be valid if connection.isOpen() is "true"? There is now an isValid() method on the session (it didn't make it into 0.5 however), but it only tests that the han

Valid Session

2009-07-28 Thread Bill Whiting
In the C++ api, is there a method for determining if a session is open and valid? or is the session assumed to be valid if connection.isOpen() is "true"? //Bill - Apache Qpid - AMQP Messaging Implementation Project: ht

Re: Message and MessageTransfer

2009-07-28 Thread Gordon Sim
ricardlf wrote: Gordon Sim wrote: Do you need to declare them at 'run time'? Or could they be setup as a configuration step prior to starting the application? I need to declare them at run time. Can you give some more detail on the pattern in use? Getting good use cases helps ensure

Re: Message and MessageTransfer

2009-07-28 Thread ricardlf
Gordon Sim wrote: > > > Do you need to declare them at 'run time'? Or could they be setup as a > configuration step prior to starting the application? > > I need to declare them at run time. Please, could you post an example code showing how to do that? Thank you Ricard. -- View this me

Re: Message and MessageTransfer

2009-07-28 Thread Gordon Sim
Hi Ricard, ricardlf wrote: I'm using AMQP API because I need to declare exchanges and I didn't find out how to do this using the JMS interface, if it were possible to declare exchanges with JMS I'll use it. Exchanges are auto-declared when consumers/producers that reference them are created,