public abstract class JmsConsumer extends AbstractProcessor
| Modifier and Type | Field and Description |
|---|---|
static String |
MAP_MESSAGE_PREFIX |
private List<PropertyDescriptor> |
propertyDescriptors |
static Relationship |
REL_SUCCESS |
private Set<Relationship> |
relationships |
| Constructor and Description |
|---|
JmsConsumer() |
| Modifier and Type | Method and Description |
|---|---|
void |
consume(ProcessContext context,
ProcessSession session,
WrappedMessageConsumer wrappedConsumer) |
static Map<String,String> |
createMapMessageValues(javax.jms.MapMessage mapMessage) |
Set<Relationship> |
getRelationships() |
protected List<PropertyDescriptor> |
getSupportedPropertyDescriptors() |
static JmsProcessingSummary |
map2FlowFile(ProcessContext context,
ProcessSession session,
javax.jms.Message message,
boolean addAttributes,
ComponentLog logger) |
onTrigger, onTriggergetControllerServiceLookup, getIdentifier, getLogger, getNodeTypeProvider, init, initialize, isConfigurationRestored, isScheduled, toString, updateConfiguredRestoredTrue, updateScheduledFalse, updateScheduledTruecustomValidate, equals, getPropertyDescriptor, getPropertyDescriptors, getSupportedDynamicPropertyDescriptor, hashCode, onPropertyModified, validateclone, finalize, getClass, notify, notifyAll, wait, wait, waitisStatefulgetPropertyDescriptor, getPropertyDescriptors, onPropertyModified, validatepublic static final String MAP_MESSAGE_PREFIX
public static final Relationship REL_SUCCESS
private final Set<Relationship> relationships
private final List<PropertyDescriptor> propertyDescriptors
public Set<Relationship> getRelationships()
getRelationships in interface ProcessorgetRelationships in class AbstractSessionFactoryProcessorprotected List<PropertyDescriptor> getSupportedPropertyDescriptors()
getSupportedPropertyDescriptors in class AbstractConfigurableComponentpublic void consume(ProcessContext context, ProcessSession session, WrappedMessageConsumer wrappedConsumer) throws ProcessException
ProcessExceptionpublic static JmsProcessingSummary map2FlowFile(ProcessContext context, ProcessSession session, javax.jms.Message message, boolean addAttributes, ComponentLog logger) throws Exception
ExceptionCopyright © 2023 Apache NiFi Project. All rights reserved.