Ive added a new jms example template into trunk. There should also be a core one butthat
isn't complete yet.
The jms template. each example should live in its own directory under examples/jms and
should have its own build.xml file and src folder. The example itself will extend
JMSExample and implement the runExample() method, See QueueExample or TopicExample. The
JMSExample class takes care of starting the server (if needed) and deploying any
topics/queues etc. If you look under examples/jms/common/config you'll see the config
files that are used by the server. These can be modified if needed. The build file
doesnthave to do much since all the compile and run scripts are in the base script. You
just have to call a couple of ant targets, again see the queue or topic example and
you'll see.
The core tests should be the same but found under examples/core. The only difference is
how we start the server. The CoreExample base class should just programmatically start the
server with the correct configuration.
Take a look and if any thing needs change or improving feel free to do it or post
suggestion here.
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4222053#...
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&a...