restlet config doesnt work

2014-10-06 Thread Alexander Lvov
Hello dear Camel developers! I am a developer who have been using Camel and building routes for over a year. Right now we are trying to see how we should configure out restlet in terms of availability and perfomance and i recognised that the restlet settings doesnt seem to work. Here is the config

Writing Jetty response to stream.

2014-10-06 Thread Tim Dudgeon
I can see how to set the jetty response as text - just set the body to the text. But what if there is a large amount of data? Don't want to build it into an in-memory String. Want to write it to a stream. How can I do this? I need to get a handle on an OutputStream that I can write to? Thx Tim

Re: Writing Jetty response to stream.

2014-10-06 Thread Claus Ibsen
Hi You can set the body as a InputStream or if you want to load from a file, then as a java.io.File etc. On Mon, Oct 6, 2014 at 7:44 PM, Tim Dudgeon wrote: > I can see how to set the jetty response as text - just set the body to the > text. > But what if there is a large amount of data? > Don't

Re: problem with exchange.getProperty in multi threaded environment

2014-10-06 Thread sara
Hi Charles My route is pretty simple. So what the SaveProcessor does is it takes hibernate DataObject from the camel exchange that we want to save to the DB. Now say there are 3 different threads sending 3 different DO objects (each has a uniqu

camel-jms consumer 2.14.0 on JBOSS EAP 6.1.1.

2014-10-06 Thread sandp
hi, I'm sending a java pojo extending serializable inteface to a JMS queue. When a message arrives,a consumer reads from the queue and throws an exception below. >From what I see from the log is: the com.sun.org.apache.xerces.internal.jaxp.datatype.XMLGregorianCalendarImpl is different than the

Re: Handling error per endpoint

2014-10-06 Thread Aryan
Any idea on how to do it? Regards, Aryan -- View this message in context: http://camel.465427.n5.nabble.com/Handling-error-per-endpoint-tp5757191p5757371.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: Integrate Remote EJB 's using Camel

2014-10-06 Thread Arthanarisamy Annamalai
As far as i know there no specific example or documentation about invoking EJB through Camel. But in our application we invoke remote EJB's using Apache Camel only and integration is easy with it. -- View this message in context: http://camel.465427.n5.nabble.com/Integrate-Remote-EJB-s-using-Ca

Re: Integrate Remote EJB 's using Camel

2014-10-06 Thread Arthanarisamy Annamalai
We have used Spring XML based configurations and endpoints, jndi details are all configured in XML. When you use JAVA DSL, hope the same can be addressed using properties file as well. -- View this message in context: http://camel.465427.n5.nabble.com/Integrate-Remote-EJB-s-using-Camel-tp57573