Github user JPercivall commented on the issue:

    https://github.com/apache/nifi/pull/483
  
    Hey @trixpan, I just finished checking out your latest commit. I was having 
trouble wording the how to properly make the onTrigger and data methods work in 
sync, so I did some reworking and created a patch that'll apply on top of your 
commit. It has the bi-directional sync of the onTrigger and data methods as 
well as moving the reading of the stream to the onTrigger. I ran it using your 
template along with the ExtractEmailHeaders and ExtractEmailAttachments and it 
seem to all work smoothly. Check it out and let me know what you think.
    
    I feel bad just giving you a patch of my work and not properly explaining 
what to do, so if there is any thing you want me explain please do not hesitate 
to ask. 
    
    
[0001-NIFI-1899-reworking-bi-directional-Email-processing-.txt](https://github.com/apache/nifi/files/367578/0001-NIFI-1899-reworking-bi-directional-Email-processing-.txt)
  Github wouldn't let me attach a ".patch" file so just rename the extension.
    



---
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 infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

Reply via email to