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

Katia Aresti (Jira) issues at jboss.org
Mon Dec 10 05:58:01 EST 2018


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

Katia Aresti updated ISPN-9735:
-------------------------------
              Status: Pull Request Sent  (was: Coding In Progress)
    Git Pull Request: https://github.com/infinispan/infinispan-spring-boot/pull/83


> 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
>
> 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