Questions tagged [apache-camel]

Apache Camel is an open source integration framework that focuses on quick and easy integration of systems consuming or producing data.

Apache Camel is an open source integration framework that empowers you to quickly and easily integrate various systems consuming or producing data.

11646 questions
2
votes
1 answer

Return a remote PDF as application/pdf in Camel

I need to return a remote PDF file as application/pdf. In a classic WAR, I'd build a servlet that retrieves the remote PDF as InputStream and returns the same PDF as OutputStream, is possible to do so in Apache Camel? What is the best practice? I…
GSX
  • 63
  • 7
2
votes
1 answer

incompatible version of apache.camel with Spring.Boot v2.0

Anyone could englighten me which org.apache.camel version I should use with the Spring boot version 2.0.0 .RELEASE. When I used newer versions of apache.camel such like 2.21.0 , I come across with RelaxedPropertyResolved error. I read the forums and…
Tonyukuk
  • 5,745
  • 7
  • 35
  • 63
2
votes
0 answers

Efficiently moving and processing large files between sftp, server and network with Apache Camel

I am copying large (600mb) files from sftp, doing additional processing on some of them, and storing them on a network location. My question is, how do i do this efficiently? This would be the most straightforward way: // just…
Ivana
  • 643
  • 10
  • 27
2
votes
1 answer

camel header with message number

With Apache Camel I want to send to rabbitmq exchange messages with different routing keys for load balancing(now i have exchange with 4 routing keys, more in the future). Is there an easy way to add different headers(routing keys …
svsauten
  • 21
  • 2
2
votes
1 answer

How to add signature for file using camel

I need to add signature to a file using apache camel. when i checked in camel documentation, found crypto:sign component where it creates the signature and stores it in the Header keyed by the constant…
rocky
  • 753
  • 2
  • 10
  • 26
2
votes
1 answer

In camel route making curl with grep using exec component but grep with ${HOSTNAME} not working

In camel route I am making curl with grep using exec component but grep with ${HOSTNAME} not working,below is my camel route.Please need help on this. @Component public class VideoFilesOperationRoute extends RouteBuilder { …
Gopinath
  • 31
  • 1
  • 6
2
votes
1 answer

Apache camel Multipart issue

I am trying to upload a form with pdf file through angular 4 as The request is a multipart/form-data request i am using spring boot , apache camel-servlet with my route as rest("/notice").description("Upload Multiple Report via camel and netty") …
2
votes
2 answers

Apache Camel Data Format vs Type Converter

I read through Camel book, but can't really understand how to differentiate this two, they looks like the same, which both trying to convert a data type to another. Anyone can further elaborate in which situation I should use specific one over…
Sam YC
  • 10,725
  • 19
  • 102
  • 158
2
votes
2 answers

Apache Camel Component specific logging

Is it possible to enable logging in an apache camel route only for specific components? I know how to use the log component, and how to enable camel logging in general (for all components and your route and so on), but is it possible to enable the…
the hand of NOD
  • 1,639
  • 1
  • 18
  • 30
2
votes
1 answer

Getting Apache Camel to conditionally inject headers on the onException route

Java 8/Camel 2.19.x here. I have the following route XML:
hotmeatballsoup
  • 385
  • 6
  • 58
  • 136
2
votes
1 answer

Handling large xml payloads in apache camel cxf

I am writing a camel proxy route to invoke an external web service. It so happens that the payload of the target service is pretty big. How do I handle this scenario in the route. Coming from OSB background, in OSB, this is done by using chunked…
Sumit Baurai
  • 233
  • 1
  • 12
2
votes
0 answers

Fixing Apache-Camel Issue of Sockets Being Left in 'CLOSE_WAIT' State

This being my first foray into Camel I may be missing something obvious, so please be kind. I am attempting to rectify the Camel issue that sees HTTP endpoints with dynamic URI elements leaving sockets in the CLOSE_WAIT state. After viewing the…
physicsboy
  • 5,656
  • 17
  • 70
  • 119
2
votes
0 answers

Unable to retrieve more than one object from Apache Camel MongoDb component

I have the following excerpt of code: @Component public class RetrievalAllFromDbRoute extends RouteBuilder{ public void configure() throws Exception { this.from("direct:allObjects").routeId("retrieveAllObjectsFromDB") …
Dark Star1
  • 6,986
  • 16
  • 73
  • 121
2
votes
1 answer

why Apache Camel file to sftp route fails

I am new to Camel. I read the basics and managed to do simple file to file route. When I tried from file to sftp. It failed. For testing, I have windows 10 as host os and mint Linux as guest os. I can access from win to linux by sftp client. So I…
masiboo
  • 4,537
  • 9
  • 75
  • 136
2
votes
1 answer

How to validate the JSON Request in camel rest

I need to validate incoming request to the camel rest service based on some schema. for example. In request as given below { "routeId" : "fileBatchRoute", "action" : "start", "sourceLocation" : "sourceDirectory", "destinationLocation" :…
rocky
  • 753
  • 2
  • 10
  • 26
1 2 3
99
100