Questions tagged [spring-camel]

Spring wrapper over Apache Camel

more details here

586 questions
0
votes
0 answers

Unable to generate csv with apache bindy with isOrdered attribute

This is my model: @CsvRecord(separator=",",generateHeaderColumns=true,isOrdered=true) public class TestModel implements Serializable{ @DataField(pos=1,position=2) String value1; @DataField(pos=2,position=1) String value2; …
0
votes
2 answers

Invoke SOAP based service using Apache Camel and spring-ws component

I have SOAP based service which accepts some predefined request object, for example, AccountRequest having some fields. Sample code from("direct:test") .routeId("account.get") .process(exchange -> { …
Yogesh Prajapati
  • 4,770
  • 2
  • 36
  • 77
0
votes
1 answer

Deploying camel spring application in Apache Karaf 4.2.0

I am trying to deploy camel spring application in apache karaf. I am using maven to resolve the dependencies. The application runs fine in Intellij but when I deploy the application (along with all the project dependencies) in karaf the application…
bonney
  • 455
  • 4
  • 7
0
votes
1 answer

How to lock writing file so other consumer can't consume

I am working on replacing data in file (it's big file of 400 MB) using camel and I am facing issue where other consumer pickup file even though file is in use (it's in writing mode). Is there a way in Camel to lock file which is in writing mode so…
bvyas
  • 384
  • 3
  • 10
0
votes
0 answers

CAMEL HTTP4 post request was rejected because no multipart boundary was found

I'm using Camel-http4 because I simply need a producer, not expose a webservice. I simply need to push files up to an HTTP server, so this is a client implementation. the problem I am facing is the attempt to post returns an error.…
GLMills
  • 558
  • 1
  • 12
  • 37
0
votes
0 answers

http4 with gzip

I'm a rookie in Apache Camel and have a ApiRest for consume, and the response it's with gzip, I try this and it not work. from("timer:aTimer?fixedRate=true&period=200s") .doTry() .setHeader(Exchange.HTTP_METHOD, constant("GET")) …
0
votes
1 answer

Camel DataFormat Jackson using blueprint XML DSL throws context exception

No matter where I place the dataformats in XML DSL blueprint, I get this error just starting at different places. if I remove it, it works but of course I can't convert JSON to POJO. ??? any help or tell me what I'm doing wrong, what i'm missing.…
GLMills
  • 558
  • 1
  • 12
  • 37
0
votes
1 answer

Route level scope for bean in camel blueprint

I'm developing one camel application in which I want to keep scope of beans at route level. Meaning that, if I call one bean from two different routes two instances should get created.But within that route same single instance should be used for…
nik
  • 1,464
  • 4
  • 18
  • 32
0
votes
1 answer

Camel sftp producer. How to put multiple files to different sftp folders from single processor

I use DSL configuration and spring. My route looks like this: @Component public class UploadRoutesDefinition extends RouteBuilder { @Override public void configure() throws Exception { from("seda:rest_upload") …
gstackoverflow
  • 36,709
  • 117
  • 359
  • 710
0
votes
1 answer

Camel HL7 - ClosedChannelException while sending ACK back to the client

I'm building a HL7 listener using netty4 and processing HL7 messages. Once succesfully processed an ACK is sent back. from("hl7NettyListener") .routeId("route_hl7listener") .startupOrder(997) .unmarshal() …
0
votes
1 answer

How to push file into existing tar file (fileName.tar) in camel?

I am trying to push a .txt file into existing .tar file but not able to make it. Is it possible through Camel.
bvyas
  • 384
  • 3
  • 10
0
votes
1 answer

Setting Parent Child relationship with apache-camel

Hello everyone I have rather interesting problem (at least for me) I have an REST endpoints which sends me data that looks like this { "user": { "name": "demo", "phones": [ "iPhone", "Samsung" ], "address": "address" …
kamk
  • 13
  • 4
0
votes
1 answer

Sending parallel requests routed to a single endpoint using Apache Camel

I get suggestions of Multicast,where a single request is routed to multiple endpoints as the snippet below.But the requirement is sending multiple requests in parallel to a single endpoint.      
user3607085
0
votes
1 answer

Camel jms route to IBM MQ immediately shuts down after successful test connection

I have used Camel a few times now but this problem is over my head and I have no clue what I'm doing wrong. It is a new application that should fetch messages from IBM MQ and place files to disk. The route is very simple: String fromString =…