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
11
votes
2 answers

Camel RabbitMQ consumer: what's the interaction between concurrentConsumers and threadPoolSize options?

Camel RabbitMQ component allows setting both the option concurrentConsumers and threadPoolSize. Their description and defaults is as follows: concurrentConsumers - default 1 - Number of concurrent consumers when consuming from broker. (eg similar…
Jan Żankowski
  • 8,690
  • 7
  • 38
  • 52
11
votes
1 answer

Apache Camel with ActiveMQ clustering

I'm trying to determine my options for clustering my ServiceMix 3.3.1/Camel 2.1/AMQ 5.3 application. I'm performing high volume message processing and I need to cluster for high availability and horizontal scalability. Here is basically what my…
Ben ODay
  • 20,784
  • 9
  • 45
  • 68
11
votes
3 answers

how to create datasource using camel?

I have just started learning Apache Camel. I understood the basics of Routes and Components. Now I want to give a try by connecting to Oracle database, reading records from one particular table and write those records to a file using File component.…
ParagJ
  • 1,566
  • 10
  • 38
  • 56
11
votes
2 answers

Camel ActiveMQ Performance Tuning

Situation At present, we use some custom code on top of ActiveMQ libraries for JMS messaging. I have been looking at switching to Camel, for ease of use, ease of maintenance, and reliability. Problem With my present configuration, Camel's ActiveMQ…
Spycho
  • 7,698
  • 3
  • 34
  • 55
11
votes
4 answers

Get and format yesterday's date in Camel's expression language

I am using the date in a path in Camel: fileName=${date:now:dd-MM-yyyy} but what I need is now - 1 day. Is that possible?
Channing Walton
  • 3,977
  • 1
  • 30
  • 59
11
votes
2 answers

Apache Camel: What marches messages along?

On an ESB like Apache Camel, what mechanism is actually "marching" (pulling/pushing) messages along the routes from endpoint to endpoint? Does the Camel RouteBuilder just compose a graph of Endpoints and Routes and know which destination/next…
IAmYourFaja
  • 55,468
  • 181
  • 466
  • 756
11
votes
4 answers

How can I invoke a RESTful service through Apache Camel?

I am currently using a HTTP method for invoking some URL which will create a JIRA issue. Now I want to use Apache Camel, how can I use that? I need to invoke the following link through Camel: http://localhost:8080/rest/api/2/project/" + key +…
jasmeet24
  • 676
  • 3
  • 10
  • 24
11
votes
3 answers

ActiveMQ Consumer Hangs

I have an activeMQ broker using an SSL transport. I have about 10 consumers that are using the broker. I am using camel to configure my routes. Every so often, it hangs up and will not consume new messages, even if I restart the consumers, even…
Derek
  • 11,715
  • 32
  • 127
  • 228
10
votes
2 answers

Camel Exception handling doesnt work if exception clause is defined in a separate class

I am trying to build a application with several camel routes which re use many common routes internally. Hence, I am trying to segregate the routes in several different Route Builder classes and then connecting the routes where needed. For eg, …
Anand Hemmige
  • 3,593
  • 6
  • 21
  • 31
10
votes
2 answers

Apache Camel: can I put multiple statements in the when part of the conditional choice statement?

I would like to obtain the following kind of routing: HTTP POST message with XML body enters CAMEL I store some of the parameters of the XML body The message is routed to an external endpoint The external endpoint (external server) replies -> at…
opstalj
  • 892
  • 4
  • 13
  • 22
10
votes
2 answers

How Apache camel error handling works with multicast and transactions

I got spring boot (2.3.2.RELEASE) with camel (3.5.0) application and two routes for testing in it: The idea is to check what happen when exception occurred in child route that was called from multicast and how it work with…
10
votes
1 answer

Apache Camel Route performance degradation under load

I'm using Apache Camel to route a SOAP request based on a certain attribute in the request message. The message is matched against a regex and if a match is found the request will be routed to "calldestination1" and if not, it will be routed to…
Raimundo
  • 605
  • 7
  • 21
10
votes
1 answer

Rabbitmq camel spring boot auto config

I have camel and rabbitmq configured like the following and it is working. I am looking to improve the config setup. pom.xml org.apache.camel camel-rabbitmq-starter
Robbo_UK
  • 11,351
  • 25
  • 81
  • 117
10
votes
1 answer

REST service call with Camel which requires authentication api called first

Camel has to call REST service for some integration, However, the REST service has one authentication api (POST api) which needs to be called first to get a token and then other subsequent api calls has to be invoked with the token embedded in…
sakura
  • 2,249
  • 2
  • 26
  • 39
10
votes
3 answers

Apache Camel with IBM MQ

Hello has anyone ever used Camel with IBM's MQ. We are looking at possibly using the two products together but have no example of the two products working together.
Nitin
  • 211
  • 1
  • 3
  • 12