qpid-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "lahiru gunathilake" <lah...@apache.org>
Subject Re: GSoC - Lahiru's CLI for JMX
Date Thu, 07 Aug 2008 05:26:13 GMT
Hi Aidan,

On Thu, Aug 7, 2008 at 9:13 AM, lahiru gunathilake <lahiru@apache.org>wrote:

>
> Hi Aidan,
> On Tue, Aug 5, 2008 at 12:18 AM, Aidan Skinner <aidan@apache.org> wrote:
>
>> On Mon, Aug 4, 2008 at 12:18 PM, lahiru gunathilake <glahiru@gmail.com>
>> wrote:
>>
>> > of the implementation form tomorrow onwards.And in order to start the
>> > implementation could you please send me an email which one to start next
>> and
>> > with a small description (I'm sorry for asking a description but your
>> > explanations are very very useful for me to understand the thing and
>> > implement it in an easy way from the very beginning ).I think I'm
>> suppose to
>> > finish all the implementations within nearly two weeks :-)
>>
>> I'll send the announcement mail tomorrow, I'm just swinging by and
>> only have about 3 minutes, sorry.
>>
>> I think the next thing to do is the data modification commands. These
>> basically come in two flavours:
>>
>> Removing the top N messages from a queue:
>>
>> queue delete fooqueue 3 <-- deletes the top 3 messages from a queue
>> queue delete fooqueue <-- deletes all the messages on a queue
>
> I have implemented the delete command. It works like this,
> queue delete -n ping -v development -t 3 <have to specify the virtualhost
> in order to get a single queue object> : This delete top three messages from
> the specified queue.
>
> If user didn't give the -t argument all the messages will be deleted from
> the queue.
>
>
>>
>> and moving messages from one queue to another:
>>
>> queue move fooqueue barqueue 4 <-- moves the first 4 messages from
>> fooqueue to barqueue
>> queue move fooqueue barqueue <-- moves all the messages from fooqueue
>> to barqueue
>
> I think the method I'm suppose to call moveMessages and I have to give
> three arguments ( from MessageId, to MessageId,Queue). Could you please tell
> me what does those mean.
>
Do you know any way to get MessageId's ?

Lahiru

>
>
> Regards
> Lahiru
> with this
>
>>
>>
>> to use these, it occurs to me that it would be useful to be able to
>> list the contents of a queue, something like
>>
>> queue list-messages fooqueue <-- prints a list of all the messages on
>> fooqueue
>> message info <msg-id> <-- prints the header information for the message
>> message info --full <msg-id> <-- prints the header and body
>> information for the message
>>
>> - Aidan
>> --
>> Apache Qpid - World Domination through Advanced Message Queueing
>> http://cwiki.apache.org/qpid
>> "Nine-tenths of wisdom consists in being wise in time." - Theodore
>> Roosevelt
>>
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message