[infinispan-issues] [JBoss JIRA] Issue Comment Edited: (ISPN-1226) Certain configuration elements not read correctly

Mark Addy (JIRA) jira-events at lists.jboss.org
Tue Jul 12 15:18:23 EDT 2011


    [ https://issues.jboss.org/browse/ISPN-1226?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12613789#comment-12613789 ] 

Mark Addy edited comment on ISPN-1226 at 7/12/11 3:17 PM:
----------------------------------------------------------

Hi Galder, 
I have attached a unit test and some config files.  I added the test directly to my copy of 5.0.0.CR7, not sure where the best location was so I dumped the code here: /core/src/test/java/org/infinispan/interceptors and the config files here: core/src/test/resources/configs.  The XML parses OK but the problem is somewhere in the configuration override logic.
Thanks for the help
Mark

      was (Author: markaddy):
    Unit test
  
> Certain configuration elements not read correctly
> -------------------------------------------------
>
>                 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: Galder Zamarreño
>            Priority: Critical
>              Labels: configuration
>             Fix For: 5.0.0.FINAL
>
>         Attachments: custom-interceptor-default-test.xml, custom-interceptor-named-test.xml, CustomInterceptor.java, CustomInterceptorTest.java
>
>
> 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