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, onTrigger
getControllerServiceLookup, getIdentifier, getLogger, getNodeTypeProvider, init, initialize, isConfigurationRestored, isScheduled, toString, updateConfiguredRestoredTrue, updateScheduledFalse, updateScheduledTrue
customValidate, equals, getPropertyDescriptor, getPropertyDescriptors, getSupportedDynamicPropertyDescriptor, hashCode, onPropertyModified, validate
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
getPropertyDescriptor, getPropertyDescriptors, onPropertyModified, validate
public 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 Processor
getRelationships
in class AbstractSessionFactoryProcessor
protected List<PropertyDescriptor> getSupportedPropertyDescriptors()
getSupportedPropertyDescriptors
in class AbstractConfigurableComponent
public void consume(ProcessContext context, ProcessSession session, WrappedMessageConsumer wrappedConsumer) throws ProcessException
ProcessException
public static JmsProcessingSummary map2FlowFile(ProcessContext context, ProcessSession session, javax.jms.Message message, boolean addAttributes, ComponentLog logger) throws Exception
Exception
Copyright © 2018 Apache NiFi Project. All rights reserved.