Camel PGP unmarshalling fails with " unknown object in stream: 47"

Solution Verified - Updated -


  • Camel PGP unmarshalling fails with the following exception: unknown object in stream: 47
    at org.bouncycastle.openpgp.PGPObjectFactory.nextObject(Unknown Source)
    at org.apache.camel.converter.crypto.PGPKeyAccessDataFormat.getDecryptedData(
    at org.apache.camel.converter.crypto.PGPKeyAccessDataFormat.unmarshal(
    at org.apache.camel.processor.UnmarshalProcessor.process(
    at org.apache.camel.processor.RedeliveryErrorHandler.process(
    at org.apache.camel.processor.CamelInternalProcessor.process(


  • Red Hat Fuse (Fuse)
    • 7
  • Apache Camel (Camel)
    • camel-pgp unmarshaller

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