Re: usage of message selectors in C++ Qpid 0.28 client (amqp 1.0)

2015-02-02 Thread Hamid.Shahid
Thank you everyone for your feedback. - Best Regards, Hamid. -- View this message in context: http://qpid.2158936.n2.nabble.com/usage-of-message-selectors-in-C-Qpid-0-28-client-amqp-1-0-tp7619011p7619343.html Sent from the Apache Qpid users mailing list archive at Nabble.com. -

ActiveMQ (JMS) Broker unable to handle the C++ selectors using Qpid 0.28 & AMQP 1.0

2015-02-02 Thread Hamid.Shahid
Hi, It seems that selector (filters) configured this works fine with Qpid C++ broker, but doesn't really work with ActiveMQ (JMS). The filter seems to be present in the attach commands, but seems to be ignored by the broker. 2015-01-30 16:00:50 [Protocol] trace [19d9dcef-2e7c-4738-b549-e8a3c5737c

usage of message selectors in C++ Qpid 0.28 client (amqp 1.0)

2015-01-28 Thread Hamid.Shahid
Hi, Is there any equivalent of JMS 'messageSelector' in QPID 0.28 C++ client API using AMQP 1.0 protocol? For example in JMS we can create a message receiver like this; consumer = session.createConsumer(consumerDestination, uniqueAppID) I want to create a similar one in C++ and this is how I am

Re: QPid 0.28 amqp1.0 Java vs C++ client

2015-01-08 Thread Hamid.Shahid
Thank you for explaining this difference. - Best Regards, Hamid. -- View this message in context: http://qpid.2158936.n2.nabble.com/QPid-0-28-amqp1-0-Java-vs-C-client-tp7618131p7618150.html Sent from the Apache Qpid users mailing list archive at Nabble.com.

Re: QPid 0.28 amqp1.0 Java vs C++ client

2015-01-08 Thread Hamid.Shahid
Thanks Gordon, But is it better to use /message.setContent(msgString)/ or to use /message.setContentObject(msgString)/? - Best Regards, Hamid. -- View this message in context: http://qpid.2158936.n2.nabble.com/QPid-0-28-amqp1-0-Java-vs-C-client-tp7618131p7618141.html Sent from the Apache Q

QPid 0.28 amqp1.0 Java vs C++ client

2015-01-08 Thread Hamid.Shahid
Hi, I have the following java jms code which sends a string message with with some properties to a broker and this works fine. /TextMessage message = session.createTextMessage(msgString); String correlationId = "abc1"; message.setJMSCorrelationID(correlationId); message.setObjectProperty("Message

Re: QPID 0.28 C++ Client : Subscribtion to Queues or Topics (AMQP 1.0)

2014-09-24 Thread Hamid.Shahid
This works :) Thanks Gordon! - Best Regards, Hamid. -- View this message in context: http://qpid.2158936.n2.nabble.com/QPID-0-28-C-Client-Subscribtion-to-Queues-or-Topics-AMQP-1-0-tp7614162p7614168.html Sent from the Apache Qpid users mailing list archive at Nabble.com. ---

QPID 0.28 C++ Client : Subscribtion to Queues or Topics (AMQP 1.0)

2014-09-24 Thread Hamid.Shahid
Hi,Please let me know, if there is a way to add destination type prefix, 'queue' or 'topic' while subscribing to a Queue or Topic using QPID 0.28 (amqp 1.0) C++ Client.For example, ActiveMQ uses queue:// or topic:// prefixes. Kind Regards,Hamid Shahid - Best Regards, Hamid. -- View this mess

Re: Qpid throwed WSAENOBUFS while receiving data from a broker

2013-08-01 Thread Hamid.Shahid
Hi Jakub, It is really good to know that increasing the BufferCount value to 5 helps to resolve the problem. Should we double the BufferCount from 4 to 8 instead? Or do you thing there any be any negative effects of doing this? Thanks - Best Regards, Hamid. -- View this message in context

Re: Qpid throwed WSAENOBUFS while receiving data from a broker

2013-08-01 Thread Hamid.Shahid
Hi Jakub, Thank you for investigation and keeping the thread alive. I hope we will get to a conclusion soon about how to fix this. - Best Regards, Hamid. -- View this message in context: http://qpid.2158936.n2.nabble.com/Qpid-throwed-WSAENOBUFS-while-receiving-data-from-a-broker-tp7592938

Re: Qpid throwed WSAENOBUFS while receiving data from a broker

