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
  • Constructor Details

    • JpaOutboundGatewayFactoryBean

      public JpaOutboundGatewayFactoryBean()
  • 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 AbstractSimpleMessageHandlerFactoryBean<JpaOutboundGateway>