Class JpaOutboundGatewayFactoryBean
java.lang.Object
org.springframework.integration.config.AbstractSimpleMessageHandlerFactoryBean<JpaOutboundGateway>
org.springframework.integration.jpa.outbound.JpaOutboundGatewayFactoryBean
- All Implemented Interfaces:
- Aware,- BeanFactoryAware,- BeanNameAware,- FactoryBean<MessageHandler>,- ApplicationContextAware,- ApplicationEventPublisherAware
public class JpaOutboundGatewayFactoryBean
extends AbstractSimpleMessageHandlerFactoryBean<JpaOutboundGateway>
The 
JpaOutboundGatewayFactoryBean creates instances of the
 JpaOutboundGateway. Optionally this
 FactoryBean will add Aop Advices (e.g.
 TransactionInterceptor to the
 JpaOutboundGateway instance.- Since:
- 2.2
- Author:
- Amol Nayak, Gunnar Hillert, Gary Russell, Artem Bilan
- 
Field SummaryFields inherited from class org.springframework.integration.config.AbstractSimpleMessageHandlerFactoryBeanloggerFields inherited from interface org.springframework.beans.factory.FactoryBeanOBJECT_TYPE_ATTRIBUTE
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionprotected JpaOutboundGatewayvoidsetGatewayType(OutboundGatewayType gatewayType) voidsetJpaExecutor(JpaExecutor jpaExecutor) voidsetProducesReply(boolean producesReply) voidsetReplyTimeout(long replyTimeout) Specifies the time the gateway will wait to send the result to the reply channel.voidsetRequiresReply(boolean requiresReply) Methods inherited from class org.springframework.integration.config.AbstractSimpleMessageHandlerFactoryBeancreateHandlerInternal, getBeanFactory, getObject, getObjectType, getPreCreationHandlerType, isSingleton, setAdviceChain, setApplicationContext, setApplicationEventPublisher, setAsync, setBeanFactory, setBeanName, setChannelResolver, setComponentName, setOrder, setOutputChannel, setOutputChannelName
- 
Constructor Details- 
JpaOutboundGatewayFactoryBeanpublic JpaOutboundGatewayFactoryBean()
 
- 
- 
Method Details- 
setJpaExecutor
- 
setGatewayType
- 
setProducesReplypublic void setProducesReply(boolean producesReply) 
- 
setReplyTimeoutpublic void setReplyTimeout(long replyTimeout) Specifies the time the gateway will wait to send the result to the reply channel. Only applies when the reply channel itself might block the 'send' operation (for example a bounded QueueChannel that is currently full).- Parameters:
- replyTimeout- The timeout in milliseconds
 
- 
setRequiresReplypublic void setRequiresReply(boolean requiresReply) 
- 
createHandler- Specified by:
- createHandlerin class- AbstractSimpleMessageHandlerFactoryBean<JpaOutboundGateway>
 
 
-