Questions tagged [spring-camel]

Spring wrapper over Apache Camel

more details here

586 questions
0
votes
1 answer

How to insert bulk records after modification in to a another table using Apache Camel and Spring boot

I'm using apache camel and spring boot to implement the integration flow between two tables. Source table includes more than 1000 records. What I want to do is after doing some modification in to the source data those data should insert to a another…
Padmasankha
  • 103
  • 1
  • 13
0
votes
0 answers

camel-bindy - How do I define if there are no body records during unmarshaling and marshaling

I have some records in files. There are header, body, and footer. In the some case, the file has all three type records. but, the file has only header and footer in another case. I want to parse these file by using same data format. Data Defined.…
이성규
  • 125
  • 11
0
votes
0 answers

Apache Camel is failing silently if there is any missing dependecies

I'm using the DSL to build an async queue processor. The code of the route looks something like this: from("seda://exportListQueue") .setProperty("originalRequest", simple("${body}")) .setHeader("CamelRedis.Key",…
0
votes
1 answer

Camel sftp doesn't poll on Unix more than 2 levels deep

Camel sftp is unable to poll more than 2 levels deep when the java code runs on Linux, but it works fine on Windows. For example, polling files from sftp://user@domain:22/folder1/folder2?... works on both Unix and Windows. But, when I use…
Valahu
  • 763
  • 2
  • 8
  • 15
0
votes
1 answer

Property value is not access

I am beginner for camel. I have some problem. We are implementing file transfer system using camel. I set property from external property file. But application is not accessed to this property file. We cannot use propertyplaceholder because the…
이성규
  • 125
  • 11
0
votes
1 answer

Delete all the keys of ehcache

I'm using Ehcache with Apache camel. I'm exposing a rest endpoint which should delete all the keys from Ehcache. For some reason, its not deleting the keys after calling the rest endpoint. Following code is being used to achieve the same :…
Rakhi Oza
  • 75
  • 1
  • 8
0
votes
0 answers

How to read from Azure Event Hub in Apache Camel

I am trying to create a route in Apache Camel that will read data from Azure Event Hub. I have tried searching all over but couldnt find a way. Traditional way as explained in this works,…
mohdnaveed
  • 506
  • 5
  • 13
0
votes
0 answers

Mock recipientList and reading from a directory

How can I mock the following code: from(directoryPath + "?recursive=true) .routeId("Test") .process(testProcessor) .recipientList(simple("${header.nameOfMyDestination}") The header will be set in my processor. I have tried multiple…
agata
  • 481
  • 2
  • 9
  • 29
0
votes
1 answer

Error: Multiple RestConsumerFactory found on classpath

Getting error while calling addRouteDefinition. I am dynamically adding rest to camelcontext. Error org.apache.camel.FailedToCreateRouteException : Failed to create route ... because of Multiple RestConsumerFactory found on classpath. Configure…
Harshit
  • 886
  • 7
  • 18
0
votes
1 answer

Scheduling camel route for google-pubsub component

Apache Camel CronScheduledRoutePolicy not stopping route? I am trying to start and stop my route which reads from google-pubsub component and pushes to a JDBC datasource(oracle). I want to do this only in certain times of day as the Oracle database…
Tabber
  • 151
  • 3
  • 16
0
votes
3 answers

Execute route only when direct component is called

I want to unzip files whenever a "direct" route is called. The fileName I am getting from some other direct route. from("direct:unZipFile") .from("file:C:\\MYFILES\\File\\Unzipped\\?fileName=${header.fileName}&idempotent=true") …
Ankit Chauhan
  • 646
  • 6
  • 20
0
votes
0 answers

Camel route broke when receive large data

I have a route camel which uses camel-undertow and camel-http4 to be used as gateway between two distinct web applications. The route works fine when last endpoint response has small size. However when last endpoint response has large size I receive…
0
votes
0 answers

Adding header block in soap message using Apache Camel

I am trying to add the following block in the soap-header of a soap message before consuming the service. User Password Expected Request:
Chethan
  • 73
  • 8
0
votes
1 answer

How to send empty response for rest call in apache camel

I have rest service for delete operation which actually return nothing. How to return nothing()void response as response in Apache camel rest service @RequestMapping(value = URI_REMOVE_ACTIVITY_DELETE, method = DELETE) public void…
rocky
  • 753
  • 2
  • 10
  • 26
0
votes
1 answer

To validate string or to identify space in a string

This is my sample code PHONE.NUMBER EQ {phoneNumber} How to check whether there is any space in 'phoneNumber' before assigning to PHONE.NUMBER field? if there is any…