[ https://issues.apache.org/jira/browse/CXF-7631?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
John D. Ament resolved CXF-7631. -------------------------------- Resolution: Fixed Fix Version/s: 3.2.3 > Automatically register rx in server customizations > -------------------------------------------------- > > Key: CXF-7631 > URL: https://issues.apache.org/jira/browse/CXF-7631 > Project: CXF > Issue Type: Improvement > Components: JAX-RS > Affects Versions: 3.2.2 > Reporter: John D. Ament > Assignee: John D. Ament > Priority: Major > Fix For: 3.2.3 > > > Presently to register reactive for server components, you need to add this > logic: > > {code:java} > ReactorInvoker invoker = new ReactorInvoker(); > invoker.setUseStreamingSubscriberIfPossible(false); > jaxrsServerFactoryBean.setInvoker(invoker); > StreamingResponseProvider<?> streamProvider = new > StreamingResponseProvider<>(); > streamProvider.setProduceMediaTypes(Collections.singletonList("application/json")); > jaxrsServerFactoryBean.setProvider(streamProvider);{code} > > This ideally should be automated, and auto discovered when deployed to a > server. -- This message was sent by Atlassian JIRA (v7.6.3#76005)