[jboss-dev] Problems with Async Servlet (didn't have before)
Remy Maucherat
remy.maucherat at gmail.com
Mon Jul 12 12:44:48 EDT 2010
On Mon, Jul 12, 2010 at 6:34 PM, Bill Burke <bburke at redhat.com> wrote:
> It seems that if you have your filter or servlet class annotated with
> @WebFilter(asyncSupported = true), but you add your filter/servlet via
> web metadata (through a deployer) the metadata takes precendence. Which
> makes sense I guess :)
Yes, using the JBoss metadata API means it's likely you're fully
replacing the filter declaration made in the annotation. You have the
API for the flag on the matadata though:
FilterMetaData.setAsyncSupported(true).
Rémy
More information about the jboss-development
mailing list