[infinispan-issues] [JBoss JIRA] Created: (ISPN-1226) Unable to create NamedCache Custom Interceptor via xml configuration
Mark Addy (JIRA)
jira-events at lists.jboss.org
Mon Jul 11 10:19:24 EDT 2011
Unable to create NamedCache Custom Interceptor via xml configuration
--------------------------------------------------------------------
Key: ISPN-1226
URL: https://issues.jboss.org/browse/ISPN-1226
Project: Infinispan
Issue Type: Bug
Components: Configuration
Affects Versions: 5.0.0.CR7
Environment: n/a
Reporter: Mark Addy
Assignee: Manik Surtani
Priority: Minor
I am unable to create a custom interceptor for a specific NamedCache via xml configuration.
The only solution using external configuration is to add the <customInterceptors> element to the <default> cache - but this applies the interceptor to all caches.
<customInterceptors>
<interceptor after="org.infinispan.interceptors.CallInterceptor" class="com.test.MyCustomInterceptor" />
</customInterceptors>
Programmatic configuration works in Embedded mode but this can't be used with hotrod as calling getAdvancedCache() results in an UnsupportedOperationException.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the infinispan-issues
mailing list