How to properly integrate with Cassandra using Red Hat Fuse 7.1.x and Spring Boot?

Solution Verified - Updated -

Issue

  • When implementing a producer using camel-cassandraql within a REST route, we are receiving the following exception: java.lang.IllegalArgumentException: Prepared statement has only 0 variables, 1 values provided
  • camel-cassandraql component doesn't play well when using inside Spring Boot context
  • How to properly bind parameters to Cassandra queries using camel-cassandraql component?

Environment

  • Red Hat Fuse
    • 7.1.x

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