2013-07-29 Thread Hamid.Shahid
It is the same case for us, we have seen this issue in production environment more then 10 times using Qpid 0.18. After reading the post, I went through the code of QPID 0.18 and I found that there is no BufferCount specified. Now, I have downloaded the latest QPID 0.22 C++ version on windows 7 a

RE: Qpid throwed WSAENOBUFS while receiving data from a broker

2013-07-24 Thread Hamid.Shahid
Hi Gene / Steve, We are having this issue once or twice every week in QPID 0.18 windows client. Have you guys got a chance to test this after increasing BufferCount in qpid/cpp/src/qpid/sys/AsynchIO.h? If yes, can you please share patch? Thank you! - Hamid - Best Regards, Hamid. -- Vi

Re: Qpid 0.18 - SSL & C++ Client API for Windows

2012-10-29 Thread Hamid.Shahid
Hi Jackob, Thank you for the updates. If I build my own version of C++ client for windows by applying SASL EXTERNAL patch. Should it be able to support the Client certificate authentication? or Do you know if it worked for someone? Best Regards, Hamid - Best Regards, Hamid. -- View this m

Re: Qpid 0.18 - SSL & C++ Client API for Windows

2012-10-24 Thread Hamid.Shahid
Hi Steve, Is this link up-to-date? Its still saying "*Client certificate authentication is not supported at this time*". Is this still true? even in Qpid-0.18? Thanks. Best Regards, Hamid. -- View this message in context: http://qpid.2158936.n2.nabble.com/Qpid-0-18-SSL-C-Client-API-for-W

Qpid 0.18 - SSL & C++ Client API for Windows

2012-10-19 Thread Hamid.Shahid
Hi, I would like to know, do we have support for reading file based certificates in Qpid C++ Client API for windows as we do using Qpid & JMS? Moreover, is there some documentation available explaining how to configure Qpid C++ client with SSL in windows? Best Regards, Hamid -- View this mes

Re: [ANNOUNCE] Apache Qpid 0.18 released

2012-09-17 Thread Hamid.Shahid
Hi Robbie Thats great to know. Does the latest version now supports the SSL connectivity for C++ windows client? Thank you. -Hamid -- View this message in context: http://qpid.2158936.n2.nabble.com/ANNOUNCE-Apache-Qpid-0-18-released-tp7581653p7582238.html Sent from the Apache Qpid users ma

Re: How to configure JMS QPID client application to log on windows event viewer

2012-09-05 Thread Hamid.Shahid
Hi Alex, Thank you for the suggestions. Actually, I came across this NTEventLogAppender while searching for the solution on google. However, I was not able to find the required .dlls anywhere on my system or web. Any suggestions from where I can get these dll’s? Kind Regards, Hamid -- View th

How to configure JMS QPID client application to log on windows event viewer

2012-09-04 Thread Hamid.Shahid
Hi, Is it possible to configure JMS QPID client application to log error/warnings on windows event viewer. Thank you. - Hamid. -- View this message in context: http://qpid.2158936.n2.nabble.com/How-to-configure-JMS-QPID-client-application-to-log-on-windows-event-viewer-tp7581631.html Sent f

Re: Is possible to start reading a message queue from a specific message number

2012-09-04 Thread Hamid.Shahid
Hi Gordon, Thank you for your suggestions. Yes, I am using JMS. Can you please describe more about the selectors? and How can they be used? Moreover, How can I subscribe to a queue existing on the Qpid server, by creating a topic on the client end? - Hamid -- View this message in context: h

Re: QPID (JMS) - What is the best way to check if the connection is still valid?

2012-08-27 Thread Hamid.Shahid
Hi, Is it possible for the JMS QPID client application to log the connection error/warning in the event log? Thanks. - Hamid -- View this message in context: http://qpid.2158936.n2.nabble.com/QPID-JMS-What-is-the-best-way-to-check-if-the-connection-is-still-valid-tp7578072p7581303.html Sent

Is possible to start reading a message queue from a specific message number

2012-08-27 Thread Hamid.Shahid
Hi, I am trying to read a message queue in the 'browse' mode, using following connection properties; { node: { type: queue }, create: never, assert: never, mode: browse } Everytime, I read the queue it starts from the message#1 to message#n, since it is in browsing mode. Is it possible that I

Re: QPID (JMS) - What is the best way to check if the connection is still valid?

2012-05-31 Thread Hamid.Shahid
Thank you Keith and Rajith... -- View this message in context: http://qpid.2158936.n2.nabble.com/QPID-JMS-What-is-the-best-way-to-check-if-the-connection-is-still-valid-tp7578072p7578194.html Sent from the Apache Qpid users mailing list archive at Nabble.com.

QPID (JMS) - What is the best way to check if the connection is still valid?

