Github user trkurc commented on a diff in the pull request:

    https://github.com/apache/nifi/pull/271#discussion_r56105879
  
    --- Diff: 
nifi-nar-bundles/nifi-spring-bundle/nifi-spring-processors/src/main/resources/docs/org.apache.nifi.spring.SpringContextProcessor/additionalDetails.html
 ---
    @@ -0,0 +1,94 @@
    +<!DOCTYPE html>
    +<html lang="en">
    +    <!--
    +      Licensed to the Apache Software Foundation (ASF) under one or more
    +      contributor license agreements.  See the NOTICE file distributed with
    +      this work for additional information regarding copyright ownership.
    +      The ASF licenses this file to You under the Apache License, Version 
2.0
    +      (the "License"); you may not use this file except in compliance with
    +      the License.  You may obtain a copy of the License at
    +          http://www.apache.org/licenses/LICENSE-2.0
    +      Unless required by applicable law or agreed to in writing, software
    +      distributed under the License is distributed on an "AS IS" BASIS,
    +      WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or 
implied.
    +      See the License for the specific language governing permissions and
    +      limitations under the License.
    +    -->
    +    <head>
    +        <meta charset="utf-8" />
    +        <title>SpringContextProcessor</title>
    +        <link rel="stylesheet" href="../../css/component-usage.css" 
type="text/css" />
    +    </head>
    +
    +    <body>
    +        <!-- Processor Documentation 
================================================== -->
    +        <h2>Description:</h2>
    +        <p>
    +            <b>SpringContextProcessor</b> – allows integration of 
processes encapsulated in Spring Application Context to run as NiFi 
    +            processor by becoming a runtime host for an instance of Spring 
Application Context.  
    +        </p>
    +        <p>
    +            Communication between NiFi and process encapsulated within 
Spring Application Context is accomplished via Spring Messaging 
    +            (one of the core modules of Spring Framework) and supports 3 
usage modes:
    +            <ul>
    +                   <li><i>Headless</i> - no interaction with NiFi, meaning 
nothing is sent to it and nothing is received from it (i.e., some monitoring 
app).  
    +                   In this case NiFi simply plays the role of the runtime 
host.</li>
    +                   <li><i>One way (NiFi -&gt; Spring or Spring -&gt; 
NiFi). </i> - This depends on existence of pre-defined message channel in 
Spring 
    +                   Application Context. The name of the channel should be 
“fromNiFi” and the type 
<i>org.springframework.messaging.MessageChannel.</i></li>
    +                   <li><i>By-directional (NiFi -&gt; Spring -&gt; Nifi or 
Spring -&gt; NiFi -&gt; Spring)</i> - This depends on existence of two channels 
 
    +                   in Spring Application Context. One channel receives 
messages from NiFi with name “fromNiFi” and type 
<i>org.springframework.messaging.MessageChannel</i>i>
    +                    and another is o receive messages from Spring with 
name “toNiFi” and type 
<i>org.springframework.messaging.PollableChannel.</i></li>
    --- End diff --
    
    another typo: s/ o / to / ?



---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

Reply via email to