Re: Local transactions support

2013-06-26 Thread atarutin
If it does, how should I start transaction, commit or rollback? -- View this message in context: http://qpid.2158936.n2.nabble.com/Local-transactions-support-tp7594523p7594602.html Sent from the Apache Qpid Proton mailing list archive at Nabble.com.

Re: Local transactions support

2013-06-26 Thread atarutin
I checked the qpid roadmap and saw that there is no transactions support for AMQP 1.0 even in latest release. Is it because of proton transactions support lack? Could anybody clarify the situation with transactions (local and distributed) in proton? -- View this message in context: http://qpid.

Local transactions support

2013-06-25 Thread atarutin
Does Proton supports local transactions? What shoud I do if I need to send some messages within a transaction? Thanks for help. -- View this message in context: http://qpid.2158936.n2.nabble.com/Local-transactions-support-tp7594523.html Sent from the Apache Qpid Proton mailing list archive at

Re: Creating queues with PROTON messenger

2013-06-25 Thread atarutin
Ted, thank you kindly for complete reply. -- View this message in context: http://qpid.2158936.n2.nabble.com/Creating-queues-with-PROTON-messenger-tp7593967p7594520.html Sent from the Apache Qpid Proton mailing list archive at Nabble.com.

Re: Creating queues with PROTON messenger

2013-06-25 Thread atarutin
Yes, I am using ActiveMQ. But it doesn't means. Do you mean that I can create queues only with server specific instruments and there is no ways to create queues via proton lib? -- View this message in context: http://qpid.2158936.n2.nabble.com/Creating-queues-with-PROTON-messenger-tp7593967p75

Re: Creating queues with PROTON messenger

2013-06-25 Thread atarutin
Hi, Folks. I still need an example. If messenger cann't create queues or topics, I think it might be possible via low-level proton methods. But I don't familiar enough with AMQP specification. Could anybody help me please? -- View this message in context: http://qpid.2158936.n2.nabble.com/Creat

Re: Deadlock in pn_messenger_stop? (C Qpid Library)

2013-06-24 Thread atarutin
Hi, Frank. I just had the similar problem. In my case I'm trying to call pn_messenger_stop and the thread hangs. I have only one main thread. So, it seems to be a bug. -- View this message in context: http://qpid.2158936.n2.nabble.com/Deadlock-in-pn-messenger-stop-C-Qpid-Library-tp7594142p7594

Re: Does Messenger API supports SSL?

2013-06-12 Thread atarutin
Ken, thank you for help. Your answers made me think about problems with properly ssl configuration on server side. I cheched it out and my assumption has confirmed, there were no certificates. I've configured ssl and now all the communication between server and client works well over ssl. Thank you

Re: Does Messenger API supports SSL?

2013-06-11 Thread atarutin
Here it is: CONNECTED(04E4) write to 0x1ec28a0 [0x1ef26a0] (321 bytes => 321 (0x141)) - 16 03 01 01 3c 01 00 01-38 03 03 51 b7 37 bc 04 <...8..Q.7.. 0010 - 28 3c bd 2c 32 55 20 98-ad ef d8 de a2 33 57 30 (<.,2U ..3W0 0020 - 81 b0 91 d2 91 a4 ba 10-b7 97 34 00 00 a0 c0 30 ...

Re: Does Messenger API supports SSL?

2013-06-11 Thread atarutin
That is dump: CONNECTED(04E4) --- no peer certificate available --- No client certificate CA names sent --- SSL handshake has read 7 bytes and written 321 bytes --- New, (NONE), Cipher is (NONE) Secure Renegotiation IS NOT supported Compression: NONE Expansion: NONE --- Could you please help

Re: Does Messenger API supports SSL?

2013-06-11 Thread atarutin
I've just found the problem. Earlier, I compiled proton without SSL support. It was my fail, sorry. But now, I've recompiled proton dll and I've got another error: As for server, I use activemq. While trying to connect to it I see

Re: Does Messenger API supports SSL?

2013-06-11 Thread atarutin
No. I've got an error "SASL header mismatch ...". Maybe I have to configure messenger fo ssl? -- View this message in context: http://qpid.2158936.n2.nabble.com/Does-Messenger-API-supports-SSL-tp7593987p7593989.html Sent from the Apache Qpid Proton mailing list archive at Nabble.com.

Does Messenger API supports SSL?

2013-06-11 Thread atarutin
Hello. Does anybody can explain how should I work with an AMQP server over SSL connection? Does PROTON already supports AMQP over SSL? I've not found any examples. Thanks in advance. -- View this message in context: http://qpid.2158936.n2.nabble.com/Does-Messenger-API-supports-SSL-tp7593987.h

Creating queues with PROTON messenger

2013-06-10 Thread atarutin
I've read a lot about AMQP protocol and it seems that specification of protocol supports dynamic creation of queues. Could anybody help me please with an example of queue create through PROTON API? I didn't find any creational method around the messenger but I still think it is possible without mes

Re: Receiving messages with PROTON messenger

2013-06-10 Thread atarutin
It works, thank you. But now sometimes I get more messages then I wanted to get. -- View this message in context: http://qpid.2158936.n2.nabble.com/Receiving-messages-with-PROTON-messenger-tp7593934p7593952.html Sent from the Apache Qpid Proton mailing list archive at Nabble.com.

Re: Receiving messages with PROTON messenger

2013-06-10 Thread atarutin
You unserstood me correctly. But suggested solution doesn't work. What I did: pn_messenger_t* messenger = pn_messenger(); pn_messenger_start(messenger); pn_messenger_subscribe(_pm.messenger, ); pn_messenger_set _timeout(messenger, 1000); int _getco

Receiving messages with PROTON messenger

2013-06-07 Thread atarutin
Hello all. I am using proton to work with qpid and activemq. Send and receive examples helped me to understand how I should work with messenger. But the problem is in receiving messages and I wonder does it only my problem or a common bug? The common template of receive code, that was described in