[jira] [Updated] (CXF-7571) Revamp of the CXF injection implementation

2018-02-04 Thread John D. Ament (JIRA)

 [ 
https://issues.apache.org/jira/browse/CXF-7571?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

John D. Ament updated CXF-7571:
---
Fix Version/s: 3.2.2

>  Revamp of the CXF injection implementation
> ---
>
> Key: CXF-7571
> URL: https://issues.apache.org/jira/browse/CXF-7571
> Project: CXF
>  Issue Type: Improvement
>  Components: JAX-RS
>Reporter: Andriy Redko
>Assignee: John D. Ament
>Priority: Major
> Fix For: 3.2.2
>
>
> As more deep integration with CDI revealed, there are complexities in 
> bringing together {{@Context}}- and {{@Inject}}-based injections. 
> Encapsulating CXF injection implementation and than delegating the hard work 
> to appropriate strategy (CDI, Spring, ...) would be the right solution to 
> address the problem at its roots.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Commented] (CXF-7571) Revamp of the CXF injection implementation

2018-02-04 Thread John D. Ament (JIRA)

[ 
https://issues.apache.org/jira/browse/CXF-7571?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16351840#comment-16351840
 ] 

John D. Ament commented on CXF-7571:


[~dkulp] K, fixed.

>  Revamp of the CXF injection implementation
> ---
>
> Key: CXF-7571
> URL: https://issues.apache.org/jira/browse/CXF-7571
> Project: CXF
>  Issue Type: Improvement
>  Components: JAX-RS
>Reporter: Andriy Redko
>Assignee: John D. Ament
>Priority: Major
> Fix For: 3.2.2
>
>
> As more deep integration with CDI revealed, there are complexities in 
> bringing together {{@Context}}- and {{@Inject}}-based injections. 
> Encapsulating CXF injection implementation and than delegating the hard work 
> to appropriate strategy (CDI, Spring, ...) would be the right solution to 
> address the problem at its roots.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Updated] (CXF-7571) Revamp of the CXF injection implementation

2018-02-04 Thread John D. Ament (JIRA)

 [ 
https://issues.apache.org/jira/browse/CXF-7571?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

John D. Ament updated CXF-7571:
---
Component/s: JAX-RS

>  Revamp of the CXF injection implementation
> ---
>
> Key: CXF-7571
> URL: https://issues.apache.org/jira/browse/CXF-7571
> Project: CXF
>  Issue Type: Improvement
>  Components: JAX-RS
>Reporter: Andriy Redko
>Assignee: John D. Ament
>Priority: Major
> Fix For: 3.2.2
>
>
> As more deep integration with CDI revealed, there are complexities in 
> bringing together {{@Context}}- and {{@Inject}}-based injections. 
> Encapsulating CXF injection implementation and than delegating the hard work 
> to appropriate strategy (CDI, Spring, ...) would be the right solution to 
> address the problem at its roots.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Created] (CXF-7631) Automatically register rx in server customizations

2018-02-04 Thread John D. Ament (JIRA)
John D. Ament created CXF-7631:
--

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


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)


[jira] [Created] (CXF-7632) MP Rest Client uses a static discovery pattern instead of an instance discovery pattern

2018-02-04 Thread John D. Ament (JIRA)
John D. Ament created CXF-7632:
--

 Summary: MP Rest Client uses a static discovery pattern instead of 
an instance discovery pattern
 Key: CXF-7632
 URL: https://issues.apache.org/jira/browse/CXF-7632
 Project: CXF
  Issue Type: Improvement
Affects Versions: 3.2.2
Reporter: John D. Ament


The extension used by the MP Rest Client for CDI beans is static based.  This 
could mean that multiple applications would conflict with the discovered 
classes.  Instead it should be instance based.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)