AW: ConsumerTemplate waiting indefinitely for Response

2023-03-01 Thread Penagos Jaime
Hello, I tried using that one, but it would not return the body of the file, just an empty string. Maybe creating an Endpoint could help? I will try to test if it loads the information I need. *fingers crossed* -Ursprüngliche Nachricht- Von: Claus Ibsen Gesendet: Donnerstag, 2. März

Re: PollEnrich with File from classpath

2023-03-01 Thread Claus Ibsen
Hi You cannot poll from a classpath as that's inside a JAR. The file component uses the file system. On Thu, Mar 2, 2023 at 8:36 AM Reto Peter wrote: > Hi > > I have a simple issue with the following route: > > This works > > > .pollEnrich("file://src/main/resources/supplier/xxx/article?fileN

Re: ConsumerTemplate waiting indefinitely for Response

2023-03-01 Thread Claus Ibsen
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 < jaime.pena...@ub.uni-muenchen.de> wrote: > Hello everyone, > > I am working right now with some REST Ro

PollEnrich with File from classpath

2023-03-01 Thread Reto Peter
Hi I have a simple issue with the following route: This works .pollEnrich("file://src/main/resources/supplier/xxx/article?fileName=ExcelFooter.txt&noop=true&idempotent=false") But I need to replace the classpath 'src/main/resources' folder, cause otherwise it doesn't work when its deployed. How

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

Re: Karavan + JBang + YAML DSL ; trying to use xtokenize

2023-03-01 Thread Claus Ibsen
Hi Oh can you try using expression instead of path, so its expression: xtokenize: id: xtokenize-460a expression: //Batchmaster mode: w On Wed, Mar 1, 2023 at 10:13 PM Claus Ibsen wrote: > Hi > > Ah there is a point that

Re: Karavan + JBang + YAML DSL ; trying to use xtokenize

2023-03-01 Thread Claus Ibsen
Hi Ah there is a point that xtokenize is using @XmlValue to set that "path". And the yaml-dsl is potentially not handing this correctly. Can you create a JIRA ticket and I will try to find some time to look at it? On Wed, Mar 1, 2023 at 7:35 PM Chirag wrote: > I am using 3.20.0 > > > Here is my

Re: Karavan + JBang + YAML DSL ; trying to use xtokenize

2023-03-01 Thread Chirag
I am using 3.20.0 Here is my route in XML DSL: http://www.w3.org/2001/XMLSchema-instance"; xmlns="http://camel.apache.org/schema/spring"; xsi:schemaLocation=" http://camel.apache.org/schema/spring https://camel.apache.org/schema/spring/camel-spring.xsd";

[VOTE] Release Apache Camel Kamelets 3.20.2

2023-03-01 Thread Andrea Cosentino
Hello all: This is a vote for releasing camel-kamelets 3.20.2 This release contains bug fixes and upgrade to latest camel 3.20.2 Kamelets release files: https://dist.apache.org/repos/dist/dev/camel/camel-kamelets/3.20.2 Kamelets staging repository: https://repository.apache.org/content/repositor

Re: KameletBinding & CloudEvents & Camel JBang & Documentation

2023-03-01 Thread Claus Ibsen
Hi If camel-knative is enriched with CE, then we could potentially make camel-jbang automatically include camel-knative and include CEs as well, to make it possible to simulate locally with that information as well. On Thu, Feb 23, 2023 at 6:21 AM Mikael Koskinen wrote: > Hi, > > Ok, thanks fo