AW: Forwarding PDF files to HTTP endpoint gives TypeConversionException

2024-11-29 Thread Penagos Jaime
divide a bit more the routes I had for it. Still unsure why the other method did not work. Best regards and have a great weekend! Jaime -Ursprüngliche Nachricht- Von: Penagos Jaime Gesendet: Mittwoch, 27. November 2024 11:40 An: 'users@camel.apache.org' Betreff: AW: For

AW: Forwarding PDF files to HTTP endpoint gives TypeConversionException

2024-11-27 Thread Penagos Jaime
why I keep getting the Serialization / TypeConversion exception. If you have any ideas I can check, please let me know. I appreciate all the feedback. Best regards, Jaime Von: Penagos Jaime Gesendet: Dienstag, 26. November 2024 07:26:28 An: &

AW: Forwarding PDF files to HTTP endpoint gives TypeConversionException

2024-11-25 Thread Penagos Jaime
id not work... Thanks again for your advice. Best regards, Jaime -Ursprüngliche Nachricht- Von: Jeremy Ross Gesendet: Dienstag, 26. November 2024 00:28 An: users@camel.apache.org Betreff: Re: Forwarding PDF files to HTTP endpoint gives TypeConversionException I don’t see why th

Forwarding PDF files to HTTP endpoint gives TypeConversionException

2024-11-25 Thread Penagos Jaime
Hey everyone, I've been working with the Apache Camel PDF Component and my idea is to forward the content to another endpoint, that it is supposed to send it to another API through the HTTP component. So, I've been trying to use a File component that sends the PDFs to the other direct: route,

AW: Apache Camel PDF Component

2024-11-20 Thread Penagos Jaime
Hi again everyone, is there maybe an example of the working PDF component? Does it map to PDDocument? Or do I need to use within a processor a manual use of it? Again, thanks for any advice on this. Best regards, Jaime P. -Ursprüngliche Nachricht- Von: Penagos Jaime Gesendet

AW: Apache Camel PDF Component

2024-11-20 Thread Penagos Jaime
in use: https://github.com/apache/camel/tree/camel-3.22.2/components/camel-pdf/src/test/java/org/apache/camel/component/pdf -- Babak > On 19 Nov 2024, at 13:11, Penagos Jaime > wrote: > > Hi, > > thanks for the reference, will check it out. > > Best regards

AW: Apache Camel PDF Component

2024-11-19 Thread Penagos Jaime
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 mar 19 nov 2024 alle ore 12:50 Penagos Jaime < jaime.p

Apache Camel PDF Component

2024-11-18 Thread Penagos Jaime
Hey everyone, I've been testing some camel solr component (v 3.22.2) and I would like to send to solr the contents of PDF files (that support it), so I decided to use the PDF Component in Camel and I am not sure how to extract the information to test. Stacktrace -

AW: Exception with Routes on Windows / Linux, Expected w3c Document

2023-07-27 Thread Penagos Jaime
aagain 😊 -Ursprüngliche Nachricht- Von: Penagos Jaime Gesendet: Donnerstag, 27. Juli 2023 15:16 An: 'users@camel.apache.org' Betreff: AW: Exception with Routes on Windows / Linux, Expected w3c Document I have still a question about this plugin you recommended... would it be

AW: Exception with Routes on Windows / Linux, Expected w3c Document

2023-07-27 Thread Penagos Jaime
mojo org.apache.maven.plugins:maven-shade-plugin:3.5.0:shade for parameter resource: Cannot find 'resource' in class org.apache.maven.plugins.shade.resource.ManifestResourceTransformer -> [Help 1] Thanks again for the help and advice. Jaime -Ursprüngliche Nachricht- Von:

AW: Exception with Routes on Windows / Linux, Expected w3c Document

2023-07-27 Thread Penagos Jaime
It seems to work normal now. Weirdly enough, the generated JARs were exactly the same size Wow, I could have never guessed it was that plugin. Thank you so much for your answer. Best regards, Jaime -Ursprüngliche Nachricht- Von: Penagos Jaime Gesendet: Donnerstag, 27. Juli

AW: Exception with Routes on Windows / Linux, Expected w3c Document

2023-07-27 Thread Penagos Jaime
Are you doing any fat/uber jar by any chance, then see this FAQ https://camel.apache.org/manual/faq/how-to-create-executable-jar-camel-main.html#_fat_jar_with_camel_maven_plugin On Thu, Jul 27, 2023 at 1:33 PM Penagos Jaime < jaime.pena...@ub.uni-muenchen.de> wrote: > Dear Camel

Exception with Routes on Windows / Linux, Expected w3c Document

2023-07-27 Thread Penagos Jaime
Dear Camel community, I've been facing a weird problem with Camel (3.21.0) and my development process (in Windows) and deployment (in Linux). I dont have any isses at all while testing / working on Windows. When I deploy the routes on the server, I start getting these exceptions. -

AW: Route doesnt get started

2023-05-24 Thread Penagos Jaime
I feel that direct routes wont get started automatically, they would need to get called from another route, like a timer or seda not sure if this helps. Best regards Jaime -Ursprüngliche Nachricht- Von: Reto Peter Gesendet: Mittwoch, 24. Mai 2023 11:11 An: users@camel.apache.org B

