Re: Message and MessageTransfer

2009-07-27 Thread ricardlf
Hi Jonathan, I'm using AMQP API because I need to declare exchanges and I didn't find out how to do this using the JMS interface, if it were possible to declare exchanges with JMS I'll use it. Ricard. Jonathan Robie wrote: > > Ricard, > > The Java AMQP API is not widely used, most Java progr

RE: Journal Full Error

2009-07-27 Thread Kim van der Riet
On Fri, 2009-07-24 at 12:45 -0700, Sandy Pratt wrote: > > In practice, it may be possible to fill a journal by using tiny > > messages > > (~10 bytes) to just below the enqueue threshold, then dequeueing all > > these messages except the first. In this case the sheer number of > > dequeues will fil

Re: Message and MessageTransfer

2009-07-27 Thread Jonathan Robie
Ricard, The Java AMQP API is not widely used, most Java programmers are using the Java JMS interface. It is also not well documented, grepping for "Properties" in the examples can help give you an overview if you really want to use this API (see below). I haven't tried this, but I imagine Me

Message and MessageTransfer

2009-07-27 Thread ricardlf
Hi, I'm starting to get used to Qpid but there is still something that is not completely clear to me. How do I get message properties of a message? I mean, in the java amqp examples, when the producer sends a message and when the consumer gets it, both use MessageTransfer class objects for sending

Re: Journal Full Error

2009-07-27 Thread Gordon Sim
Carl Trieloff wrote: Kim van der Riet wrote: On Fri, 2009-07-24 at 15:13 -0400, Kim van der Riet wrote: 2) I thought the flow-to-disk policy would result in excess messages being accepted into a slower interim storage, not being rejected or causing the broker to crash. This is incorre

Re: Journal Full Error

2009-07-27 Thread Gordon Sim
Kim van der Riet wrote: On Fri, 2009-07-24 at 20:31 +0100, Gordon Sim wrote: By 'expected' do you mean this is the expected symptom of a bug that fails to prevent the store getting 'too full'? No, I mean that the journal fails to start when the recovered journal is full. A full check has been w