Package org.frankframework.scheduler.job
Class SendMessageJob
java.lang.Object
org.frankframework.core.TransactionAttributes
org.frankframework.scheduler.JobDef
org.frankframework.scheduler.job.SendMessageJob
- All Implemented Interfaces:
HasTransactionAttribute
,IConfigurable
,IConfigurationAware
,INamedObject
,IScopeProvider
,IJob
,org.springframework.beans.factory.Aware
,org.springframework.context.ApplicationContextAware
- Direct Known Subclasses:
DatabaseJob
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
The sole purpose of this calls is to prevent AOP wrapping around the sendMessage / sendMessageOrThrow methods. -
Field Summary
Fields inherited from class org.frankframework.core.TransactionAttributes
log
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
void
execute()
Actual implementation of theIJob
.void
setJavaListener
(String javaListener) JavaListener to send the message tovoid
setLocalSender
(IbisLocalSender localSender) void
setMessage
(String message) message to be sent into the pipelineMethods inherited from class org.frankframework.scheduler.JobDef
beforeExecuteJob, decrementCountThreads, executeJob, getApplicationContext, getConfigurationClassLoader, getCronExpression, getDescription, getIbisManager, getInterval, getJobDetail, getJobGroup, getLocker, getLogPrefix, getMessageKeeper, getName, getNumThreads, incrementCountThreads, isConfigured, setApplicationContext, setConfigurationMetrics, setCronExpression, setDescription, setInterval, setJobGroup, setLocker, setMessageKeeperSize, setName, setNumThreads, toString
Methods inherited from class org.frankframework.core.TransactionAttributes
configureTransactionAttributes, getTransactionAttribute, getTransactionTimeout, getTxDef, isTransacted, isTransacted, setTransacted, setTransactionAttribute, setTransactionTimeout
-
Constructor Details
-
SendMessageJob
public SendMessageJob()
-
-
Method Details
-
configure
- Specified by:
configure
in interfaceIConfigurable
- Overrides:
configure
in classJobDef
- Throws:
ConfigurationException
-
execute
Description copied from interface:IJob
Actual implementation of theIJob
. Is wrapped around aLocker
andexceptions
will be managed automatically.- Throws:
JobExecutionException
- when the implementation fails to executeTimeoutException
- when the TransactionTimeout has been reached
-
setJavaListener
JavaListener to send the message to -
setMessage
message to be sent into the pipeline -
setLocalSender
-
getJavaListener
-
getMessage
-