2012-05-28 Thread Hamid.Shahid
Hi, I am using Qpid in a java application (JMS). I am creating a connection object to connect with the borker and to read messages from the queue, I am using MessageListener. Everything is working fine. When I lose the connection with the broker, the qpid logs the exceptions and tries to reconnect

RE: SSL Client Authentication support for C++ on Windows

2012-04-23 Thread Hamid.Shahid
That will be great, Steve. Thanks! -- View this message in context: http://qpid.2158936.n2.nabble.com/SSL-Client-Authentication-support-for-C-on-Windows-tp7350387p7491471.html Sent from the Apache Qpid users mailing list archive at Nabble.com.

Re: SSL Client Authentication support for C++ on Windows

2012-04-19 Thread Hamid.Shahid
Hi Michal, Thats great, awsome job! @ Steve - Would it be possible to add these updates in the next offical version of QPID? Thank you. regards, Hamid -- View this message in context: http://qpid.2158936.n2.nabble.com/SSL-Client-Authentication-support-for-C-on-Windows-tp7350387p7479736.html

Re: SSL Client Authentication support for C++ on Windows

2012-03-08 Thread Hamid.Shahid
Hi Jakub, Yes, I can understand the point a , b... and definately the point c :) Great Job! Best Regards, Hamid. -- View this message in context: http://qpid.2158936.n2.nabble.com/SSL-Client-Authentication-support-for-C-on-Windows-tp7350387p7354388.html Sent from the Apache Qpid users mailin

Re: SSL Client Authentication support for C++ on Windows

2012-03-07 Thread Hamid.Shahid
Thats awsome... It would be ideal case if we can have support for file based certificates as well. thanks Jakub! -- View this message in context: http://qpid.2158936.n2.nabble.com/SSL-Client-Authentication-support-for-C-on-Windows-tp7350387p7352312.html Sent from the Apache Qpid users mailin

Re: warning Connect failed

2012-02-02 Thread Hamid.Shahid
Hi Cliff, Yes, actually I am also tyring to create a separate C++ program to test this connection problem using SChannel but that is also not working. I am also thinking to contact Steve abou this, but I think he is very busy to reply. Thank you for the suggestions. - Hamid -- View this messag

Re: warning Connect failed

2012-02-01 Thread Hamid.Shahid
P.S. I have also tried it with the host name and get the following error; 2012-01-25 18:08:09 notice SSL negotiation failed to :10170: The target principal name is incorrect. Best Regards, - Hamid -- View this message in context: http://qpid.2158936.n2.nabble.com/warning-Connect-failed-tp722998

Re: warning Connect failed

2012-02-01 Thread Hamid.Shahid
*Hi Jakub,* Thank you for explaining the chrome related issue. Basically, my application will run as a console application rather like a service but I will discuss with the server/broker side regarding the CA and Trusted Peer thing you mentioned. *Hi Cliff, * Unfortunately, the server (broker)

Re: warning Connect failed

2012-01-31 Thread Hamid.Shahid
Hi, Thank you for the valueable suggestions; *@ Jakub :* " I have a public key of the certificate (signed by verisign) provided by the server side and I also have a self-signed certificate (including public/private key). I have imported all these things in the windows "Third-Party Roo

Re: warning Connect failed

2012-01-30 Thread Hamid.Shahid
Hi Gordon, Yes, I have supplied the fully qualified name of the certificate. I also tired to hard code the name in the function"/ClientSslAsynchIO::negotiateStep(BufferBase* buff)/", but I am getting the same error. Which is generated from the following line of code in SslAsynchIO.cpp for the cli

warning Connect failed

2012-01-27 Thread Hamid.Shahid
Hi, I am getting the following error when I try to connect via my client code. After placing all the certificates in the "Third-Party Root Certification Authorities" 2012-01-25 18:08:09 notice SSL negotiation failed to :10170: The target principal name is incorrect. 2012-01-25 18:08:09 warnin

RE: Questions regarding Qpid C++ windows client

2012-01-26 Thread Hamid.Shahid
Hi Steve, I know and I can understand you are very busy since you are not posting much these days. I just hope that you find sometime soon to answer these questions. Waiting... Many thanks. -Hamid -- View this message in context: http://qpid.2158936.n2.nabble.com/Questions-regarding-Qpid-C-w

Re: Questions regarding Qpid C++ windows client

2012-01-25 Thread Hamid.Shahid
Thank you Jakub. The forum is not active these days or it seems like, I am the only one in the whole world working with Qpid in C++ on Windows. regards, - Hamid -- View this message in context: http://qpid.2158936.n2.nabble.com/Questions-regarding-Qpid-C-windows-client-tp7220897p7224445.html

