The AmazonDynamoDB class used by Camel is deprecated, it might not support
all the new features offered by DDB.

The features offered by the camel component that can help you are: query
and scan. These operations call respectively the following methods of
AmazonDynamoDB:

public QueryResult query(QueryRequest queryRequest)

public ScanResult scan(ScanRequest scanRequest)


You can check the AWS API and see for yourself how to achieve what you want.

HTH,




On 23 March 2014 13:38, dev1 <jo...@wp.pl> wrote:

> Hello,
> I'm using Camel AWS-DDB for the first time and have some issues getting
> data
> from DynamoDB.
>
> Could you, please, help me with this? I'm able to add some item, update by
> primary Hash/Range key (by defining Key object) but is it possible to do it
> by database indexes?
> I created some indexes on database with Hash/Range keys defined and could
> not find any example of using them in camel. Is it possible to Query/Scan
> db
> by indexes? How can I get list of items by value of some other field? I
> tried CamelAwsDdbScanFilter but without success.
> Could you give me some examples of querying/scanning dynamoDB?
>
> Thanks in advance
>
>
>
> --
> View this message in context:
> http://camel.465427.n5.nabble.com/Camel-AWS-DDB-scan-query-tp5749255.html
> Sent from the Camel - Users mailing list archive at Nabble.com.
>



-- 
Bilgin Ibryam

Apache Camel & Apache OFBiz committer
Blog: ofbizian.com
Twitter: @bibryam <https://twitter.com/bibryam>

Author of Instant Apache Camel Message Routing
http://www.amazon.com/dp/1783283475

Reply via email to