[
https://issues.apache.org/jira/browse/CAMEL-14992?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17114244#comment-17114244
]
Jon Chase commented on CAMEL-14992:
-----------------------------------
Here's what it's looking like so far:
{code:java}
String s = "amazonAthenaClient=#athenaClient";
from("direct:executeQuery")
.setBody(constant("select 1 as foo"))
.to("aws2-athena://executeQuery?outputLocation=" + s3Bucket + "&" + s);
from("direct:getQueryExecution")
.setBody(constant("select 'getQueryExecutionTest'"))
.to("aws2-athena://startQueryExecution?outputLocation=" + s3Bucket + "&" +
s)
.setHeader(Athena2Constants.QUERY_EXECUTION_ID, simple("${body}"))
.to("aws2-athena://getQueryExecution?" + s);
from("direct:listQueryExecutions")
.setBody(constant("select 1 as foo"))
.to("aws2-athena://startQueryExecution?outputLocation=" + s3Bucket + "&" +
s)
.log("ensured there will be a query execution to return from the following
listQueryExecutions call")
.to("aws2-athena://listQueryExecutions?" + s);
from("direct:startQueryExecution")
.setBody(constant("select 1 as foo"))
.to("aws2-athena://startQueryExecution?outputLocation=" + s3Bucket + "&" +
s);
{code}
> Create a Camel AWS2 Athena component
> ------------------------------------
>
> Key: CAMEL-14992
> URL: https://issues.apache.org/jira/browse/CAMEL-14992
> Project: Camel
> Issue Type: New Feature
> Components: camel-aws2
> Reporter: Andrea Cosentino
> Assignee: Andrea Cosentino
> Priority: Major
> Fix For: 3.x
>
>
--
This message was sent by Atlassian Jira
(v8.3.4#803005)