This content has been marked as final.
Show 3 replies
-
1. Re: JBoss ESB and Continuous integration
kconner Mar 10, 2008 9:39 AM (in response to itarc)This is an old action and is no longer used for our CI. We have replaced this with an action that registers the messages with an MBean instead of relying of filesystems.
The best place to look would be under our qa/quickstarts directory, the tests there demonstrate how we link into the MBean. -
2. Re: JBoss ESB and Continuous integration
itarc Mar 10, 2008 10:43 AM (in response to itarc)Hello,
That looks more complex. Why didn't you keep the "storeMessageToFile" class that looks simple and reliable to me.
I had a look at the qa/quickstarts directory of the 4.2.1GA-src, the test classes use something like this:SendMessage() .... Hashtable<String, String> theTable = Helpers.getMessageString(LOG_FILE); .... assertEquals(.......);
Is that what you were thinking of or have I the wrong source version. I can't see the link with MBean. -
3. Re: JBoss ESB and Continuous integration
kconner Mar 10, 2008 10:58 AM (in response to itarc)"Itarc" wrote:
That looks more complex. Why didn't you keep the "storeMessageToFile" class that looks simple and reliable to me.
We changed it so that it was more reliable. No need to worry about directories, filling up file systems, permissions, handling funny parsing rules etc. it is now a simple method call on an MBean which returns an array."Itarc" wrote:
Is that what you were thinking of or have I the wrong source version. I can't see the link with MBean.
Sorry, this is the correct mechanism for 4.2.1GA. I thought I had committed these changes before the GA release but, having checked subversion, it was a few weeks later.