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;
…
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 -> {
…
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…
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…
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.…
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"))
…
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.…
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…
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")
…
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()
…
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"
…
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.
…
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 =…