C-ansi client example

2009-07-30 Thread Marcos Fogaca
Hi, Somebody have an example sending and receiving a message in C-ansi? I tryed with C++ with success, but for my purposes I need to send and consume messages with C-ansi Any tip will be appreciated. -- Regards, Marcos Fogaa Integral Sistemas Telefone 11 3205-6000 Fax 11

Re: 0.5 C++ example listener hangs during testing

2009-07-30 Thread lroloson
I have added some reconnect logic to the example listener that I am running on windows, and now when the connection is broken the listener reconnects and I can continue receiving messages. At this point I have not detected any missing messages. I have received one duplicate message, but I believe

RE: C-ansi client example

2009-07-30 Thread Steve Huston
Hi Marcos, There aren't any C bindings with Qpid today - you could write C wrappers around the C++ API though. Or possibly around one of the other languages, but you'll need to wrap something to get a C API. -Steve -Original Message- From: Marcos Fogaca

RE: 0.5 C++ example listener hangs during testing

2009-07-30 Thread Wes Parish
I have seen similar problems (although no out of order messages so far). I am testing on RHEL5.3 using the C++ API with a MessageReplayTracker to handle failover, and after a failover I am calling replay(). This scenario is a consumer consuming as fast as possible, a producer producing 5k

Re: 0.5 C++ example listener hangs during testing

2009-07-30 Thread Gordon Sim
lroloson wrote: I have added some reconnect logic to the example listener that I am running on windows, and now when the connection is broken the listener reconnects and I can continue receiving messages. At this point I have not detected any missing messages. I have received one duplicate

Re: Message and MessageTransfer

2009-07-30 Thread Rajith Attapattu
You could do the following to create a destination object during runtime. Destination = new AMQDestination(binding-url) However this means you will be using a Qpid specific construct to create a JMS destination. The advantage here is that you could create your binding URL at runtime according