[infinispan-issues] [JBoss JIRA] (ISPN-9735) InfinispanCacheMeterBinderProvider is always created and causes CastException if infinispan is not enabled

Tristan Tarrant (Jira) issues at jboss.org
Mon Dec 10 08:40:00 EST 2018


     [ https://issues.jboss.org/browse/ISPN-9735?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Tristan Tarrant updated ISPN-9735:
----------------------------------
           Status: Resolved  (was: Pull Request Sent)
    Fix Version/s: 9.4.4.Final
                   10.0.0.Alpha2
       Resolution: Done


> InfinispanCacheMeterBinderProvider is always created and causes CastException if infinispan is not enabled
> ----------------------------------------------------------------------------------------------------------
>
>                 Key: ISPN-9735
>                 URL: https://issues.jboss.org/browse/ISPN-9735
>             Project: Infinispan
>          Issue Type: Bug
>          Components: Spring Integration
>            Reporter: Katia Aresti
>            Assignee: Katia Aresti
>            Priority: Major
>             Fix For: 9.4.4.Final, 10.0.0.Alpha2
>
>
> The InfinispanCacheMeterBinderProvider Actuator cast to the native Cache always if bean exist.
> This is the Case if you depend on the starter.
> But if you change the cache type in Spring to 'simple' this binder will cause an Class Cast Exception.



--
This message was sent by Atlassian Jira
(v7.12.1#712002)


More information about the infinispan-issues mailing list