Annotation Type AutoConfigureWebServiceClient
@Target(TYPE)
@Retention(RUNTIME)
@Documented
@Inherited
@ImportAutoConfiguration
@PropertyMapping("spring.test.webservice.client")
public @interface AutoConfigureWebServiceClient
Annotation that can be applied to a test class to enable and configure
auto-configuration of web service clients.
- Since:
- 2.3.0
- Author:
- Dmytro Nosan
-
Optional Element Summary
Modifier and TypeOptional ElementDescriptionboolean
If aWebServiceTemplate
bean should be registered.
-
Element Details
-
registerWebServiceTemplate
boolean registerWebServiceTemplateIf aWebServiceTemplate
bean should be registered. Defaults tofalse
with the assumption that theWebServiceTemplateBuilder
will be used.- Returns:
- if a
WebServiceTemplate
bean should be added.
- Default:
- false
-