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
1602
votes
22 answers

What exactly is Apache Camel?

I don't understand what exactly Camel does. If you could give in 101 words an introduction to Camel: What exactly is it? How does it interact with an application written in Java? Is it something that goes together with the server? Is it an…
Myy
  • 18,107
  • 11
  • 37
  • 57
169
votes
11 answers

When to use Spring Integration vs. Camel?

As a seasoned Spring user I was assuming that Spring Integration would make the most sense in a recent project requiring some (JMS) messaging capabilities (more details). After some days working with Spring Integration it still feels like a lot of…
ngeek
  • 7,733
  • 11
  • 36
  • 42
82
votes
7 answers

Apache Camel and other ESB products

Hey, If we have Apache Camel why to use other solutions like Apache ServiceMix and Mule? Is there something Apache Camel can't do comparing to these products? When to use Mule/ServiceMix and when to use Camel?
Chiron
  • 20,081
  • 17
  • 81
  • 133
61
votes
1 answer

How to route Rest request from a local service to a remote one using Camel

I am trying to route a rest request from a cxf rest service to another. I have had a look at http://camel.apache.org/cxfrs.html which helped understand part of the process. I have a classCastException at the level of the remoteService Invocation. …
redben
  • 5,578
  • 5
  • 47
  • 63
58
votes
7 answers

Apache Camel : "direct:start" endpoint - what does it mean?

I'm new to Apache Camel. Can someone explain what "direct:start" means in Camel. Please see https://camel.apache.org/components/latest/http-component.html from("direct:start") .to("http://myhost/mypath"); Thanks.
Soumya Simanta
  • 11,523
  • 24
  • 106
  • 161
58
votes
6 answers

Java Messaging : Difference between ActiveMQ, Mule, ServiceMix and Camel

I am new to Messaging and want to know the difference between ActiveMQ, Mule, ServiceMix and Camel Anyone knows how each of these product is different? Thanks in advance ! EDIT: Also would like to know any good place/resource to learn these things.
peakit
  • 28,597
  • 27
  • 63
  • 80
42
votes
2 answers

Apache Camel: do Processors and Beans serve the same purpose?

It seems like both serve the same purpose. Is there any difference that makes one useful in certain situations and not the other ?
redben
  • 5,578
  • 5
  • 47
  • 63
38
votes
5 answers

how to convert JSONArray to List of Object using camel-jackson

Am having the String of json array as follow {"Compemployes":[ { "id":1001, "name":"jhon" }, { "id":1002, "name":"jhon" } ]} i want to convert this this jsonarray to List
Abhijeet
  • 407
  • 2
  • 7
  • 11
37
votes
3 answers

Apache Camel producers and consumers

I have difficulties wrapping my head around the concept. I am trying to implement an endpoint that listens on a tcp port for incoming messages in a proprietary format, which would then transform the message and have camel take over the forwarding…
Arnelism
  • 1,484
  • 1
  • 15
  • 22
33
votes
4 answers

Passing values between processors in apache camel

In apache camel, which of those is the best way to pass values from an exchange processor to another (and why) : storing it in the exchange headers using the setProperty method while building the route. another way..
kgautron
  • 7,915
  • 9
  • 39
  • 60
26
votes
12 answers

How to configure Jackson ObjectMapper for Camel in Spring Boot

I am trying to serialize and deserialize POJOs to and from JSON on Camel routes using Jackson. Some of these have Java 8 LocalDate fields, and I want them to be serialised as YYYY-MM-DD string, not as an array of integers. We only use Java…
David Edwards
  • 1,242
  • 1
  • 15
  • 21
25
votes
1 answer

Stacktrace from Camel Context onException

I'm trying to retrieve the stacktrace from the onException handler in Apache Camel: java.lang.Exception true
user300285
23
votes
4 answers

How to unit test production routes in Apache Camel?

Let's say I have my routes created in separate RouteBuilder class. It looks like: grab message from JMS queue do some transformation, validation etc depending on validation results forward to specific JMS queue and save something in DB I'd like…
veilsoen
  • 329
  • 1
  • 2
  • 10
22
votes
2 answers

Camel end vs endChoice - not the usual query

First, yes, I have searched and, yes, I have read the same Apache document every one points to. :-) I think there is a bit of confusion and I think I know an answer, so let me lay out an example of what I thought was correct, follow it with what I…
Scott Law
  • 708
  • 1
  • 6
  • 16
22
votes
3 answers

Camel in OSGi Container: Apply InterceptStrategy to all camel contexts

I have several bundles (A, B, and C) deployed to an OSGi container, each containing a CamelContext and some routes. I have another bundle (M) with a CamelContext with a route (for collecting monitoring data) and a InterceptStrategy bean. I would…
VeeArr
  • 6,039
  • 3
  • 24
  • 45
1
2 3
99 100