[
https://issues.apache.org/jira/browse/CAMEL-7395?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Willem Jiang resolved CAMEL-7395.
---------------------------------
Resolution: Fixed
Fix Version/s: (was: 2.13.1)
Applied the patch into camel master branch with thanks to Sergey. As there are
some changes in CxfRsProducer, I don't plan to merge the patch into other
camel-2.13.x branch.
> Simplify the way CxfRsProducer JAXRSClientFactoryBean can be tested
> -------------------------------------------------------------------
>
> Key: CAMEL-7395
> URL: https://issues.apache.org/jira/browse/CAMEL-7395
> Project: Camel
> Issue Type: Test
> Components: camel-cxf
> Reporter: Sergey Beryozkin
> Assignee: Willem Jiang
> Priority: Minor
> Fix For: 2.14.0
>
> Attachments: CxfRsProducerClientFactoryBeanTest.java,
> CxfRsProducerClientFactoryBeanTest.xml, cxf7395.txt
>
>
> I was working on fixing the regression where CxfRsProducer was losing the
> in/out interceptors set from Blueprint/Spring caused by my own patch to
> support setting interceptors directly on CxfRsEndpoint and my test passed
> without me fixing CxfRsEndpoint, I checked, CxfRsEndpoint was already fixed
> :-)
> That said, I'd still like to provide a test patch with minor modifications
> to CxfRsProducer to make it simpler to test the underlying
> JAXRSClientFactoryBean was properly set up. The attached test file can be
> extended with many more tests making sure no regression can be introduced
--
This message was sent by Atlassian JIRA
(v6.2#6252)