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

Camel - How to use properties set in a file in a route written in xml

i've encountered some trouble using properties in a camel xml route without spring. I'm trying to use the properties in 'to uri' tag and so far i've achieved this result:
heartlex
  • 103
  • 1
  • 13
2
votes
2 answers

Convert csv to xml using bindy

I have csv like this: 31 name 2018-11-01 2018-10-31 12:05:16 3 1 10 1.00 13.00 14 2 20 1.00 14.00 14 3 30 1.00 15.00 14 fields in one line are separated by tab and next I have another lines,…
Shitfy
  • 95
  • 10
2
votes
1 answer

Apache cxf + soap anonymous addressing

I am new to Soap addressing and I have to use wsa addressing with Apache cxf + camel. This is the service endpoint created by apache cxf from wsdl @WebMethod(operationName = "Inventory_SubmitResult", action =…
user3764430
  • 101
  • 1
  • 2
  • 10
2
votes
0 answers

camel: Unable to locate Spring NamespaceHandler for XML schema namespace [http://camel.apache.org/schema/spring]

I am developing a spring-camel application. My beans.xml looks like below.
Hari Krishna
  • 3,658
  • 1
  • 36
  • 57
2
votes
1 answer

Conditional Based Routing on camel based on specific condition

I am building a route dynamically based on some conditions. For example, based on the configuration, the from route can be a quartz2 or file component. All the other portions of the route are same. File Component…
Vikram
  • 635
  • 1
  • 9
  • 29
2
votes
1 answer

Mocking endpoint response in camel

I have a camel route that sends to loadbalancer and processes the response. Is it possible to mock that response somehow in unit test? I tried to use velocity but it doesn't seem to work in unit tests.
J.Doe
  • 287
  • 1
  • 5
  • 16
2
votes
2 answers

ActiveMQ RedeliveryPolicy not being set

I´m using: SpringBoot 2.0.4 ActiveMQ 5.15.5 Apache Camel 2.22.0 Java 1.8 Groovy Maven Basically, I have a SpringBoot application with an Apache Camel route which consumes messages from ActiveMQ with transactions. I need to set a RedeliveryPolicy…
2
votes
0 answers

Camel ActiveMQ and JSMPP Connection Monitoring

We are developing an OSGI (karaf container) based application and it is deployed in fuse ESB. We have some integrations like to ActiveMQ and to SMSC over SMPP etc. We are connecting and interacting with these systems with camel routes. I want to…
st.
  • 166
  • 6
  • 24
2
votes
2 answers

How to upsert JSONArray sub document in couchbase

I am trying to upsert a JSONArray and some other fields to an existing json document in the couchbase, but getting an error when calling couchbase. Please help! Here, I am setting to set a JSONArray to the JsonBody which is then set to Exchange's…
Bhuvan
  • 2,209
  • 11
  • 33
  • 46
2
votes
0 answers

Camel CXF from URI to JDBC endpoint - org.apache.cxf.binding.soap.SoapFault

I want to get rows of data from various databases and insert them into another aggregation database. This simple test in Camel Java code works ok: from("timer://Timer?period=60000") .setBody(constant("select * from cosdata")) …
xindi
  • 27
  • 6
2
votes
0 answers

Camel. Two threads process the same message simultaneoulsy

Could you help me with the problem I face. I have an app that receive and process messages from ActiveMq and then shows pop-ups in the web browser. After some time of working the notification stops working. And I read the log files and I see that…
Eeelijah
  • 121
  • 2
  • 5
2
votes
1 answer

Boolean condition in camel route

Is there a way to do smth like this to work? I am talking about the condition inside when. .choice() .when(Exchange::isFailed) .to(direct(URI_DEADLETTER)) I tried: .when(method(Exchange.class,…
agata
  • 481
  • 2
  • 9
  • 29
2
votes
2 answers

Apache Camel update exchange property

I need some help with update of exchange property in Apache Camel. Use case: I have route which gets some Ids from API endpoint, after that i need to get info for every id from another endpoint. I need to keep responses somewhere in order to create…
djoleb
  • 47
  • 1
  • 7
2
votes
2 answers

Configuring Java/Camel/AMQ with route-specific DLQs

Java 8/Camel 2.19.x/AMQ 5.15.x here. I have a Java app that uses Camel to consume messages off of AMQ queues, process those messages, and do stuff with them. Sometimes the output of a route is putting the processing result back up on another queue…
hotmeatballsoup
  • 385
  • 6
  • 58
  • 136
2
votes
1 answer

unable to expose osgi service bean as class not interface

I would like to export spring bean from one bundle context to another. Problems begin when this bean doesn't have an interface such as MongoClient. First bundle context register Mongoclient, but when I want to expose it to another one I get: "no…
bartoszO
  • 21
  • 1
1 2 3
99
100