Re: How/Where to run the perftest setup?

2012-01-25 Thread Hamid.Shahid
I also get this error when I try to connect via my client code. After placing all the certificates in the "Third-Party Root Certification Authorities" 2012-01-25 18:08:09 notice SSL negotiation failed to 90.154.253.31:10170: The target principal name is incorrect. 2012-01-25 18:08:09 warning Conne

Re: Questions regarding Qpid C++ windows client

2012-01-25 Thread Hamid.Shahid
Hi Jakub, Can you please, let me know how you have used the SSL client athuntication on windows using C++? Also, can you please provide your comments on my questions above? Many thanks! - Hamid -- View this message in context: http://qpid.2158936.n2.nabble.com/Questions-regarding-Qpid-C-windo

Questions regarding Qpid C++ windows client

2012-01-24 Thread Hamid.Shahid
Hello Everybody! Actually, I am trying to make a Qpid C++ client work on windows with a remote server (not developed by me). I have got a public key certificate from the server side and I have sent my public key to them. Now, I need to establish a SSL connection with the server, using my certifica

RE: How to extract SSL_CTX in the ClientSslAsynchIO::startNegotiate() function in Qpid C++ client code

2012-01-23 Thread Hamid.Shahid
Hi Steve, Thanks for replying back. Please reply about following questions as well; Actually, I am trying to make a Qpid C++ client work on windows with a remote server (not developed by me). I have got a public key certificate from the server side and I have sent my public key to them. Now, I ne

How to extract SSL_CTX in the ClientSslAsynchIO::startNegotiate() function in Qpid C++ client code

2012-01-23 Thread Hamid.Shahid
Hi Everyone! I am trying to override the SSL connectivity in Qpid C++ client on windows, so that it can use the certificate files and private keys as it does with JMS. While debugging the code I came to the conclusion that I need to modify the code for /ConnectionSettings /to add more fields in it

Re: How/Where to run the perftest setup?

2012-01-19 Thread Hamid.Shahid
Hi Chuck, Thank you for the reply. I have found the "qpid-perftest.exe" and tried to run the test again. But I get nothing in the output now. Means, when I execute the following command with actual values for IP and Port, console hangs for 2-3 seconds and returns back and nothings happen. qpid-pe

How/Where to run the perftest setup?

2012-01-18 Thread Hamid.Shahid
Hi, I am trying to folow the steps mentioned for setting up SSL on windows from the following link. https://svn.apache.org/repos/asf/qpid/trunk/qpid/cpp/SSL However, I am not sure how/from where should execute the perftest. I tried to execute this on console but it was not recognized command.

Steps to setup a C++ QPID Client with SSL on Windows

2012-01-13 Thread Hamid.Shahid
Hi, I want to setup a C++ Qpid client (desktop) application on windows, which should support SSL communication such that I can specify the certifactes,private key, password etc. and their paths within the application. Please let me know the steps how to achive this and the version of Qpid which

How to set connection properties in QPID C++ (windows)

2011-12-01 Thread Hamid.Shahid
Hi, I am creating a qpid client in C++ using qpid0.12 on windows-7. I want to create a SSL connection and I want to set the following "SSL Client Variables for C++" *explicitly* in my code. SSL_USE_EXPORT_POLICY SSL_CERT_PASSWORD_FILE PATH : /File containing password to use for accessing certif

RE: Building 64bit Client in C++

