That's good to know Bill, thanks. The difference with what I'm doing is that it's not a member variable (the map) that is being set lazily, but a populated entry in the map, so we just have to be careful against ConcurrentModificationExceptions.
Kev, if you're okay with me not using ConcurrentHashMap (and instead using synchronized as I elaborated on above), let me know. Either way, I'll wait for your word before I commit to the performance workspace and 4.7 CP branch. Thanks.
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4269459#4269459
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4269459
There were indeed a couple debug statements in ActionProcessingPipeline that ended up causing extendedToString being called because they weren't surrounded in a isDebugEnabled(). I've fixed those.
What threw me is that after fixing those, I still saw extendedToString being called (7 times for just 1 web service request!). After looking at the call stack, the debug statements were still being invoked. I looked at the jboss-log4j.xml file, and I had to uncomment out the section that limits org.jboss to INFO. Any reason why the log4j level isn't INFO by default? I think we might need to change jboss-log4j.xml in jbossesb-server-base.zip.
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4269456#4269456
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4269456
Thanks for explanation. I've looked at your code a bit. Are the aspectized deployers just a abstraction for JBossWS so that it can move/integration smoothly between different deployment mechanisms?
All and all, it looks like things would be pretty straighforward to create a RESTEasy integration. Its just a matter of writing descriptor and real deployers and then importing, modifying, and exporting the correct metadata.
BTW, would be interesting to hear what you think of the JBoss 5 deployment framework. So far, it looks like it is solving what it was intended to do.
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4269450#4269450
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4269450