Re: Without Ruby ...

2009-02-23 Thread Danushka Menikkumbura
Hi Anil, I am newbie to qpid, apologize for stupid questions. Did not pull the files from Source Repository, downloaded M4 Release ( http://www.apache.org/dist/qpid/M4/qpid-cpp-M4.tar.gz ) I need just C++ client., Is python and Ruby dependency only from client standpoint ? This is a bug in

Re: Without Ruby ...

2009-02-23 Thread Anil Kumar
I am newbie to qpid, apologize for stupid questions. Did not pull the files from Source Repository, downloaded M4 Release ( http://www.apache.org/dist/qpid/M4/qpid-cpp-M4.tar.gz ) I need just C++ client., Is python and Ruby dependency only from client standpoint ? Steve Huston wrote: Hi An

RE: Without Ruby ...

2009-02-23 Thread Steve Huston
Hi Anil, > I am trying to compile C++ broker & client > > ./configure > checking for ruby... no > configure: error: Missing ruby installation (try "yum install ruby"). > > I need Instructions to compile without Ruby. You'll need to use M4 - building from the svn sources requires Ruby and python

Without Ruby ...

2009-02-23 Thread Anil Kumar
I am trying to compile C++ broker & client ./configure checking for ruby... no configure: error: Missing ruby installation (try "yum install ruby"). I need Instructions to compile without Ruby. -- Cheers, Anil Kumar - Apache

uses Ant build the donet package for M4 occur problem

2009-02-23 Thread xinfang
i try to uses Ant build M4 on windows . i according to Read.txt and installed the ANT NANT. Python..etc.. when i running ant command show me no mllib module . the more info please refer to below list. thanks = C:\Qpid\dotnet\client-010\gent

Re: QPID C++ Broker + persistent store

2009-02-23 Thread Gordon Sim
Kim van der Riet wrote: On Mon, 2009-02-23 at 09:24 -0800, ffrenchm wrote: Is there any way to force the flow-to-disk option for all messages which are putted in this queue ? Perhaps a terminology misunderstanding? Messages which are important and which must be recovered in the event of a br

Re: QPID C++ Broker + persistent store

2009-02-23 Thread Kim van der Riet
On Mon, 2009-02-23 at 14:45 -0500, Kim van der Riet wrote: > Flow-to-disk is used to send messages to disk which are transient (ie do > NOT need to be written to disk for reliability) when broker resources > are running low. If you have lots of transient messages waiting to be > consumed, then at

Re: QPID C++ Broker + persistent store

2009-02-23 Thread Kim van der Riet
On Mon, 2009-02-23 at 09:24 -0800, ffrenchm wrote: > Is there any way to force the flow-to-disk option for all messages which are > putted in this queue ? > Perhaps a terminology misunderstanding? Messages which are important and which must be recovered in the event of a broker failure must be m

Re: Measuring message rates

2009-02-23 Thread Andrea Gazzarini
Hi, You could also monitor an instance property or statistics using QMan. In fact, QMan is exposing the broker management domain as a set of MBeans. Each time an MBean instance (i,e, a connection, a queue, etc...) is created a notification is sent to registered listeners. So: - You can register yo

Re: Python and location of spec files (was Re: QPID C++ Broker + persistent store)

2009-02-23 Thread Gordon Sim
ffrenchm wrote: raise ValueError, "unknown url type: %s" % self.__original ValueError: unknown url type: /home/mffrench/work/QUEUERS/QPID/trunk/qpid/specs/amqp.0-10.dtd I'm working on Ubuntu 7.10 system. Do you have any idea what I can do to make python tools working ? I think you just nee

Re: QPID C++ Broker + persistent store

2009-02-23 Thread ffrenchm
Very good answer for another question :) I know the qpid python tools since the begining but when trying to run the hello-world tools I got this error : [mffre...@dekatonshir:~/work/QUEUERS/QPID/trunk/qpid/python]%echo $PYTHONPATH /home/mffrench/work/QUEUERS/QPID/trunk/qpid/python [mffre...@deka

Re: QPID C++ Broker + persistent store

2009-02-23 Thread Gordon Sim
ffrenchm wrote: Is there any way to force the flow-to-disk option for all messages which are putted in this queue ? One option is to create the queue with specific policy details using the qpid-config tool. - Apache Qpid - A

Re: QPID C++ Broker + persistent store

2009-02-23 Thread ffrenchm
Is there any way to force the flow-to-disk option for all messages which are putted in this queue ? ++ ffrenchm wrote: > > > > Kim van der Riet wrote: >> >> >> This store is only asynchronous. Although BDB is still used, it is no >> longer on the message path for normal usage patterns - ie

Re: QPID C++ Broker + persistent store

2009-02-23 Thread Gordon Sim
ffrenchm wrote: I'm currently working on a JMS client. I suppose that the equivalent of C++ async session is a DUPS_OK_ACKNOWLEDGE session (I'm not sure) ... Not really; DUPS_OK_ACKNOWLEDGE just controls the frequency with which messages received by the client are acknowledged (allowing the br

Re: QPID C++ Broker + persistent store

2009-02-23 Thread Gordon Sim
ffrenchm wrote: Gordon Sim wrote: ffrenchm wrote: Where are the options to have synchronous / asynchronous IO ? That option is no longer supported. The store will always use asynchronous IO for recording the enqueue/dequeue of messages (bdb is really only used to record exchanges, bindings

Re: QPID C++ Broker + persistent store

2009-02-23 Thread ffrenchm
I'm currently working on a JMS client. I suppose that the equivalent of C++ async session is a DUPS_OK_ACKNOWLEDGE session (I'm not sure) ... ++ Carl Trieloff wrote: > > > yes, for example in c++ there is a sync and async session. The async one > return after calling and > allows another mes

Re: QPID C++ Broker + persistent store

2009-02-23 Thread Carl Trieloff
yes, for example in c++ there is a sync and async session. The async one return after calling and allows another message to be sent. Errors or handled async. sync session blocks on the call. The sync / flush commands can be used to control this yourself if you want This type of thing can be

Re: QPID C++ Broker + persistent store

2009-02-23 Thread ffrenchm
Ok I understand your answer, but it raise me another question :) Is there a way to have a really asynchronous client/server communication when putting messages ? I mean the client send a message and then the server ack the client without waiting that the message is on the disk ? Thanks ... Carl

Re: QPID C++ Broker + persistent store

2009-02-23 Thread ffrenchm
Kim van der Riet wrote: > > > This store is only asynchronous. Although BDB is still used, it is no > longer on the message path for normal usage patterns - ie no message > data is stored in BDB. However, BDB will be used if flow-to-disk is > triggered, either because the messages are too larg

Re: QPID C++ Broker + persistent store

2009-02-23 Thread Carl Trieloff
Well, I do not understand why the synchronous IO mode is no longer supported. My experiences of queueing tell me that if you want really safe message store you need synchronous IO on message PUT. But maybe did I miss some new things which make this feature deprecated ? This is a great ques

Re: QPID C++ Broker + persistent store

2009-02-23 Thread ffrenchm
Gordon Sim wrote: > > ffrenchm wrote: >> Hello again, >> >> I'm currently using successfully QPid C++ Broker and BDB as message >> store. I >> checkouted the qpid BDB module here : >> http://anonsvn.jboss.org/repos/rhmessaging/store/trunk/cpp/ >> >> I've two questions : >> >> 1) I would lik

