use of org.graylog2.plugin.messageprocessors.MessageProcessor in project graylog2-server by Graylog2.
the class ProcessBufferProcessor method handleMessage.
private void handleMessage(@Nonnull Message msg) {
msg.addStream(defaultStreamProvider.get());
Messages messages = msg;
for (MessageProcessor messageProcessor : orderedMessageProcessors) {
messages = messageProcessor.process(messages);
}
for (Message message : messages) {
outputBuffer.insertBlocking(message);
}
}
Aggregations