Github user markap14 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 --
    We probably want to expose the character set as a property. At a minimum, 
we should be explicit in defining which character set would be used (UTF-8 
perhaps) instead of relying on the default charset, as this would produce 
different results from environment to environment.


Reply via email to