Hey guys.
I have a rout that calls a rest service. It returns a json response that I
would like to split and send to a second route.
Camel 2.15.2
$.content
The response form getContent:
{
"content" : [ {
"action" : "CU",
"modifiedTime" :
HI
by catching CamelExecutionException and using getCause() I eventually found
the error
the problem was that in the first class there was an Object that did not
implement Serializable interface.
Now it works.
Thank you very much for help!
--
View this message in context:
Hello,
i would use same interceptor (XML Spring implementation) into my different
projects.
Can i reference an interceptor like "routeContextRef" tag or
"restContextRef" tag?
--
View this message in context:
http://camel.465427.n5.nabble.com/Interceptor-into-external-file-tp5771400.html
If you are using OSGi you can leverage OSGi Service Listeners to
programmatically add the interceptors whenever a new context appears in the
environment.
*Raúl Kripalani*
Apache Camel PMC Member & Committer | Enterprise Architect, Open Source
Integration specialist
http://about.me/raulkripalani |
Hi,
What kind of interceptor do you have in mind? Spring AOP one or Camel one?
Cheers!
czw., 10.09.2015 o 12:57 użytkownik fabrizio.spataro <
fabrizio.spat...@bizmate.it> napisał:
> Hello,
>
> i would use same interceptor (XML Spring implementation) into my different
> projects.
>
> Can i
Hi ,
As you said I saw different formats and tried Bindy .But here we need to
write POJO class (which I want to be dynamic) and another thing is it seems
it is unmarshalling fine (taking multiple chars) but while marshalling the
same ,in output file its showing only one char as delimiter(i.e
I don't think it is possible in Spring XML DSL. However it is definitely
possible with Java DSL. Maybe you can switch to Java? Java DSL is really
flexible :) .
Cheers!
czw., 10.09.2015 o 14:28 użytkownik fabrizio.spataro <
fabrizio.spat...@bizmate.it> napisał:
> Camel interceptor:
>
>
Hello,
Id'like to use a dynamic datasource with the camel-sql component but it's
not woking as I expected:
After a search on the forum, I have found a topic "Dynamic DataSource for
SQL", I try to do something similar :
from("direct:create")
.setHeader("dataSource",
Camel interceptor:
http://camel.apache.org/schema/spring;
errorHandlerRef="deadLetterErrorHandler">
... ANOTHER CODE ..
... ANOTHER CODE ..
... ANOTHER CODE ..
My use is case is to read from a JMS queue and update two different jdbc
tables with the same datasource. On failure of either update, both database
actions should be rolled back and the message should be sent to a jms
dead.letter queue.
Do I need an external transaction manager to ensure that
Greetings,
I've been experimenting with the Example ReportIncident project. I'm a
little confused because in the write up that exists, there is a reference to
the ReportIncidentEndpointImpl class. However, when I look at the example
project (version 2.16). I don't see that class, how does the
hello,
I get the below error, message, and not able to pint point what exactly
is the issue , if i make the queue as a Publish (to) in camel it works fine
. So not sure why the connection is failing. I am using JAVA DSL .
2015-09-10 14:49:21,204 [main ] DEBUG
Ok thanks, my (temporary?) implementation is:
FILE 1:
... MY CODE ..
... MY CODE ..
... MY CODE ..
... MY CODE ..
Thank you, I'll give this a try without dynamic routes and let you know the
results!
Les
--
View this message in context:
http://camel.465427.n5.nabble.com/Jetty-AHC-route-producing-a-lot-of-threads-tp5771106p5771413.html
Sent from the Camel - Users mailing list archive at Nabble.com.
14 matches
Mail list logo