Re: Camel AWS Athena SDK

2024-11-19 Thread Zheng Feng
Answer inline, On Wed, Nov 20, 2024 at 10:49 AM David Hoffer wrote: > Thanks for your quick response. > > As I think about this more I do not think MongoDB and Athena are ever used > together in the same REST transaction. As we use those DBs for different > REST services. > > So it seems we are

Re: Camel AWS Athena SDK

2024-11-19 Thread David Hoffer
Thanks for your quick response. As I think about this more I do not think MongoDB and Athena are ever used together in the same REST transaction. As we use those DBs for different REST services. So it seems we are okay with all the other DB options. However I have a few questions. - How doe

Re: Camel AWS Athena SDK

2024-11-19 Thread Zheng Feng
OK, I see. So you are using PG and MongoDB and Ahtena in one service, but I think only PG supports the XA transaction currently. And yeah, Quarkus JTA transaction manager only supports using one non-XA datasource in a XA transaction. PG + MongoDB is OK PG + Athena is OK PG + MongoDB + Athena is no

Re: Camel AWS Athena SDK

2024-11-19 Thread David Hoffer
Hi, Yes we actually have 4 datasources. This is the main one, always exists. db-kind: postgresql emrDS: db-kind: other jdbc: driver: com.facebook.presto.jdbc.PrestoDriver dialect: Derby athenaDS: db-kind: other jdbc: driver: cdata.jdbc.amazonathena.AmazonAthenaDriver dialect:

Re: Camel AWS Athena SDK

2024-11-19 Thread Zheng Feng
Hi David, Can you describe more about your scenario? Do you want to run Athean and other data sources in an XA transaction? What transaction manager did you use, is it quarkus-narayana-jta? On Wed, Nov 20, 2024 at 7:19 AM David Hoffer wrote: > https://camel.apache.org/components/4.8.x/aws2-athe

Camel AWS Athena SDK

2024-11-19 Thread David Hoffer
https://camel.apache.org/components/4.8.x/aws2-athena-component.html We use multiple data sources in our Quarkus application and Athena is one of them. Is there a way to make this XA compliant? The latest Quarkus is failing with our current CData driver as its not XA, so looking for something th

Re: Status of xml, yaml DSLs in Camel

2024-11-19 Thread Mitch Trachtenberg
FWIW, this is what Google search returns to a question about whether Apache Camel XML DSL is deprecated. Still looking for what I'd seen a day or two ago, but very glad it was wrong. [image: image.png] On Tue, Nov 19, 2024 at 6:31 AM Mitch Trachtenberg wrote: > I apologize for spreading misinfo

Re: Status of xml, yaml DSLs in Camel

2024-11-19 Thread Mitch Trachtenberg
I apologize for spreading misinformation. I'll try to find the source, but I don't have it in front of me. Thanks for the quick and very welcome correction On Tue, Nov 19, 2024, 12:22 AM Pasquale Congiusti < pasquale.congiu...@gmail.com> wrote: > Hello. > No, XML nor YAML DSL have been deprecate

Re: Apache Camel PDF Component

2024-11-19 Thread Babak Vahdat
Hi Given your stack-trace, probably you’re running into (missing in 3.22.x): https://issues.apache.org/jira/browse/CAMEL-21026 See also the related (fixed) bug by that ticket. As Federico has already mentioned looking into the corresponding component tests is always a good idea. Just make sure

AW: Apache Camel PDF Component

2024-11-19 Thread Penagos Jaime
Hi, thanks for the reference, will check it out. Best regards -Ursprüngliche Nachricht- Von: Federico Mariani Gesendet: Dienstag, 19. November 2024 12:59 An: users@camel.apache.org Betreff: Re: Apache Camel PDF Component Hi, I do not think there are camel-pdf examples, but you can f

Re: Apache Camel PDF Component

2024-11-19 Thread Federico Mariani
Hi, I do not think there are camel-pdf examples, but you can find something useful in the test component https://github.com/apache/camel/tree/main/components/camel-pdf/src/test/java/org/apache/camel/component/pdf most of the Camel tests can be used as reference for your implementation. Il giorno

Re: Status of xml, yaml DSLs in Camel

2024-11-19 Thread Pasquale Congiusti
Hello. No, XML nor YAML DSL have been deprecated. I think other DSL such as Kotlin or Groovy were deprecated. Java, XML and YAML are fully supported and should be for long time. Where have you found that information so we can amend it? Pasquale. On Tue, Nov 19, 2024 at 1:46 AM Mitch Trachtenberg