[prev in list] [next in list] [prev in thread] [next in thread] 

List:       activemq-dev
Subject:    [Heads Up] browsing available queues and their messages using UFace/Swing/JFace using Camel
From:       "James Strachan" <james.strachan () gmail ! com>
Date:       2008-03-27 9:48:07
Message-ID: ec6e67fd0803270248l7064264atcc1da6d24527657e () mail ! gmail ! com
[Download RAW message or body]

Just a heads up, if you build trunk of Camel and ActiveMQ you can run
a simple browser of queues & their messages by running

cd activemq-core
mvn test -Dtest=BrowseQueuesInUFace

Now the UI is pretty crap :) I've not really spent any time making it
look nice (or auto-detect when new messages are added to the queue) or
even how to render a message nicely - we should really have a little
form to display all the headers and body nicely).

However its a nice demonstration how the DestinationSource is now
working nicely in ActiveMQ to expose destinations to any JMS client...
http://activemq.apache.org/new-features-in-51.html

and how if its enabled, the ActiveMQComponent will auto-expose all
queues into the CamelContext (see the use of the exposeAllQueues
property in the BrowseQueuesInUFace-context.xml file).

This all works by exposing JMS Queues as BrowsableEndpoints so that
they can be browsed easily
http://activemq.apache.org/camel/browsableendpoint.html

In this case we've a little UFace based UI for browsing endpoints and
their message exchanges.

-- 
James
-------
http://macstrac.blogspot.com/

Open Source Integration
http://open.iona.com
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic