Hi Marnie and Aidan,
- Started implementing list command. - Now list command works with following options and following option values 1. list -o queue : list all the queue objects currently in the broker 2. list -o virtualhost : list all the virtualhost objects 3. list -o all : list all the mbeans and with all the attributes 4. list -d : list all the domains in the broker - After implementing those features I thought of giving somewhat formatted output and did some coding inorder to get a nice output for these previos commands. - Change the code as Aidan last week by phone and that code is far more better that the one - I wrote earlier and Aidan thanks for pointing that out. - As Marnie ask me several types of objects to display using list command I tried to implement those features too. 1. These objects 2. Connection 3. Consumers 4. publishers Issues ====== Since those objects are not listing in jconsole when we start the broker and monitor without running any client I couldn't write that code and check whether it's working or not.So that's why I thought of going through the broker code and find some way of access those information or change the broker code inorder to create those objects even when it start in normal mode(without running any client) then I can monitor them easily in jconsole and find some way to access those MBeans.Do you have any idea of doing this that would be really great to finish the implementation of the command list. And once we finish that I think if we can ask QPID users to use them and suggest some more features to implement(new commands or some more options to list command) in interactive mode.And when they use this in with a real broker we'll be able to find some bugs in the code and I'm happy to fix them too. Any comments about my work for last two weeks. Thanks in advance Regards Lahiru On Fri, Jun 6, 2008 at 8:49 AM, lahiru gunathilake <[EMAIL PROTECTED]> wrote: > hi Marnie and Aiden, > > I'm writing the fortnight report in point form and I hope this will useful > everybody to go through it > easily. > > 1. Started coding for Gsoc in the first week and reused some of the code > I wrote when I'm experimenting the project. > 2.Wrote some more code for reading command when we give commands with > arguments.(code to read options separately with option values) > (ex: ./qpid-admin -h localhost -p 3434) > 3.Found a library to support for the GNU ReadLine and start developing the > CLI using that > library. > 4.Since I used some previously written JMX code I was able to connect to > the remote broker > once user give appropriate commands. > 5. Designed a class diagram to include new commands to interactive mode, > and implemented it and added two > basic commands to the command line.(but didn't implemented the logic for > those commands,when you type those > commands it will just print some text)I spent sometime > 6.Created ant build for the CLI and committed code for the repository > created in google code project > according to the advice given by Aiden.(Thanks Aiden for the help) > 7. Started writing some test cases. > 8. Now Implementing the business logic of following commands. > list > info > > I have some questions when i come to implementation of those commands and I > hope to write them in to the > thread we are discussing thing from the very beginning. > > Any comments about the way I gave you my fortnight report ? Is this too > long/too short..? > > And any thoughts about my work I have done during first two weeks. > > Thanks > Lahiru > >
