abstract class JMSWorker extends Object
JMSPublisher,
JMSConsumer| Modifier and Type | Field and Description |
|---|---|
private org.springframework.jms.connection.CachingConnectionFactory |
connectionFactory |
private boolean |
isValid |
protected org.springframework.jms.core.JmsTemplate |
jmsTemplate |
protected ComponentLog |
processLog |
| Constructor and Description |
|---|
JMSWorker(org.springframework.jms.connection.CachingConnectionFactory connectionFactory,
org.springframework.jms.core.JmsTemplate jmsTemplate,
ComponentLog processLog)
Creates an instance of this worker initializing it with JMS
Connection and creating a target Channel used by
sub-classes to interact with JMS systems |
| Modifier and Type | Method and Description |
|---|---|
boolean |
isValid() |
void |
setValid(boolean isValid) |
void |
shutdown() |
String |
toString() |
protected final org.springframework.jms.core.JmsTemplate jmsTemplate
protected final ComponentLog processLog
private final org.springframework.jms.connection.CachingConnectionFactory connectionFactory
private boolean isValid
public JMSWorker(org.springframework.jms.connection.CachingConnectionFactory connectionFactory,
org.springframework.jms.core.JmsTemplate jmsTemplate,
ComponentLog processLog)
Connection and creating a target Channel used by
sub-classes to interact with JMS systemsjmsTemplate - the instance of JmsTemplateprocessLog - the instance of ComponentLogCopyright © 2021 Apache NiFi Project. All rights reserved.