Generates a proxy for the provided service interface to enable interaction
with messaging components without application code being aware of them allowing
for POJO-style interaction.
This component is also aware of the ConversionService set on the enclosing BeanFactory
under the name IntegrationContextUtils.INTEGRATION_CONVERSION_SERVICE_BEAN_NAME to
perform type conversions when necessary (thanks to Jon Schneider's contribution and suggestion in INT-1230).

GatewayProxyFactoryBean

public GatewayProxyFactoryBean()

Create a Factory whose service interface type can be configured by setter injection.
If none is set, it will fall back to the default service interface type,
RequestReplyExchanger, upon initialization.

GatewayProxyFactoryBean

public GatewayProxyFactoryBean(java.lang.Class<?> serviceInterface)

Method Detail

setServiceInterface

public void setServiceInterface(java.lang.Class<?> serviceInterface)

Set the interface class that the generated proxy should implement.
If none is provided explicitly, the default is MessageHandler.