2011-11-29 Thread Hamid.Shahid
Hi Steve, Thank you for replying back. This means, finally I have been able to built the 64-bit version of Qpid-0.12 for Windows. Please let me know how and where can I put all these .libs and .dlls, so that other window users can get a jump start. I will also put all the boost [headers, libs

Re: Building 64bit Client in C++

2011-11-29 Thread Hamid.Shahid
Hi Chuck, Thank you so much for pointing this out, I was struggleing badly with all those 200+ errors. Now, I have successfully built 64bit version of Qpid-0.12 for Windows. However, I am not sure yet, if SSL.MK is the part of standard makelists. I am not able to find SSL related hearder files (i.

Building 64bit Client in C++

2011-11-28 Thread Hamid.Shahid
Hi, I have dowloaded the source "qpidc_0.12-ppa3.tar.gz", and I am trying to compile it using VS-2008 in 64 bit. But I am getting 250+ errors. Somefiles are missing some things are defined twice etc. Please tell me, what specific files are needed to build only the libs require to code a client ap

Re: How to configure SSL in Qpidd C++ Windows Client

2011-11-24 Thread Hamid.Shahid
Hi Jakub and Steve, Thank you for the detailed information. I would like to contribute to the community, but actually I am very new to this and I have never build any open source liberaries. Can you please me guide me through with detailed steps regarding how can I build the latest 64-bit verios

Re: How to configure SSL in Qpidd C++ Windows Client

2011-11-23 Thread Hamid.Shahid
Hi Jakub, I might sound in a complaint mode but I also have the same questions . Because so far, I have searched a lot but I didn’t come across complete step by step process of setting up SSL in C++ Windows. I have noticed there is not much support available for windows in particular for C++. The

How to configure SSL in Qpidd C++ Windows Client

2011-11-17 Thread Hamid.Shahid
Hi, I am running a broker on my windows machine and I am trying to make a Qpidd client in C++ on windows environment. I want to implement enable SSL on my client and I am not yet able to find out how to pass the certificate information to the connection object. I am doing something like following,

Re: broker clustering with SSL?

2011-11-17 Thread Hamid.Shahid
Hi Paul, I am running a broker on my windows machine and I am trying to make a Qpidd client in C++ on windows environment. I want to implement enable SSL on my client and I am not yet able to find out how to pass the certificate information to the connection object. I am doing something like follo

Re: Using SSL Certificate in Qpid C++ Client

2011-11-15 Thread Hamid.Shahid
Hi Jakub, Thanks. -- View this message in context: http://apache-qpid-users.2158936.n2.nabble.com/Using-SSL-Certificate-in-Qpid-C-Client-tp6986158p6996758.html Sent from the Apache Qpid users mailing list archive at Nabble.com. ---

RE: Using SSL Certificate in Qpid C++ Client

2011-11-15 Thread Hamid.Shahid
Hi Steve, I tried to search it on MSDN but have not fine any useful code example. There was a lot of description but not something specific in terms of which liberaries to use for importing SSL certificate. As, I want to have my client application athunditcated from the server, and for that I will

Re: Using SSL Certificate in Qpid C++ Client

2011-11-15 Thread Hamid.Shahid
Hi Gordon, Thank you for the following link, I havent read that before... I think it will work. regards, Hamid. -- View this message in context: http://apache-qpid-users.2158936.n2.nabble.com/Using-SSL-Certificate-in-Qpid-C-Client-tp6986158p6996735.html Sent from the Apache Qpid users mailing l

Re: Using SSL Certificate in Qpid C++ Client

2011-11-15 Thread Hamid.Shahid
Hi Jakub, Thank you so much for a detailed reply. I am using Windows environment. Can you pleaase explain how I can use SSL certificates in windows enviorment using C++. Thanks. regards, Hamid. -- View this message in context: http://apache-qpid-users.2158936.n2.nabble.com/Using-SSL-Certificat

RE: Apache Qpid 0.10 --- 64bit Version

2011-11-11 Thread Hamid.Shahid
Thanks Steve. I came back here after a long time as I started working with the 32-bit version of the Qpid 0.10 API for windows. Please let me know, if you have any update regarding 64-bit version of the API for the windows. regards, Hamid. -- View this message in context: http://apache-qpi

Using SSL Certificate in Qpid C++ Client

2011-11-11 Thread Hamid.Shahid
Hi, I have writted a Qpid messaging client in C++ and I need to use the private key of a SSL certificate created by using java "keytool". Please let me know, how can I use a SSL certificate in my C++ client and how can public and private keys of the certificates can be utilized in the code. Tha

Re: Apache Qpid 0.10 --- 64bit Version

2011-10-26 Thread Hamid.Shahid
Thank you, Steve & Chuck... I am having problems in extracting the files Chuck mentioned for VS2008. Also, I want to know that what is the purpose of Boost? because the windows installer I used to install the qpid broker from the link above also created directories like Boost and QPID but I requ

RE: Apache Qpid 0.10 --- 64bit Version

2011-10-25 Thread Hamid.Shahid
Hi Steve, Thank you for your response. Can you please tell me when the release is expected? and what steps are required to make a 64-bit release if I want to try it. regards, Hamid. -- View this message in context: http://apache-qpid-users.2158936.n2.nabble.com/Apache-Qpid-0-10-64bit-Version-tp

Apache Qpid 0.10 --- 64bit Version

2011-10-24 Thread Hamid.Shahid
Hi, I have downloaded Apache Qpid 0.10, 32bit windows installer from the following link and tried to use the libararies with Visual Studio 2008. http://www.riverace.com/qpid/downloads.htm It seems to work when I use win32bit projects. But when I try to compile the project as 64bit, it gives er