[ http://issues.apache.org/jira/browse/DAYTRADER-22?page=comments#action_12448841 ] Piyush Agarwal commented on DAYTRADER-22: -----------------------------------------
That sounds like a good idea, what do you have in mind, where exactly are you thinking of having the "Runtime Settings" section? I was thinking we can re-arrange the related settings together on the config page, also possibly have a better explanation on these in some kind of documentation. Currently when you do Reset the runtime summary gets printed out, but its not complete wrt to the settings you mentioned above. Continuing on the issue at hand, I looked at the code and it seems the publishQuotePriceChange flag in ejb-jar.xml has no effect if you are running in Direct Mode as TradeDirect has this value set to True and it doesnt look it up from any of the config xmls neither it is exposed in TradeConfig. Only during EJB mode the TradeBean.java looks it from ejb-jar.xml. So in direct mode we have the MDBs running no matter what. I think we need to fix this so the flag is effective in both the Direct and EJB runtime modes. I am proposing exposing it through the configuration panel, so that user can set its value. The TradeConfigServlet will update the value in TradeConfig. Both Direct and EJB modes during init will check the value from TradeConfig and act accordingly. Once this is done we can remove the flag from the ejb-jar.xml Suggestions/Comments ? > Set publichQuotePriceChange to true in ejb-jar.xml so that MDBs get accessed > during Daytrader scenario runs > ----------------------------------------------------------------------------------------------------------- > > Key: DAYTRADER-22 > URL: http://issues.apache.org/jira/browse/DAYTRADER-22 > Project: DayTrader > Issue Type: Bug > Components: EJB Tier > Affects Versions: 1.2 > Reporter: Piyush Agarwal > Assigned To: Matt Hogstrom > Fix For: 1.2 > > Attachments: Daytrader-22.patch > > > Currently the publishQuotePriceChange is set to False in the ejb-jar.xml and > this causes the TradeStreamerMDB to NOT be accessed during the Daytrader > trading runs. The TradeStreamerMDB listens to the JMS messages and invokes > the logging code to log the debug and trace messages during the runs. > Updating the flag to true enables this functionality. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira
