Uploaded image for project: 'Red Hat Fuse'
  1. Red Hat Fuse
  2. ENTESB-21701

Camel MLLP component issue java.nio.charset.IllegalCharsetNameException: UNICODE UTF-8 WARN.

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Not a Bug
    • Icon: Normal Normal
    • None
    • fuse-7.11-GA
    • Camel
    • None
    • False
    • Hide

      None

      Show
      None
    • False
    • Todo
    • Workaround Exists
    • Hide

      Upgrade to Camel 3.x 

      Show
      Upgrade to Camel 3.x 
    • Very Likely

      This issue only happened in Camel 2.x. Camel 3.x is unable to reproduce. 
       
      Simple mllp camel route
       

        from("mllp:{{camel.component.mllp.configuration.hostname}}:{{camel.component.mllp.configuration.port}}")
                  .to("log:output");  

       
      when using jmeter to send records to this route it frequently display the following in the log. 

      2023-06-25 15:06:53.456  INFO 450742 --- [/127.0.0.1:7890] o.a.c.component.mllp.MllpConfiguration   : Ignoring exception encountered determining character set for for name 'UNICODE UTF-8' found in MSH-18 - using default character set UTF-8   java.nio.charset.IllegalCharsetNameException: UNICODE UTF-8 
      at java.base/java.nio.charset.Charset.checkName(Charset.java:308) ~[na:na] 
      at java.base/java.nio.charset.Charset.lookup2(Charset.java:482) ~[na:na] 
      at java.base/java.nio.charset.Charset.lookup(Charset.java:462) ~[na:na] 
      at java.base/java.nio.charset.Charset.isSupported(Charset.java:503) ~[na:na] 
      at org.apache.camel.component.mllp.MllpConfiguration.getCharset(MllpConfiguration.java:302) ~[camel-mllp-2.23.2.fuse-7_11_1-00015-redhat-00002.jar!/:2.23.2.fuse-7_11_1-00015-redhat-00002] 
      at org.apache.camel.component.mllp.MllpTcpServerConsumer.processMessage(MllpTcpServerConsumer.java:265) ~[camel-mllp-2.23.2.fuse-7_11_1-00015-redhat-00002.jar!/:2.23.2.fuse-7_11_1-00015-redhat-00002] 
      at org.apache.camel.component.mllp.internal.TcpSocketConsumerRunnable.run(TcpSocketConsumerRunnable.java:166) ~[camel-mllp-2.23.2.fuse-7_11_1-00015-redhat-00002.jar!/:2.23.2.fuse-7_11_1-00015-redhat-00002] 
      at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515) ~[na:na] 
      at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264) ~[na:na] 
      at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) ~[na:na] 
      at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) ~[na:na] 
      at java.base/java.lang.Thread.run(Thread.java:829) ~[na:na]

       
       

              Unassigned Unassigned
              rhn-support-whui Roger Hui
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: