[Camel] java.nio.BufferOverflowException in Camel execution of method org.apache.camel.converter.NIOConverter.toByteBuffer()

Solution Verified - Updated -

Issue

  • When sending data via a camel-aws Kinesis producer it randomly fails with
    org.apache.camel.RuntimeCamelException: java.nio.BufferOverflowException

  • Random occurrence of exception org.apache.camel.RuntimeCamelException: java.nio.BufferOverflowException when executing a Camel route

Environment

  • Fuse 6.3
  • Camel
    • Camel internally calling methd org.apache.camel.converter.NIOConverter.toByteBuffer()

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.