Re: QPID C++ Broker + persistent store

2009-02-23 Thread Kim van der Riet
On Mon, 2009-02-23 at 07:45 -0800, ffrenchm wrote: > I've two questions : > > 1) I would like to know how I can disable the debug trace when I use the BDB > persisent store in QPid (I've to much traces like bellow and it's realy not > good for my benchmarks) : > > 2009-feb-23 16:34:10 trace REC

Re: Measuring message rates

2009-02-23 Thread Carl Trieloff
Sure, there is also a high level API in python for doing that. see: http://qpid.apache.org/qmf-python-console-tutorial.html Carl. GS.Chandra N wrote: Carl, Thanks for the reply. Is there any way i can subscribe for these stats and aggregate them in a normal python client, rather than learni

Re: QPID C++ Broker + persistent store

2009-02-23 Thread Gordon Sim
ffrenchm wrote: Hello again, I'm currently using successfully QPid C++ Broker and BDB as message store. I checkouted the qpid BDB module here : http://anonsvn.jboss.org/repos/rhmessaging/store/trunk/cpp/ I've two questions : 1) I would like to know how I can disable the debug trace when I us

QPID C++ Broker + persistent store

2009-02-23 Thread ffrenchm
Hello again, I'm currently using successfully QPid C++ Broker and BDB as message store. I checkouted the qpid BDB module here : http://anonsvn.jboss.org/repos/rhmessaging/store/trunk/cpp/ I've two questions : 1) I would like to know how I can disable the debug trace when I use the BDB persisen

