[
https://issues.apache.org/jira/browse/CAMEL-2939?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14278761#comment-14278761
]
Robert Drysdale commented on CAMEL-2939:
----------------------------------------
Thanks for the update.
I got this to work with your new parameter prepareStatements=false in the url.
Without that it still failed at line 117 of CassandraProducer
resultSet = session.execute(lPreparedStatement.bind());
with
com.datastax.driver.core.exceptions.NoHostAvailableException: All host(s) tried
for query failed (tried: localhost/127.0.0.1:9042
(com.datastax.driver.core.exceptions.DriverException: Host replied with server
error: java.lang.IndexOutOfBoundsException: Not enough readable bytes - Need 4,
maximum is 0)) [See nested exception:
com.datastax.driver.core.exceptions.NoHostAvailableException: All host(s) tried
for query failed (tried: localhost/127.0.0.1:9042
(com.datastax.driver.core.exceptions.DriverException: Host replied with server
error: java.lang.IndexOutOfBoundsException: Not enough readable bytes - Need 4,
maximum is 0))]
Again this could be cause of the version of Cassandra I'm running (DSE 3..1.6).
I doesn't appear to like binding with no parameters.
> Cassandra component for Camel http://github.com/ticktock/camel-cassandra
> ------------------------------------------------------------------------
>
> Key: CAMEL-2939
> URL: https://issues.apache.org/jira/browse/CAMEL-2939
> Project: Camel
> Issue Type: New Feature
> Affects Versions: 2.3.0
> Reporter: Scott Clasen
> Assignee: Claus Ibsen
> Fix For: 2.15.0
>
> Attachments: camel-cassandra.tar.gz
>
>
> Take a look at http://github.com/ticktock/camel-cassandra, its a Cassandra
> component for Camel.
> Please pull into the camel codebase if its up to snuff, or let me know what I
> need to do to get it there
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)