[
https://issues.apache.org/jira/browse/CAMEL-2939?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14277111#comment-14277111
]
Robert Drysdale commented on CAMEL-2939:
----------------------------------------
I keep getting when I pass in Collections.emptyList() or []:
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))
Perhaps it is dependent on the version of Cassandra. Currently running DSE
3.1.6 (which we run in production so somewhat tied to this).
Certainly supporting a check on either an empty [] or empty collection and not
doing parameter binding in this case would be very useful.
> 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)