How to use outputClass in camel-sql to convert query result into a java bean

Solution Verified - Updated -

Issue

I have a camel-sql producer endpoint and I want to convert my query result into a Java bean using outputClass option. Are there any example?

Environment

  • Red Hat JBoss Fuse
    • 6.2.1
    • 6.3.0

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