Class JpaOutboundGatewayFactoryBean

java.lang.Object
org.springframework.integration.config.AbstractSimpleMessageHandlerFactoryBean<JpaOutboundGateway>
org.springframework.integration.jpa.outbound.JpaOutboundGatewayFactoryBean
All Implemented Interfaces:
org.springframework.beans.factory.Aware, org.springframework.beans.factory.BeanFactoryAware, org.springframework.beans.factory.BeanNameAware, org.springframework.beans.factory.FactoryBean<org.springframework.messaging.MessageHandler>, org.springframework.context.ApplicationContextAware, org.springframework.context.ApplicationEventPublisherAware

public class JpaOutboundGatewayFactoryBean
extends org.springframework.integration.config.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
  • Field Summary

    Fields inherited from class org.springframework.integration.config.AbstractSimpleMessageHandlerFactoryBean

    logger

    Fields inherited from interface org.springframework.beans.factory.FactoryBean

    OBJECT_TYPE_ATTRIBUTE
  • Constructor Summary

    Constructors 
    Constructor Description
    JpaOutboundGatewayFactoryBean()  
  • Method Summary

    Modifier and Type Method Description
    protected JpaOutboundGateway createHandler()  
    void setGatewayType​(OutboundGatewayType gatewayType)  
    void setJpaExecutor​(JpaExecutor jpaExecutor)  
    void setProducesReply​(boolean producesReply)  
    void setReplyTimeout​(long replyTimeout)
    Specifies the time the gateway will wait to send the result to the reply channel.
    void setRequiresReply​(boolean requiresReply)  

    Methods inherited from class org.springframework.integration.config.AbstractSimpleMessageHandlerFactoryBean

    createHandlerInternal, getBeanFactory, getObject, getObjectType, getPreCreationHandlerType, isSingleton, setAdviceChain, setApplicationContext, setApplicationEventPublisher, setAsync, setBeanFactory, setBeanName, setChannelResolver, setComponentName, setOrder, setOutputChannel, setOutputChannelName

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

  • Method Details

    • setJpaExecutor

      public void setJpaExecutor​(JpaExecutor jpaExecutor)
    • setGatewayType

      public void setGatewayType​(OutboundGatewayType gatewayType)
    • setProducesReply

      public void setProducesReply​(boolean producesReply)
    • setReplyTimeout

      public 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 (for example a bounded QueueChannel that is currently full). By default the Gateway will wait indefinitely.
      Parameters:
      replyTimeout - The timeout in milliseconds
    • setRequiresReply

      public void setRequiresReply​(boolean requiresReply)
    • createHandler

      protected JpaOutboundGateway createHandler()
      Specified by:
      createHandler in class org.springframework.integration.config.AbstractSimpleMessageHandlerFactoryBean<JpaOutboundGateway>