AW: ConsumerTemplate waiting indefinitely for Response

2023-03-02 Thread Penagos Jaime
-Ursprüngliche Nachricht- Von: Penagos Jaime Gesendet: Donnerstag, 2. März 2023 08:59 An: users@camel.apache.org Betreff: AW: ConsumerTemplate waiting indefinitely for Response Hello, I tried using that one, but it would not return the body of the file, just an empty string. Maybe

AW: ConsumerTemplate waiting indefinitely for Response

2023-03-01 Thread Penagos Jaime
. März 2023 08:47 An: users@camel.apache.org Betreff: Re: ConsumerTemplate waiting indefinitely for Response Hi See the options about using a timeout value to not wait for a long time https://camel.apache.org/manual/consumertemplate.html#_receive_modes On Thu, Mar 2, 2023 at 8:04 AM Penagos Jaime

ConsumerTemplate waiting indefinitely for Response

2023-03-01 Thread Penagos Jaime
Hello everyone, I am working right now with some REST Routes in Camel, and one of those routes is supposed to read a file on a specific folder and return the result. The name of the file is given on the URI (i.e. GET /file/{name}). It seems to work fine, although when I send the same request to

AW: Camel REST Component and Jersey to trigger Camel Routes withg Java DSL (without Springboot)

2023-02-15 Thread Penagos Jaime
Camel REST Component and Jersey to trigger Camel Routes withg Java DSL (without Springboot) No such example - we tend to have plain examples or for spring boot / quarkus. You can see unit test of camel-servlet that has tests with rest-dsl. On Wed, Feb 15, 2023 at 3:09 PM Penagos Jaime < ja

AW: Camel REST Component and Jersey to trigger Camel Routes withg Java DSL (without Springboot)

2023-02-15 Thread Penagos Jaime
PM Penagos Jaime < jaime.pena...@ub.uni-muenchen.de> wrote: > Hello everyone, > > I have a (what I think) might be a rookie mistake question about Camel > REST and Java DSL, and am looking for advice > > I created a basic RESTful webservice with a simple "hello worl

Camel REST Component and Jersey to trigger Camel Routes withg Java DSL (without Springboot)

2023-02-15 Thread Penagos Jaime
Hello everyone, I have a (what I think) might be a rookie mistake question about Camel REST and Java DSL, and am looking for advice I created a basic RESTful webservice with a simple "hello world" (with jersey 1.19), and would like to link that to the REST component in camel, without using Sp

AW: File Component with variable FileName (set from properties placeholder or similar)

2022-11-23 Thread Penagos Jaime
n create a new route B with the filename when you have it. You can also look at route templates, and create the route from a template (see docs) On Mon, Nov 21, 2022 at 3:42 PM Penagos Jaime < jaime.pena...@ub.uni-muenchen.de> wrote: > Hi folks, > > I'm working with Camel

File Component with variable FileName (set from properties placeholder or similar)

2022-11-21 Thread Penagos Jaime
Hi folks, I'm working with Camel 3.18.4 and I want to work with placeholders and the File component. My idea has been: load an information on one route (lets call it route A), then start the route B that uses the file component (autostart is set on false) with the filename that I get from rout

AW: OAI-PMH Component and Simple Language support

2021-08-04 Thread Penagos Jaime
Wow, nevermind. With toD worked as expected. Was that one of the changes in Camel 3? Thanks for all the quick help! Best regards, Jaime Penagos -Ursprüngliche Nachricht- Von: Penagos Jaime Gesendet: Mittwoch, 4. August 2021 13:29 An: users@camel.apache.org Betreff: AW: OAI-PMH

AW: OAI-PMH Component and Simple Language support

2021-08-04 Thread Penagos Jaime
13:25 An: users@camel.apache.org Betreff: Re: OAI-PMH Component and Simple Language support Hi See the toD and content enricher eip patterns On Wed, Aug 4, 2021 at 1:22 PM Penagos Jaime wrote: > > Hi everyone, > > I am currently testing the OAI-PMH component with Camel 3.11.x, the

OAI-PMH Component and Simple Language support

2021-08-04 Thread Penagos Jaime
Hi everyone, I am currently testing the OAI-PMH component with Camel 3.11.x, the component works as intended, but it doesnt let me use Simple Language in the Producer / Consumer. I want to load an ID from the body of a file, and after some basic processing, use this information as the identifi

How to set up priority execution on routes in Camel

2021-02-22 Thread Penagos Jaime
Hi everybody! I am working in some DSL routes that use a shared route for CRUD operations on a system. A -> CRUD B -> CRUD C -> CRUD The routes A B and C use the CRUD routes, and these routes are set to use the throttle filter, to avoid overflowing the server with operations. I have the proble

Apache Camel Solr Component and Update queries

2021-01-22 Thread Penagos Jaime
Hi everyone, I am using currently Apache Camel 2.24.3 and trying to integrate a system with a Solr index. On the Solr side we've been working with Unique IDs in form of a UUID, which will get updates during the whole workflow. I've been having trouble with the Camel Component, when trying to u