Hi,
No thoughts about that really trivial use case ? I discovered the "greedy"
option in polled consumre which could help, with a timer defined to once a
day, to poll all the file once a day without limitation of the number.
However, I don't really know if it's possible to couple that to a
pollenr
Hi
You can weave and replace with a mock, and then on the mock endpoint
you can specify that it should throw an exception on the first
message, or the N'th message, with the whenExchangeReceive method.
The Camel in Action book covers this in the testing chapter.
On Sat, May 13, 2017 at 8:11 PM
What Camel version do you use?
And try with latest release and also with camel-http4 instead.
On Sun, May 14, 2017 at 6:02 PM, Sivaraman
wrote:
> Hi,
>
> I'm new to camel and I have to make HTTP POST request with body. Along with
> that, I need to pass url query parameters too
>
> POST https://a
Hi I have a complex json string like
[{"id":1,"name":"test1"},{"id":2,"name":"test2"},...]
I convert this body into map but I can't index into elasticsearch due to
this error
Caused by: org.apache.camel.TypeConversionException: Error during type
conversion from type: java.lang.String to the requi
Hi,
I'm new to camel and I have to make HTTP POST request with body. Along with
that, I need to pass url query parameters too
POST https://api.company.com/profile/123?*minorversion=11*
<> (As body)
I tried setting HTTP_QUERY/HTTP_METHOD in header, but the moment I set
HTTP_QUERY, camel i
Thank you but the problem that the string json response is a response from
an rest api and since I have different responses from different rest "apis"
I don't think that I could have a specific custom converter could I ?
--
View this message in context:
http://camel.465427.n5.nabble.com/Sto
Have a look at the camel-rabbitmq component, there are some parameters for
pooling but I haven't used them myself. Maybe the unit tests provide more
information.
I believe .to("rabbitmq...") opens and closes a new connection.
For json schema validation there are various frameworks you can use to
Hello,
you need to define a custom type converter to convert from String to the
type that you want. Check the documentation for type conversion here:
http://camel.apache.org/type-converter.html
--
View this message in context:
http://camel.465427.n5.nabble.com/Store-data-in-elasticsearch-usin
Hey Carl,
you can define a custom processor to throw an exception whenever you want:
weaveById("ws-call").replace().processor(new Processor {
@Override
void process(Exchange e) {
// Some custom logic in here to throw an exception
}
});
--
View this message in context:
I've a use case where I need to expose a rest end point to receive a request,
validate it and then post it to a Rabbitmq queue.
I'm thinking of using Java Rest DSL , spring boot components to build this
service out. I do have a few questions,
How do I enable connection pooling for my connection
10 matches
Mail list logo