RE: Using QPID behind HTTP proxy

2016-08-26 Thread rat...@web.de
Thanks for the reply ;) I have read into the AMQP over WebSockets specs. However it seems that it only supports AMQP 1.0 right? I am using the c++ messaging API which (I think) only supports 0-9? Anyhow, it would require me to manually send the AMQP commands using websockets right? I was searching

Using QPID behind HTTP proxy

2016-08-25 Thread rat...@web.de
Hello, in my c++ application several computations are performed on a remote server. I have implemented this using QPID and everything works fine if a direct internet connection is available. However, some of my clients use a HTTP proxy to access the internet. Is there any possibility to tell QPID (

Re: Max Frame Size for Java Broker

2016-04-06 Thread rat...@web.de
>From my point of view for a solution it should have been enough for the clients to connect with max-frame-size accordingly set to 16K without modifying the broker. However, this is not working (the client hangs if sending messages larger than 16K). Meanwhile I got it working: Solution was: 1.) N

Re: SSL maximum message size?

2016-04-06 Thread rat...@web.de
Meanwhile I got it working: Solution was: 1.) No need to modify the client c++ api 2.) Don't set max-frame-size in the client (i.e. in connection options) 3.) Modify the java broker to have a max-frame-size of 0x3FFF instead of 0X in org/apache/qpid/server/protocol/v0_10/ServerConnectionDeleg

Re: Max Frame Size for Java Broker

2016-04-06 Thread rat...@web.de
Hi, thanks for your feedback. This already helps me a lot. Appearantly I was doing the changes at the wrong positions (ServerDelegate.java instead of ServerConnectionDelegate.java of the 0-10 protocol). I'll redo my experminents. If it's not working I'll generate the corresponding client / broker

Max Frame Size for Java Broker

