Files
spring-integration/src/reference/asciidoc
Artem Bilan e52e352e0c Add generic arg to the GatewayProxyFactoryBean (#3925)
* Add generic arg to the `GatewayProxyFactoryBean`

Related to https://github.com/spring-projects/spring-integration/issues/3923

When gateway proxy is declared manually, a `GatewayProxyFactoryBean` is used as a `@Bean`.
In this case the info about target interface is not available on a `BeanDefinition`,
unlike with a programmatic registration via `MessagingGatewayRegistrar`.

* Expose `<T>` on a `GatewayProxyFactoryBean` to make end-user to specify the type
this gateway is going to be based on.
This allows Spring container to determine the type of the `FactoryBean` bean definition
properly
* Migrate a programmatic bean definition registration from the
`FactoryBean.OBJECT_TYPE_ATTRIBUTE` to the `targetType` property
of the `BeanDefinition` based on a `ResolvableType.forClassWithGenerics()`
to simulate generic arg for the application context
* Remove `ComponentsRegistration` from the `GatewayProxySpec` since it us out of use
* Fix affected tests for newly added generic arg on the `GatewayProxyFactoryBean`

* Fix another typo in gateway.adoc

Co-authored-by: Gary Russell <grussell@vmware.com>

Co-authored-by: Gary Russell <grussell@vmware.com>
2022-10-25 12:09:33 -04:00
..
2022-02-15 13:00:24 -05:00
2022-01-18 14:38:50 -05:00
2019-12-26 15:41:19 -05:00
2022-01-18 14:38:50 -05:00
2022-01-18 14:38:50 -05:00
2022-02-15 13:00:24 -05:00
2022-05-11 16:43:27 -04:00
2019-02-15 15:54:18 -05:00
2022-10-25 11:10:37 -04:00
2022-02-15 13:00:24 -05:00
2022-01-18 14:38:50 -05:00
2022-05-11 16:43:27 -04:00
2022-10-25 11:10:37 -04:00
2022-02-15 13:00:24 -05:00
2022-05-11 16:43:27 -04:00
2022-02-15 13:00:24 -05:00
2022-02-15 13:00:24 -05:00
2022-02-15 13:00:24 -05:00
2022-02-15 13:00:24 -05:00
2021-11-15 12:21:52 -05:00