[
http://jira.jboss.com/jira/browse/JBESB-1238?page=comments#action_12384273 ]
Tom Fennelly commented on JBESB-1238:
-------------------------------------
I agree that there's a lot of duplication of code and a fair amount of it is not all
that relevant to the lesson being thought e.g. sending a JMS Message, reading the contents
of a file etc.
On the JMS Stuff, I cleaned some of this stuff up into a "...testutils.JMSUtil"
class that uses the JMSCouriers and and is in use in 1 or 2 of the quickstarts. It
supports send and receive on Queues and Topics:
http://anonsvn.labs.jboss.com/labs/jbossesb/trunk/product/rosetta/tests/s...
It can also be called from the command line so it can be used from the build.xml ant
scripts in the quickstarts e.g.:
http://anonsvn.labs.jboss.com/labs/jbossesb/trunk/product/samples/quickst...
(see the runtest target)
Decrease code duplication in the Quickstarts.
----------------------------------------------
Key: JBESB-1238
URL:
http://jira.jboss.com/jira/browse/JBESB-1238
Project: JBoss ESB
Issue Type: Bug
Security Level: Public(Everyone can see)
Components: Examples
Affects Versions: 4.2.1 IR1
Reporter: Kurt Stam
Assigned To: Kevin Conner
Fix For: 4.3
The quickstarts use classes like Send- and ReceiveJMSMessage. These classes are copied
across many QSs, and are starting to lead their own life, which makes it hard to maintain
them. We should extract these common classes.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira