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

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.

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

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);

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

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.

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

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.

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:

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

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

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:

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

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

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:

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

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

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

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

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-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

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

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

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-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 host.name.com:10170: The target principal name is incorrect. Best Regards, - Hamid -- View this message in context:

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 Root

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

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:

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:

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

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

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

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

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.

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

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

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

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

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

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:

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

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

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.

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.

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:

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