[SWS-814] EndPointIntercepters do not respect the (Autowired) properties provided in beans XML Created: 04/Dec/12  Updated: 09/Apr/13  Resolved: 09/Apr/13

Status: Resolved
Project: Spring Web Services
Component/s: Core
Affects Version/s: 2.0.5, 2.1.1
Fix Version/s: 2.1.3

Type: Bug Priority: Major
Reporter: Pieter van der Meer Assignee: Arjen Poutsma
Resolution: Cannot Reproduce Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Windows, IBM JDK, Tomee

Attachments: Text File sample.txt    


Wehn defining a EndpointIntercepter with the <sws:interceptors>..</sws:interceptors>
Properties either added with a @Autowired annotation or added in the bean definition with <property... are not respected.

The instances of the interceptors each have a different instance of that property. Even when the property inserted is explicitly decorated with the singleton scope.

The attachment provides a snippet of the code.

Comment by Arjen Poutsma [ 09/Apr/13 ]

I wrote a test to reproduce this issue, but I cannot do so. See https://github.com/SpringSource/spring-ws/blob/master/core/src/test/java/org/springframework/ws/config/InterceptorsBeanDefinitionParserTest.java#L66

Generated at Thu Nov 15 15:10:14 UTC 2018 using JIRA 7.9.2#79002-sha1:3bb15b68ecd99a30eb364c4c1a393359bcad6278.