Uploaded image for project: 'AMQ Clients'
  1. AMQ Clients
  2. ENTMQCL-2337

AMQP large message with Special Characters(non-ASCII) are not getting parsed.

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 2.9.0.B2
    • 2.9.0.B1
    • qpid-jms
    • None
    • False
    • False
    • +
    • Undefined
    • Hide

      1. There is test case from Clebert:
      https://github.com/clebertsuconic/activemq-artemis/blob/c38d3043f652bab57b1b2c1ce8f4977fd8140898/tests/integration-tests/src/test/java/org/apache/activemq/artemis/tests/integration/amqp/AmqpLargeMessageTest.java#L310-L343

      2. Customer also provided springboot based reproducer. It can be easily executed against broker running with amqp port 5672. Than run this project with command

      mvn clean package
      java -jar target/camel-amqp-1.0.0-SNAPSHOT.jar
      

      3. Size property is configured in application.yaml of the reproducer. Setting it to 1000000, reproduces issue. With lower value of size, application works fine.

      Show
      1. There is test case from Clebert: https://github.com/clebertsuconic/activemq-artemis/blob/c38d3043f652bab57b1b2c1ce8f4977fd8140898/tests/integration-tests/src/test/java/org/apache/activemq/artemis/tests/integration/amqp/AmqpLargeMessageTest.java#L310-L343 2. Customer also provided springboot based reproducer. It can be easily executed against broker running with amqp port 5672. Than run this project with command mvn clean package java -jar target/camel-amqp-1.0.0-SNAPSHOT.jar 3. Size property is configured in application.yaml of the reproducer. Setting it to 1000000, reproduces issue. With lower value of size, application works fine.

      • The camel based consumer application which uses amqp client (below dependency) to connect to the AMQ broker is not able to parse the large messages (>1mb) which contain non-ascii characters in the message body.
      <dependency>
      <groupId>org.apache.qpid</groupId>
      <artifactId>qpid-jms-client</artifactId>
      <version>0.51.0.redhat-00002</version> 
      </dependency>
      
      

              gemmellr Robbie Gemmell
              rhn-support-cpandey Chandra Shekhar Pandey (Inactive)
              Jiri Daněk Jiri Daněk
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

                Created:
                Updated:
                Resolved: