What version of Camel do you use? And have you tried upgrading and use latest?
On Fri, Sep 23, 2016 at 10:45 PM, ptatTransamerica wrote:
> Hi,
>
> I am looking for the option to continue the loop after catching the
> exception in the route.
> e.g
>
>
> ${body.size}
>
I am not sure I am following. For example the following page under "Flow of
an exchange through a route" it says "The OUT message from each step is used
as the IN message for the next step. If there is no OUT message then the IN
message is used instead".
Link:
Hi
I use the advice stuff quite extensively but never weaveAddFirst though. I
do see the kind of exceptions you are seeing from time to time and it's
probably a bug.
I generally find the workaround is to use weaveById. I think it has a lot
less trouble finding the node to weave at if you just
As a work-around, you might create a class that invokes a HTTPClient or
other URL-friendly utility.
Invoke that logic in your route to retrieve data and then process it.
On Fri, Sep 23, 2016 at 3:08 AM, jpeschke wrote:
> Hi,
> You cannot use the Servlet component to connect
Hi,
I have more than 2 thousands web services(SOAP/REST) and want to move them to
camel cxf. My question is about designing routes. Should I be designing at
least one route for each service or I should try to find a way one generic
route for all services. If both possible what are the pros and
Hi,
I am looking for the option to continue the loop after catching the
exception in the route.
e.g
${body.size}
.calling some service which can produce exception.
java.lang.Exception
after catching the exception, I need to continue the loop here.
Any
I don't using weaving in my tests so can't be of a whole lot of help.
Personally I'd try separating the single weave and double into two separate
test files and see if there's any difference. It isn't too surprising that
it fails with multiples especially with exception handling given the
To clarify, your route flows from the initial consumer (jetty), to a remove
step, then transform, then a "direct" route consisting of another transform,
and then a log().
All through this sequence, you have an IN body going from step to step
(sometimes being transformed, but still IN when it
I am trying to build routes for restful services using JAX-RX and tomcat as a
server. So I have bunch of from("cxfrs:/...")... routes. However, I need to
apply a common logic that should apply to each HTTP URL under '/secure/' to
apply authentication/authorization logic. I also have a common
Hear, hear! My one hope for the new book is that the emphasis is on using
POJOs for most message processing in lieu of using Processors. I've found
that once my clients understand how Camel can select a method for
invocation on a bean for a route and how easy that makes unit testing for
Hello,
Well sometimes, the devil is in the detail.
As I found out, Swagger worked from the beginning. The only problem was that
while serving the Swagger docs under
"http://://api-docs/"
in Camel 2.14 (with the old Scala-based Swagger servlet)
it seems that the swagger servlet puts it here:
Hi Camel-Riders,
is there a possibility to consume mails with modifiable
searchTerm.fromSentDate value? I am looking at a solution where the
consumer must not depend on "unseen" flag, manages an internal dateTime
variable to pick-up mail search from where it last stopped? There may be
other
Conceptually, an "Out" message is a response, back to the caller.
--
View this message in context:
http://camel.465427.n5.nabble.com/Can-t-understand-what-inOnly-is-doing-tp5787961p5787966.html
Sent from the Camel - Users mailing list archive at Nabble.com.
Hello,
I started learning Camel from scratch about two years ago and read "Camel as
action" at the beginning. I can confirm that "Camel in Action" offers still
a very good point to start. I knew nothing about Camel or EIPs in general
and just bought the book to see if Camel could provide some nice
I must not be understanding the concept which is why I decided to ask the
question before continue with my reading.
The book I am reading says "When the pattern is InOnly, the exchange
contains an IN message. For InOut, an OUT message also exists". I understood
this as meaning that in an InOnly
Hi,
You cannot use the Servlet component to connect to a third party servlet on
your server context.
The "servlet:" endpoint is only to offer a servlet interface to your camel
routes. See documentation at http://camel.apache.org/servlet.html:
> You can consume only from endpoints generated by
Hi,
I just migrated my application to Camel 2.16.3 (previously 2.14.3).
After some adjustments, everyhing works finde except the Swagger
Integration.
Whenever I call the swagger URL, I get HTTP-Response 204 (No Content). I
enabled both the CORS filter in the REST API AND the Swagger-Servlet...but
Am not sure whether I've understood your question correctly, am looking for
an approach/solution that is efficient, quick with minimal code.
Right now, I'm planning to do below steps:
1. Read the source file line by line
2. Process the data line by line and collect the data in several
Thanks Steve. I am sending you the source and target file formats as
mentioned below. The source file can contain 100,000 - 10,00,000 records.
*Source delimited text file:*
[Runtime]
Date=ASAP
Time=
AllowErrors=FALSE
[Task.1]
Server=Item Master
Module=ItemPOSIdentity
Operation=*addupdate*
You need to use the [1] instead of the generic camel endpoint
to setup the schemaLocations for validation.
http://camel.apache.org/cxf.html#CXF-ConfiguretheCXFendpointswithSpringÂ
--
Willem Jiang
Blog: http://willemjiang.blogspot.com (English)
http://jnn.iteye.com (Chinese)
Twitter:
Hi Claus,
Yes - that would properly solve the problem with the delay in notification
about the transfer.
We have for historic reasons the localWorkDirectory set which make the
streamDownload be ignored, but we will try to remove it.
But is there a way to get notified about the endpoint polling
Hi, I have created servlet which will return a JSON object. I am trying to
connect the servlet using Camel and put it in a buffer. But my servlet
didn't invoked at all and not throwing any error. I am currently in the
beginning stage on using camel.
Please help.
I have used the following code.
You can try using the streamDownload option so the ftp file is not
fully downloaded up-front.
On Fri, Sep 23, 2016 at 11:30 AM, Christian Damsgaard
wrote:
> Is it possible to receive an event before an endpoint starts receiving the
> body?
>
> The implementation
Is it possible to receive an event before an endpoint starts receiving the
body?
The implementation of org.apache.camel.spi.EventNotifier does not provide
this information.
The use case is that we are receiving 100 mb. file from a slow FTP server -
it takes about 10 minutes - and we are not able
It might help to show us an example of the data that you are trying to
transform. If the files are not too large, then simply using the file
component and then invoking a CSV library (such as
http://opencsv.sourceforge.net/) from within a processor should give you
what you want. Depending on
Thanks Vitalii and Ranx, is perfect.
--
View this message in context:
http://camel.465427.n5.nabble.com/Convert-Flat-File-to-XML-using-a-XSD-Schema-tp5787902p5787950.html
Sent from the Camel - Users mailing list archive at Nabble.com.
Can somebody confirm that am I doing something wrong or is this really a bug?
--
View this message in context:
http://camel.465427.n5.nabble.com/weaveAddFirst-doesn-t-work-correctly-with-route-level-onException-tp5787900p5787949.html
Sent from the Camel - Users mailing list archive at
Hi,
I have Osgi container where dynamically we inject camel context.
My requirement is to tap camel exchanges which traverses across various
routes in those camel contexts centrally!!!
Assume if route has some issues with end points then those exchanges will be
propagated with the issue details
28 matches
Mail list logo