JsonPath stripes quotes during split

2015-09-10 Thread Vesco
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" :

Re: CamelExecutionException: Exception occurred during execution on the exchange

2015-09-10 Thread Sashimi
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:

Interceptor into external file

2015-09-10 Thread fabrizio.spataro
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

Re: Interceptor into external file

2015-09-10 Thread Raul Kripalani
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 |

Re: Interceptor into external file

2015-09-10 Thread Henryk Konsek
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

Re: How to use a string as delimiter in Camel ?

2015-09-10 Thread prasad bezavada
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

Re: Interceptor into external file

2015-09-10 Thread Henryk Konsek
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: > >

Dynamic DataSource

2015-09-10 Thread arnaud
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",

Re: Interceptor into external file

2015-09-10 Thread fabrizio.spataro
Camel interceptor: http://camel.apache.org/schema/spring; errorHandlerRef="deadLetterErrorHandler"> ... ANOTHER CODE .. ... ANOTHER CODE .. ... ANOTHER CODE ..

Transactions without External Transaction Manager

2015-09-10 Thread Rick Poleshuck
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

Report Incident Example - Missing ReportIncidentImpl

2015-09-10 Thread bwest
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

Issue in consuming from a rabbitMQ queue usinh Camel rabbit MQ componenet

2015-09-10 Thread Felix Thomas
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

Re: Interceptor into external file

2015-09-10 Thread fabrizio.spataro
Ok thanks, my (temporary?) implementation is: FILE 1: ... MY CODE .. ... MY CODE .. ... MY CODE .. ... MY CODE ..

Re: Jetty -> AHC route producing a lot of threads

2015-09-10 Thread Les Novell
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.