Re: QueueReplyManager - reply received for unknown correlationID

2015-05-14 Thread Henrique Viecili
Hi Claus, In this scenario, what would happen with the second message? Especially when the route uses a Shared Reply queue. Regards, Henrique Viecili Henrique Viecili On 13 May 2015 at 04:31, Claus Ibsen wrote: > Hi > > If you get duplicate reply messages then it smells like the other > party

Re: Handle white space - JSON to XML using XMLJSON component

2015-05-14 Thread Pontus Ullgren
The xmljson component is using json-lib[1] to do the actual work. Check the documentation for that project or put a question in there forum if there is some configuration that can be set to properly handle whitespaces. [1] http://json-lib.sourceforge.net/ On Thu, 14 May 2015 08:48 Gnanaguru S wr

Re: QueueReplyManager - reply received for unknown correlationID

2015-05-14 Thread Claus Ibsen
If the correlation id do not match then the incoming message is dropped. On Thu, May 14, 2015 at 9:28 AM, Henrique Viecili wrote: > Hi Claus, > > In this scenario, what would happen with the second message? Especially > when the route uses a Shared Reply queue. > > Regards, > Henrique Viecili > >

Re: how to get subject and body for mail from a properties file

2015-05-14 Thread Claus Ibsen
Hi You can use the properties-location function from simple to lookup a properties http://camel.apache.org/simple If you are using and older Camel then the function is named properties. But its all explained on that simple docs. On Wed, May 13, 2015 at 9:58 PM, gmh wrote: > Hi, > I am using

Re: how to get subject and body for mail from a properties file

2015-05-14 Thread akoufoudakis
Hello, Gordon! I would do it like this. {{some.processor.consumer.camel.email.subject}} text/plain;charset=UTF-8 {{some.processor.consumer.camel.email.body}}

Re: InOut MEP

2015-05-14 Thread Henryk Konsek
Hi, Set the validation results on the message header instead of the out message body. For example: exchange.getIn().setHeader("VALIDATION_STATUS", "Valid"); Cheers! czw., 14.05.2015 o 00:06 użytkownik Anton Hughes napisał: > Please take a look at http://camel.apache.org/content-based-router

Re: rapid consumption of ActiveMQ messages

2015-05-14 Thread akoufoudakis
If you want to speed up, you can use concurrentConsumers option. http://camel.apache.org/competing-consumers.html. -- View this message in context: http://camel.465427.n5.nabble.com/rapid-consumption-of-ActiveMQ-messages-tp5767100p5767102.html Sent from the Camel - Users mailing list archive at

Re: Spring versions in camel features file for Karaf

2015-05-14 Thread Charlie Mordant
Hi, As what I saw, camel-spring manifests are also excluding spring 4.x. In addition spring-dm does not support spr 4.x... Regards, 2015-05-13 16:57 GMT+02:00 Svend-Ole Nielsen : > Hi > > I have installed a plain vanilla Karaf version 2.4 with Camel 2.15. > According to the release notes Camel

rapid consumption of ActiveMQ messages

2015-05-14 Thread mayur_bm
i am sending appx 1000 messages/sec in to ActiveMQ queue, via Camel Route. Camel Context is as follows: http://www.springframework.org/schema/beans"; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; xmlns:camel="http://camel.apache.org/schema/spring"; xsi:schemaLocation=

High Availability and No Down Time Deployments

2015-05-14 Thread Ryan Moquin
Hi, I had a question I was hoping that someone could help me with, make suggestions or give me an example of how they handle this. I'm currently using Camel running in Karaf and it's working really well. I'm trying to develop a strategy for being able to hot update production environments with n

Re: 2.15.1 -FailedToCreateRouteException : DataSource must be configured

2015-05-14 Thread yogu13
try renaming bean id "sqlCDM" to "sql" Regards, -Yogesh -- View this message in context: http://camel.465427.n5.nabble.com/2-15-1-FailedToCreateRouteException-DataSource-must-be-configured-tp5766999p5767109.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: websocket with jetty 9

2015-05-14 Thread Amit
I did try websocket component with jetty 2.15.2 and i got same exception due to SslContextFactory class moved in jetty 9 to org.eclipse.jetty.util.ssl.folder and Apache websocket reference to org.eclipse.jetty.http.ssl.SslContextFactory that is only exit in Jetty 8 and below version. java.l

Re: websocket with jetty 9

2015-05-14 Thread Amit
I did try websocket component with jetty 9 and Apache Camel 2.15.2 and i got same exception due to SslContextFactory class moved in jetty 9 to org.eclipse.jetty.util.ssl.folder and Apache websocket reference to org.eclipse.jetty.http.ssl.SslContextFactory that is only exit in Jetty 8 and bel

Re: JSON to XML Mapping/Transformation

2015-05-14 Thread erd
Hello, I had a similar situation. From my google-fu, it seems like Unmarshalling with jackson is your best bet. The 'nesting' is a bit of a curveball. I found explicitly binding the POJO is the easiest for uniform keys- I think your POJO structure should look something like public class myJson{ @

spring-ws component 2.15.2

2015-05-14 Thread Nick Bryan
Hi, Trying to use spring-ws as a web service client and set up the following very simple route based on the component doc public void configure() { String dataRequest = "" + " London" + " England" + ""; ProducerTemplate template = getContext().creat

Re: websocket with jetty 9

2015-05-14 Thread Amit
I did try websocket component with jetty 9 and Apache Camel 2.15.2 and i got same exception due to SslContextFactory class moved in jetty 9 to org.eclipse.jetty.util.ssl.folder and Apache websocket reference to org.eclipse.jetty.http.ssl.SslContextFactory that is only exit in Jetty 8 and bel

JSON to XML Mapping/Transformation

2015-05-14 Thread Gnanaguru S
How is JSON to XML mapping is generally done in Camel ? We have xmljson component, but it doesn't do some classic json use cases. In my case I have incoming JSON payload which has all kind of possible symbols supported by a String which includes white spaces as well. I can use JACKSON to conve

Re: rapid consumption of ActiveMQ messages

2015-05-14 Thread Gnanaguru S
One way to achieve what you want is, as he suggested add concurrent consumers. Also you can add Thread profile. Regards Guru -- View this message in context: http://camel.465427.n5.nabble.com/rapid-consumption-of-ActiveMQ-messages-tp5767100p5767113.html Sent from the Camel - Users mailing

Re: InOut MEP

2015-05-14 Thread akoufoudakis
Hello, Henryk! Thanks for the hint. It is a good workaround. I myself would do something similar: simple pipes and filters or a content-based router. I just wanted to see how InOut works "in theory". So, what I did, I just continued experimenting with routes, and tried the following: public void

ElasticSearch- Best practice for indexing entire JSON Files?

2015-05-14 Thread erd
Hello, What is the best way to index an entire JSON file? Say i have a file called "widgets.json" with structure {"widgets": { {"name":"foo","properties":{"status":"green", "type": "fooWidget"}}, {"name": "ayy", "properties":{"status":"lmao"}} } } I am currently using a splitter, but the actua

Re: how to get subject and body for mail from a properties file

2015-05-14 Thread Mukundha Reddy
${property.some.processor.consumer.camel.email.subject} text/plain;charset=UTF-8 ${property.some.processor.consumer.camel.email.body}