Github user mosermw commented on a diff in the pull request:
    --- Diff: 
    @@ -131,4 +143,10 @@ protected JMSPublisher 
finishBuildingJmsWorker(CachingConnectionFactory connecti
   , in -> StreamUtils.fillBuffer(in, 
messageContent, true));
             return messageContent;
    +    private String extractTextMessageBody(FlowFile flowFile, 
ProcessSession session) {
    +        final StringWriter writer = new StringWriter();
    +, in -> IOUtils.copy(in, writer, 
    --- End diff --
    I did think about this, and I chose this approach on purpose.  It's kind of 
the whole point of setting a default Charset in your JVM, to produce results 
that are specific to your desired environment.  Is this not right?


Reply via email to