Hi you can use the consumer as in the example
from("dropbox://search?" + getAuthParams() +
"&remotePath=/XXX"+"&query=XXX")
.to("mock:result");
note that for query you can rely on dropbox doc how to specify the regular
expression
http://dropbox.github.io/dropbox-sdk-java/api-docs/v1.7.x/com/dropbox/core/DbxClient.html#searchFileAndFolderNames(java.lang.String,
java.lang.String)
Giovabbi
Mark.Nelson wrote
> Thank you for your reply.
>
> I didn't get exception when I used the mentioned route but I didn't get
> the expected behavior.
> The mentioned route downloads files from dropbox only one time when it's
> start.
> I need to have this behavior, download files from dropbox every time I add
> new files. When I add new files in dropbox, it has to check them and
> download them, something like idempotent option in the File2 component.
> Is this option available? Or I have to implement it?
>
> Thanks
> Mark Nelson
--
View this message in context:
http://camel.465427.n5.nabble.com/camel-dropbox-tp5748012p5748483.html
Sent from the Camel - Users mailing list archive at Nabble.com.