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:

Question on Composite Type Notation in AMQP 1.0

2013-08-01 Thread Rakesh Kushwaha
Hi , AMQP 1.0 defines below elements for defining Composite type filed Notation . name Type requires default label mandatory multiple I have question on Type where AMQP says it can be specific type or '*' . I want to know what is meaning of * . does this includes all amqp types , primitive

Question on amqp 1.0 payload Type ??

2013-08-01 Thread Rakesh Kushwaha
Hi , As Per amqp 1.0, below types are supported for payload part of amqp . 3.2.6 Data type name=data class=restricted source=binary provides=section descriptor name=amqp:data:binary code=0x:0x0075/ /type A data section contains opaque binary data. 3.2.7 AMQP Sequence type

Re: How to build qpid C++ client API without python

2013-08-01 Thread Steve Huston
Python is used for some of the code generation involved in the build, so it is required to build the C++ client API. -Steve On 8/1/13 7:24 AM, yonexw zw...@liquidcapital.com wrote: Hi All, I am trying to build qpid C++ client apid, when I configure it I found it will use python. And I am sure

Re: How to build qpid C++ client API without python

2013-08-01 Thread Jakub Scholz
Hi, I think the Python is needed only at the build time for generating some parts of the code. I do not think you need it at runtime. Regards Jakub On Thu, Aug 1, 2013 at 1:24 PM, yonexw zw...@liquidcapital.com wrote: Hi All, I am trying to build qpid C++ client apid, when I configure it I

Re: Qpid throwed WSAENOBUFS while receiving data from a broker

2013-08-01 Thread Jakub Scholz
One more update from my side ... I finally managed to build the 0.22 release. The problem is fully reproducible there as well. However, I tried to increase the BufferCount value in AsynchIO.h from 4 to 5 and that seems to solve the problem - at least in the terms that the error doesn't reproduce

Re: How to build qpid C++ client API without python

2013-08-01 Thread yonexw
Thanks guys for your quick answer. I found libqpidclient.so libqpidmessaging.so will link to python. I will try to unlink it when build it. -- View this message in context: http://qpid.2158936.n2.nabble.com/How-to-build-qpid-C-client-API-without-python-tp7596285p7596291.html Sent from the

Re: How to build qpid C++ client API without python

2013-08-01 Thread Steve Huston
Those libraries are not linked to python. Steve Huston (sent from my iPhone - please excuse brevity and typos) On Aug 1, 2013, at 7:49 AM, yonexw zw...@liquidcapital.com wrote: Thanks guys for your quick answer. I found libqpidclient.so libqpidmessaging.so will link to python. I will try

Re: Question on Composite Type Notation in AMQP 1.0

2013-08-01 Thread Rob Godfrey
It means all types including described types, subject to any further restriction implied by the requires field (i.e. a field can be type=* but requires=foo, in which case the value can only be of a type which has provides=foo) -- Rob On 1 August 2013 13:11, Rakesh Kushwaha kushwah...@gmail.com

Re: Question on amqp 1.0 payload Type ??

2013-08-01 Thread Rob Godfrey
Data and AmqpSequence allow the sender to start sending data without knowing how many bytes / values the data is going to consist of. This allows for streaming scenarios where the size of the data is not known up front. Note also that there is no bound to the size of Data or AmqpSequence,

Re: Question on amqp 1.0 payload Type ??

2013-08-01 Thread Gordon Sim
On 08/01/2013 01:52 PM, Rob Godfrey wrote: Data and AmqpSequence allow the sender to start sending data without knowing how many bytes / values the data is going to consist of. This allows for streaming scenarios where the size of the data is not known up front. Note also that there is no

Re: JMX interface with Java Broker .20

2013-08-01 Thread Robbie Gemmell
The BDBHAMessageStore MBean will show up for a particular virtualhost if it is using the BDBHAMessageStore, which suggests that you aren't actually doing so. I notice that you linked to the 0.22 docs below, but you mention in the title you are using a 0.20 broker. There was a typo in the example

Re: Question on amqp 1.0 payload Type ??

2013-08-01 Thread Rob Godfrey
Yes indeed Gordon, thank you for clarifying -- Rob On 1 August 2013 15:01, Gordon Sim g...@redhat.com wrote: On 08/01/2013 01:52 PM, Rob Godfrey wrote: Data and AmqpSequence allow the sender to start sending data without knowing how many bytes / values the data is going to consist of.

Re: JMX interface with Java Broker .20

2013-08-01 Thread jbelch
My active node's configuration looks like the following: virtualhost nametest/name test store classorg.apache.qpid.server.store.berkeleydb.BDBHAMessageStore/class environment-path${QPID_WORK}/bdbhastore/eutilrhs1/environment-path highAvailability

Re: JMX interface with Java Broker .20

2013-08-01 Thread Robbie Gemmell
The below looks reasonable, in which case another option would be that the mbean provider isnt being discovered. Do you have the qpid-bdbstore-jmx jar in your lib/plugins folder? If so, can you outline the steps you used to set up and start the broker? I downloaded the 0.20 release before

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 throwed WSAENOBUFS while receiving data from a broker

2013-08-01 Thread Jakub Scholz
Hi Hamid, I'm sorry, I do not really know the idea behind the buffers. Steve mentioned the possibility of increasing the buffer count. From the code where the exception is created it is apparent that there is additional buffer missing, but I do not really know how the SSL data are decrypted and

Re: JMX interface with Java Broker .20

2013-08-01 Thread jbelch
I was missing the jar. I can now see the bean in jconsole. Thanks for the quick response. -- View this message in context: http://qpid.2158936.n2.nabble.com/JMX-interface-with-Java-Broker-20-tp7596278p7596329.html Sent from the Apache Qpid users mailing list archive at Nabble.com.

Qpid Java Broker - Master Failure and Recovery

2013-08-01 Thread jbelch
In your High Availability documentation for the Java Broker, section 1.6.3.2 - Depictions of cluster operation has a section called Master Failure and Recovery which describes the sequence of events for a master failover and the replica taking over the master's role. One of the items states the