On Thursday 02 September 2010 7:30:31 am Sergey Beryozkin wrote: > That makes it much cleaner, see the commit I made. I thought passing the > properties to DataReaders through parts was the only way. > Regarding the thread safety : while trying to figure out how to pass the > properties, I spotted a JAXB DataReaderImpl was checking an > "honor.jaxb.annotations" property on a part and after finding that > RpcInInterceptor sets this property on individual parts I ended up doing a > similar thing. Just mentioning it in case we have a thread safety issue in > RpcInInterceptor - but may be parts are created dynamically there
I'll take a look at the RpcInInterceptor. It may be a relic from before we were sending the message into the Reader/Writers. At one point, we didn't have the setProperty method on them and the only way to get information in was via the Part. -- Daniel Kulp [email protected] http://dankulp.com/blog
