public class JpaOutboundGatewayFactoryBean extends AbstractSimpleMessageHandlerFactoryBean<JpaOutboundGateway>
JpaOutboundGatewayFactoryBean
creates instances of the
JpaOutboundGateway
. Optionally this
FactoryBean
will add Aop Advices (e.g.
TransactionInterceptor
to the
JpaOutboundGateway
instance.logger
OBJECT_TYPE_ATTRIBUTE
Constructor and Description |
---|
JpaOutboundGatewayFactoryBean() |
Modifier and Type | Method and 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) |
createHandlerInternal, getBeanFactory, getObject, getObjectType, getPreCreationHandlerType, isSingleton, setAdviceChain, setApplicationContext, setApplicationEventPublisher, setAsync, setBeanFactory, setBeanName, setChannelResolver, setComponentName, setOrder, setOutputChannel, setOutputChannelName
public void setJpaExecutor(JpaExecutor jpaExecutor)
public void setGatewayType(OutboundGatewayType gatewayType)
public void setProducesReply(boolean producesReply)
public void setReplyTimeout(long replyTimeout)
replyTimeout
- The timeout in millisecondspublic void setRequiresReply(boolean requiresReply)
protected JpaOutboundGateway createHandler()
createHandler
in class AbstractSimpleMessageHandlerFactoryBean<JpaOutboundGateway>