Browse BDB JE Store

2011-12-06 Thread Praveen M
Hi, Does anyone know of any utility that can be used to browse the BDB datastore? I'm specifically looking for a tool that will let me inspect a .je file and display all the databases, key - value pairs present in the file. I looked at the JMX plugin and the Jconsole plugin that BDB ships wit

Re: problem with qpid heartbeats when sending msgs with size over 1KB

2011-12-06 Thread Tom M
Hello, we are having a problem with our MRG (qpid) system: * when sending messages with size of 1600bytes, a connection (used for sending from client) does not detect the host connection is lost via heartbeat timeout. + we are using C++ qpid client 0.7 and qpidd 0.7 (linux 2.6 x86_64 on both cli

Re: how to delete queue from jms client

2011-12-06 Thread Fraser Adams
Gaston, I forgot to ask, but you are using the C++ broker aren't you? I'm pretty sure that the Java broker doesn't support timed auto delete, and as I mentioned before the C++ broker supports this from version 0.10 Frase Fraser Adams wrote: Hi Gaston, Try the following syntax (BTW IIRC you ne

Re: Jave Client with C++ Broker - Messages in Queue-size?

2011-12-06 Thread Fraser Adams
I'm afraid that I can't think on any really elegant solutions. Re "I need some kind of notifications from JMS Client API that I am able to send". I don't think that the JMS API has a mechanism for doing this, though I may be wrong. The best approach that I can think of at the moment is to i

Re: how to delete queue from jms client

2011-12-06 Thread Fraser Adams
Hi Gaston, Try the following syntax (BTW IIRC you need at least Qpid 0.10 for timed auto deletes to work): Also I can't claim credit for the following, this was a response from uber-guru Gordon Sim when I asked a similar question back in July To create a 'shared' queue on-demand: my-queue; {

Re: Jave Client with C++ Broker - Messages in Queue-size?

2011-12-06 Thread dmounessa
Thanks -- I need the queue size because I am not sure how to find out when i can send messages to a durable queue after i get JMS Exception that the queue is max-ed out. I was testing and I send 1 message and I changed the jfile to 4 so I get Queue Filled Exception. Then I started a receiver t

Re: C++ Broker Performance for Durable Queues vs Topic

2011-12-06 Thread Fraser Adams
dmounessa wrote: 1. Is there any performance matrix of durable queues with message size and os version? I would like to compare my test results against what is in actual production? How many message per seconds should I expect for one broker for 1024 bytes message sent to a durable qu

Re: C++ Broker Performance for Durable Queues vs Topic

2011-12-06 Thread Carl Trieloff
no, just drop the tcp option from your connection address if in use. If not, then I'll let Kim pick up and comment on the thread. Carl. On 12/06/2011 02:25 PM, dmounessa wrote: > I am using geronimo-jms_1.1_spec-1.0.jar > > Do I need a new version? was this released? > > > > -- > View this m

Re: C++ Broker Performance for Durable Queues vs Topic

2011-12-06 Thread dmounessa
I am using geronimo-jms_1.1_spec-1.0.jar Do I need a new version? was this released? -- View this message in context: http://apache-qpid-users.2158936.n2.nabble.com/C-Broker-Performance-for-Durable-Queues-vs-Topic-tp7067759p7068061.html Sent from the Apache Qpid users mailing list archive at

Re: Jave Client with C++ Broker - Messages in Queue-size?

2011-12-06 Thread Fraser Adams
Hi, Long post follows, hope it's useful Cheers, Frase IIRC C++ brokers from 0.10 onwards have both QMF1 and QMF2 enabled by default, the 0.8 broker needs to have it explicitly enabled with "--mgmt-qmf2 yes" if you do qpidd -h you'll see all the options. Re "where can I get the list of

Re: C++ Broker Performance for Durable Queues vs Topic

2011-12-06 Thread Carl Trieloff
On 12/06/2011 01:01 PM, dmounessa wrote: > 2. It seems that No-Persistent Queue without Store Module and Topic should > have same throughput. However, I see the queues that are not > durable/non-persistence messages have worse message rate per second than > sending the messages to the topic -- > I

Re: how to delete queue from jms client

2011-12-06 Thread Gaston Quezada
Dear Fraser, I need to configure the auto-delete arguments, with this parameter: arguments:{'qpid.auto_delete_timeout':120} When I create the queue, the logs show a empty field argument. Log: main 2011-12-06 15:45:54,562 DEBUG [apache.qpid.transport.Connection] SEND: [conn:db23f1] ch=0 id=2 Queue

C++ Broker Performance for Durable Queues vs Topic

2011-12-06 Thread dmounessa
1. Is there any performance matrix of durable queues with message size and os version? I would like to compare my test results against what is in actual production? How many message per seconds should I expect for one broker for 1024 bytes message sent to a durable queue? Will clust

Re: Jave Client with C++ Broker - Messages in Queue-size?

2011-12-06 Thread dmounessa
Thanks -- do I need to start the broker with any special module (qmf?) or does the standard C++ broker will support the QMF messages? Also, where can I get the list of messages that I could send to broker for configurations/stats? Thanks for your help? -- View this message in context: http://ap

Re: Jave Client with C++ Broker - Messages in Queue-size?

2011-12-06 Thread Fraser Adams
Hi all, Although Pavel mentioned https://issues.apache.org/jira/browse/QPID-3302 And the need for a patch for Qpid < 0.12 to use QMF2 with Java there's also an issue with respect to returning Lists. Basically JMS doesn't support amqp/list Here's some code to help. HTH Frase /**

Re: how to delete queue from jms client

2011-12-06 Thread Fraser Adams
Here's some Java code for method invocation. This largely follows a similar pattern to Pavel's C++ example. Note that this method is taken from a much larger QMF2 API that I've written ,so there's some dependencies on other classes (you won't be able to use it directly, but hopefully you'll get

Re: how to delete queue from jms client

2011-12-06 Thread Pavel Moravec
Hi Gastón, you can use QMF method "delete" with parameters "type" ("queue" in our case) and "name" (name of the queue). Here is the code snippet from C++ program I use: Connection connection(url/*, connectionOptions*/); try { connection.open(); Session session = connectio