Re: Measuring message rates

2009-02-23 Thread GS.Chandra N
Carl, Thanks for the reply. Is there any way i can subscribe for these stats and aggregate them in a normal python client, rather than learning qmf? I was under the impression that the broker was publishing these stats? Or can i talk QMF using python? Thanks gs On Mon, Feb 23, 2009 at 8:10 PM,

Re: QPID Java broker + Persistant store

2009-02-23 Thread Aidan Skinner
On Mon, Feb 23, 2009 at 1:49 PM, ffrenchm wrote: > I now remember that Aidan Skinner-2 told me that QPid Java Broker is now > using Apache Derby as persistant message store. I think it means that > Berkeley DB with QPid Java Broker is now deprecated, isn't it ? The BDB backing store is still use

Re: Measuring message rates

2009-02-23 Thread Carl Trieloff
GS.Chandra N wrote: Hi, I 'm trying to setup a performance load testing framework for evaluating the subscription performance and I need to measure the load rates. The reason i need this is that i'm trying to bombard my broker from multiple sources and i need to measure the single effective rat

Re: Qman and Java Agents

2009-02-23 Thread Bryan Kearney
Andrea Gazzarini wrote: The same for me...I would be happy to help on this topic. Especially if it should be part of QMan :) Bryan, just for curiosity, could you explain me better? I believe that a resource exposed for management must be stateful so I suppose you were talking about a stateful se

Re: notes on building and testing M4 for Windows

2009-02-23 Thread Carl Trieloff
Gordon Sim wrote: Vincent Seavello (Interop Systems Inc) wrote: I have gathered some notes while building and testing QPID M4 on Windows here in the Microsoft Open Source Technology Center (OSTC). I've had the intention of writing these up and making them available for anyone who cared to pull d

Re: QPID Java broker + Persistant store

2009-02-23 Thread ffrenchm
I now remember that Aidan Skinner-2 told me that QPid Java Broker is now using Apache Derby as persistant message store. I think it means that Berkeley DB with QPid Java Broker is now deprecated, isn't it ? ++ ffrenchm wrote: > > Hello, > > I'm trying to make work QPid Java broker (trunk sour

QPID Java broker + Persistant store

2009-02-23 Thread ffrenchm
Hello, I'm trying to make work QPid Java broker (trunk source) with bdb store as described here: http://qpid.apache.org/3rd-party-libraries.html So I getted the java Berkeley Database (3.3.75) and the QPid bridge module here : http://www.oracle.com/technology/software/products/berkeley-db/je

Re: notes on building and testing M4 for Windows

2009-02-23 Thread Danushka Menikkumbura
How about adding a wiki page on the qpid.apache.org site for this? It sounds like it would be very useful. +1. Danushka -- Danushka Menikkumbura Technical Lead, WSO2 Inc. blog : http://danushka-menikkumbura.blogspot.com/ http://wso2.com/ - "The Open Source SOA Company" ---

Re: Federation and ACLs

2009-02-23 Thread Gordon Sim
Mark Moseley wrote: My question is: is that a normal consequence of federation, i.e. that credentials aren't passed around and that neither the authenticated sender nor the user used to create the static route is used as the 'id' on the dest side? That is a defect in the current implementation[

Re: notes on building and testing M4 for Windows

2009-02-23 Thread Gordon Sim
Vincent Seavello (Interop Systems Inc) wrote: I have gathered some notes while building and testing QPID M4 on Windows here in the Microsoft Open Source Technology Center (OSTC). I've had the intention of writing these up and making them available for anyone who cared to pull down QPID and build

Measuring message rates

2009-02-23 Thread GS.Chandra N
Hi, I 'm trying to setup a performance load testing framework for evaluating the subscription performance and I need to measure the load rates. The reason i need this is that i'm trying to bombard my broker from multiple sources and i need to measure the single effective rate of incoming messages