In our case Markup for the component comes from CMS. We want to parse
the markup and cache Markup object in memory.

Parsing happens asynchronously (depending on the content change in CMS)
in a separate thread from the request thread.

 

We have custom MarkupParser that extends AbstractMarkupParser but
AbstractMarkupParser has dependency on Application (In the constructor
it is getting MarkupSettings from application).  

 

Since we are doing parsing in a different thread which doesn't have
application set in the thread context., Is there any other way to parse
without setting dummy application object in the thread context?

 

Regards, 

 

Ashoka Upadhya 

Art.com

Reply via email to