camel-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gérald Quintana (JIRA) <>
Subject [jira] [Commented] (CAMEL-2939) Cassandra component for Camel
Date Wed, 14 Jan 2015 15:43:35 GMT


Gérald Quintana commented on CAMEL-2939:

Tested with the URI "cql://localhost/camel_ks?cql=select login, first_name, last_name from
camel_user" and a body containing an empty collection (Collections.emptyList()), and it works.

Yet I understand your problem, what kind of solution would you suggest to disable parameter
binding when it's not required? 
* Test if body contains some special value (null, empty array, empty collection...)?
* Test if header/URI contains some special flag to disable parameter binding?
* Parse CQL statement to check whether there are "?" or ":paramName" tokens?
* Introduce a pluggable "parameter binding strategy"?

> Cassandra component for Camel
> ------------------------------------------------------------------------
>                 Key: CAMEL-2939
>                 URL:
>             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, 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

View raw message