Handle session exceptions

2010-05-03 Thread ricardlf
Hi! I'm trying to capture and handle exceptions thrown by a session. I'm using amqp java api that is undocumented, therefore I don't know if there is a method that captures/handles session exceptions. I've found a session method called exception(Throwable T) but I don't know what it does, is that

does the windows qpid client library have support for SSL

2010-05-03 Thread nicolae claudius
I want to add SSL support in my qpid client on windows. On linux I use sslconnector.so module with mozilla security services. Does the windows qpid client library have support for SSL? If yes how can I use it? (links, docs, hints) I am interested in qpid 0.5 mostly, but if you have information

qpid broker require-encryption option and ssl trigger parameter

2010-05-03 Thread nicolae claudius
1. The qpid broker has a parameter: --require-encryption Only accept connections that are encrypted Does this parameter make the AMQP connection encrypted or does it mean that the broker should speak with the saslauth daemon over a secure connection ? It's a pretty

Re: qpid broker require-encryption option and ssl trigger parameter

2010-05-03 Thread Ján Sáreník
Hello, On Mon, May 03, 2010 at 06:46:17AM -0700, nicolae claudius wrote: 1. The qpid broker has a parameter: --require-encryption Only accept connections that are encrypted That one should mean only SSL-enabled AMQP connections are accepted. Best regards, Ján

RE: does the windows qpid client library have support for SSL

2010-05-03 Thread Steve Huston
Hi Nicolae, I want to add SSL support in my qpid client on windows. On linux I use sslconnector.so module with mozilla security services. Right. Does the windows qpid client library have support for SSL? If yes how can I use it? (links, docs, hints) I am interested in qpid 0.5 mostly, but

Re: qpid broker require-encryption option and ssl trigger parameter

2010-05-03 Thread Rajith Attapattu
2010/5/3 Ján Sáreník jsare...@redhat.com: Hello, On Mon, May 03, 2010 at 06:46:17AM -0700, nicolae claudius wrote: 1. The qpid broker has a parameter:   --require-encryption      Only accept connections that are  encrypted That one should mean only SSL-enabled AMQP connections are

Send data row as message using Qpid client

2010-05-03 Thread Steve Olson
Hello, I'm must getting acquainted with qpid. Have read the AMQP spec (0-10) and the messaging tutorial from red hat. I'm wondering how to send/ receive a message containing one or more data rows from a database (multiple datatypes) -- the qpid client api documentation isn't especially

Re: Send data row as message using Qpid client

2010-05-03 Thread Jonathan Robie
On 05/03/2010 04:47 PM, Steve Olson wrote: Hello, I'm must getting acquainted with qpid. Have read the AMQP spec (0-10) and the messaging tutorial from red hat. I'm wondering how to send/receive a message containing one or more data rows from a database (multiple datatypes) -- the qpid

Re: Send data row as message using Qpid client

2010-05-03 Thread Steve Olson
Thanks for the quick reply. I'll check out the link. Am programming in C/C++. Regards, Steve On May 3, 2010, at May 3, 2010 5:02 PM, Jonathan Robie wrote: On 05/03/2010 04:47 PM, Steve Olson wrote: Hello, I'm must getting acquainted with qpid. Have read the AMQP spec (0-10) and the

Re: Send data row as message using Qpid client

2010-05-03 Thread Jonathan Robie
On 05/03/2010 05:06 PM, Steve Olson wrote: Thanks for the quick reply. I'll check out the link. Am programming in C/C++. OK, in C++ you use a Variant::Map - a sender adds map entries, then encodes it into a message. A receiver decodes the message content into a map, where it can be read by

RE: Send data row as message using Qpid client

2010-05-03 Thread Donohue, Matt
I assume you are using Red Hat Messaging? If you install the rpm rhm-docs it will install an examples directory for each language in /usr/share/doc/rhm-0.5. Regards, matt -Original Message- From: Steve Olson [mailto:ol...@sybase.com] Sent: Monday, May 03, 2010 4:06 PM To:

RE: Send data row as message using Qpid client

2010-05-03 Thread Birdsall, Dave
Hi, Another possibility for sending data rows over Qpid is to use some serialization layer on top of Qpid, e.g. Google protocol buffers. Regards, Dave -Original Message- From: Donohue, Matt [mailto:mdono...@structure-tech.com] Sent: Monday, May 03, 2010 2:13 PM To:

Re: Send data row as message using Qpid client

2010-05-03 Thread Steve Olson
Thanks everyone for the replies. It looks like the map interface could do the job nicely. Is there some advantage to going another route? Note that it will not be known at compile time what the data row is going to look like; it will be obtained from the database during program execution.