[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, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content