[infinispan-issues] [JBoss JIRA] (ISPN-10964) Provide Exceptions for unsupported operations with APPLICATION_UNKNOWN

Ryan Emerson (Jira) issues at jboss.org
Tue Nov 19 05:29:00 EST 2019


Ryan Emerson created ISPN-10964:
-----------------------------------

             Summary: Provide Exceptions for unsupported operations with APPLICATION_UNKNOWN
                 Key: ISPN-10964
                 URL: https://issues.jboss.org/browse/ISPN-10964
             Project: Infinispan
          Issue Type: Enhancement
          Components: Server
    Affects Versions: 10.1.0.Beta1
            Reporter: Ryan Emerson


The default media type for cache types is APPLICATION_UNKNOWN if not explicitly configured by the user. However, APPLICATION_UNKNOWN is not supported when using the following:

* Filters
* Converters
* Transcoders (works sometimes, best effort)

Instead of failures occurring at runtime, we should throw a configuration exception where possible. In the case of the transcoder, we should either throw a more meaningful exception when transcoding fails or remove the ability to transcode APPLICATION_UNKNOWN sources.



--
This message was sent by Atlassian Jira
(v7.13.8#713008)


More information about the infinispan-issues mailing list