2016-04-05 Thread rat...@web.de
Is there any option to set the max frame size of the java broker? Appearantly there was an option qpid.broker_frame_size (see https://qpid.apache.org/releases/qpid-0.32/java-broker/book/Java-Broker-Appendix-System-Properties.html) but it does not seem to be implemented (anymore?). Background of my

Re: SSL maximum message size?

2016-04-01 Thread rat...@web.de
True, for the trace I have left the maxFrameSize to its default value(appearantly 64). After this I tested with other frame size options in the connection (max-frame-size:16384 or 8192) I attached a new trace with the 16K setting, the effect is the same (endless loop) Trace16K.txt

Re: SSL maximum message size?

2016-04-01 Thread rat...@web.de
I also tried with max-frame-size 16K or 8K but this does not seem to fix the problem. I also attached a protocol trace as well as a minimum example to reproduce the error. Maybe this is of help to someone. I also tried to understand what exactly is happening within qpid but it is very hard for me t

RE: SSL maximum message size?

2016-03-31 Thread rat...@web.de
Yes, fixing the bug would of course make the most sense. Just one more question: In a comment on https://issues.apache.org/jira/browse/QPID-2410 you wrote "In a debugger session I forced the AMQP tune max frame size to 16K and things went swimmingly from there." Maybe I could first try if this sol

RE: SSL maximum message size?

2016-03-31 Thread rat...@web.de
Hm, this is really getting me into trouble because I need to send encrypted messages of larger sizes than 16k. Is there really no other option, e.g. to link qpid with alternative SSL implementations like OpenSSL or NSS? Could I split up messages into smaller parts and send somehow guarantee that th

Re: SSL maximum message size?

2016-03-31 Thread rat...@web.de
Sure, I'll do that asap. Meanwhile, I found a bug report that seems to be very related (its from 2010 but appearantly still unfixed) https://issues.apache.org/jira/browse/QPID-2410 Even the 16K message size seems to be consistent with my tests. I did not fully understand the comments in the bug rep

Re: SSL maximum message size?

2016-03-31 Thread rat...@web.de
Both c++ client and server are running on Windows 10 64 bit. AMQP version is 0-10. The qpid java message broker is running on Ubuntu, but I suspect that the bug is already on the c++ client / server side. Any hints how to resove this issue? Thx for your help... -- View this message in context:

Re: SSL maximum message size?

2016-03-31 Thread rat...@web.de
By the way, I'm using the Java Broker version 6.0.1 together with the qpid c++ messaging api. -- View this message in context: http://qpid.2158936.n2.nabble.com/SSL-maximum-message-size-tp7641114p7641115.html Sent from the Apache Qpid users mailing list archive at Nabble.com. -

SSL maximum message size?

2016-03-31 Thread rat...@web.de
Hi, I have noticed that there seems to be a maximum message size if connecting via ssl. I have a request-reply pattern where the client sends a text and the server answers with the identical text. When connecting via "amqp:tcp:servername:5672" I can increase the message length as much as I want. Wh

Re: Heartbeating - Java broker

2016-01-21 Thread rat...@web.de
Thanks, this was very helpful -- View this message in context: http://qpid.2158936.n2.nabble.com/Heartbeating-Java-broker-tp7636881p7636966.html Sent from the Apache Qpid users mailing list archive at Nabble.com. - To unsubscr

Re: Heartbeating - Java broker

2016-01-21 Thread rat...@web.de
Sure, the trace is here Log.txt >From what I can see in the log, appearantly heartbeats are correctly sent and received by the client. I was assuming that if my client locks in an endless loop no heartbeat signals are addressed. So appea

Heartbeating - Java broker

2016-01-20 Thread rat...@web.de
Hi, I'm having a problem to find out how heartbeating exactly works for the java broker (or how to enable it). Via the http management I configured the broker to have a "heartbeat delay" of 5s (this was the only option I could find to somehow enable heartbeating). My test client connects also with

Re: Several issues with the Java Broker

2016-01-20 Thread rat...@web.de
Ok, I was able to produce a protocol trace with trace+ The situation is as follows: First the client is started. The broker is not active and thus the client is trying to reconnect. Then, after a while, I start the broker. When the broker is almost booted completely, the client receives the corresp

Re: Several issues with the Java Broker

2016-01-19 Thread rat...@web.de
Thx for the answer. Im using the newest qpid messaging api (c++), v0.34 together with the newest Java broker (6.0.0). The protocol is AMQP 0-10. I'm afraid that I can't generate a protocol trace with the c++ api, right? But indeed the startup phase of the broker seems to be the problem. If it's not

Re: Java broker - Dynamically add user

2016-01-17 Thread rat...@web.de
Great! Thanks, this helps a lot. Especially the tip with firebug.. Is it also possible to add new users using qmf? -- View this message in context: http://qpid.2158936.n2.nabble.com/Java-broker-Dynamically-add-user-tp7636651p7636727.html Sent from the Apache Qpid users mailing list archive at N

Several issues with the Java Broker

2016-01-17 Thread rat...@web.de
Hi, I'm having several problems with the Java broker: 1.) Reconnect functionality: If I specify the reconnect:True option for my connection, the client tries to reconnect to the broker if the connection is lost (which is correct). However, as soon as the broker is back online and the client would

Re: Java broker - Dynamically add user

2016-01-16 Thread rat...@web.de
Thanks, helped me a lot and its working great! Is the format of the POST parameters documented somewhere? E.g. how can I know that the "password" parameter in '{"name":"mynewuser1","password":"secret"}' is valid. If opening http://localhost:8080/api/latest/user/passwordFile on a webserver, I can se

Java broker - Dynamically add user

2016-01-15 Thread rat...@web.de
How is it possible to add a user dynamically without having to restart the broker? Probably the REST API could help me here. However, I cannot find any information how such a call would look like. Would be glad if anyone could point me to the right direction. -- View this message in context: h

Re: C++ API - Check whether queue exists

2016-01-13 Thread rat...@web.de
Thx for the answer. The problem is, if I catch the exception then the whole session seems to be invalid afterwards. The same exception is then thrown again when e.g. calling session.reject(request) in the catch block. How can I reject the request if the reply-to field is invalid? Regarding QMF, co

C++ API - Check whether queue exists

2016-01-13 Thread rat...@web.de
Hi, I am using the C++ messaging API for QPID to realize an remote-procedure-call (RPC) via a request-reply pattern (see https://qpid.apache.org/releases/qpid-0.24/programming/book/ch02s12.html) The client pushes to a service-queue and generates an reply-queue. The server reads from the service-qu