Re: Getting context name from processor

2013-06-28 Thread Claus Ibsen
Hi You can get it from the exchange from the process method. exchange.getContext() ... On Fri, Jun 28, 2013 at 8:31 PM, sfosdal wrote: > Does anyone know how to get the is of the camel context from inside a > processor? > > > > -- > View this message in context: > http://camel.465427.n5.nabble

MongoDB component found but TypeConverter is NoClassDefFoundError

2013-06-28 Thread PMulido
I have a weird issue happening with the mongodb component. I have an XML Camel route that has a to endpoint configured as a mongodb insert. When I run it, I get a TypeConversionException due to java.lang.NoClassDefFoundError. / 'org.apache.camel.component.mongodb.CamelMongoDbException:

Re: camel-smpp in trx mode

2013-06-28 Thread sash_...@yahoo.com
In that case the endpoint will hold the session. What I am not sure is what type of listener does one register with the Producer ? The listener does require the processor . - ~Sandeep -- View this message in context: http://camel.465427.n5.nabble.com/camel-smpp-in-trx-mode-tp5724608p57349

Getting context name from processor

2013-06-28 Thread sfosdal
Does anyone know how to get the is of the camel context from inside a processor? -- View this message in context: http://camel.465427.n5.nabble.com/Getting-context-name-from-processor-tp5734963.html Sent from the Camel - Users mailing list archive at Nabble.com.

Sending data many times on the same session to Camel-Netty Server

2013-06-28 Thread sridharpatra
Hi, I have the requirement like i need to send some data to camel netty server then wait for the response. After getting the response send some data but all should happen in the same session. I am doing like below. .to("netty:tcp://127.0.0.1:2002?textline=true&synchronous=true") .

Camel CXFRS endpoint unable to produce JSON

2013-06-28 Thread ajaysam
I have a resource class with method defined like this @Produces({"application/json"}) public Response getMessage( @PathParam("referenceTypeName") String name, @QueryParam("") ReferenceDataRequest query) { return null } Then i have applicationcontext.xml for cam

Does Jetty change CRLF?

2013-06-28 Thread Frank Ertl
Hi, I experience a strange behaviour using jetty as a consumer. When I send a POST-request from my client-application the line separator is \r\n as per http-spec. When I look at the InputStreamCache of the exchange there is only \n left. Is there a way to change this behaviour? Camel-Version is

Re: Bug in org.apache.camel.main.Main#doStop() ?

2013-06-28 Thread Christian Müller
I cannot look into the code yet, but I think this should be fixed. Feel free to create a JIRA. Best, Christian Sent from a mobile device Am 28.06.2013 10:54 schrieb "Sven Bauhan" : > Hi, > > I think I found a bug in org.apache.camel.main.Main#**doStop(): > > When I call a Camel application with

AW: [Best practise question] Running Camel in JBoss cluster

2013-06-28 Thread Lutter, Robin
Hi Rich, thanks for response, some details about "route manipulation through user interaction": we splitted our routes in a kind of templates for protocol and transformation. So user can create new routes or changes route parameters such as uri, transformation or timer settings through web fron

Bug in org.apache.camel.main.Main#doStop() ?

2013-06-28 Thread Sven Bauhan
Hi, I think I found a bug in org.apache.camel.main.Main#doStop(): When I call a Camel application with parameter -h all parameters are printed an the program exits. But it is no clean exit; it throws an java.lang.IndexOutOfBoundsException. The reason for this is the expression in doStop(): +

Re: ClassnotfoundException

2013-06-28 Thread Christian Müller
This is not a valid version range: org.apache.camel.component.jms;version="[2.10,2.9)" Do you mean: org.apache.camel.component.jms;version="[2.10,2.11)"? Best, Christian - Software Integration Specialist Apache Camel committer: https://camel.apache.org/team V.P. Apache Camel: htt

Re: Consume opened excel file with ftp

2013-06-28 Thread axelf
Finally we decided to use the readLock=rename with a 20 sec timeout Thanks; Axel F -- View this message in context: http://camel.465427.n5.nabble.com/Consume-opened-excel-file-with-ftp-tp5734296p5734953.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: ClassnotfoundException

2013-06-28 Thread Sean Beck
Just include every possible jar file that comes with ActiveMQ. Some of the ones you include may depend on others that you dont include krishnagjs wrote: >I have developed a simple camel route with ActiveMQ endpoint. The pom >file >is: > >http://maven.apache.org/POM/4.0.0"; >xmlns:xsi="http://www

Re: Camel routes and threads

2013-06-28 Thread vkarkhanis
Hello Claus, Thanks for the reply. Unfortunately one other jar in the project conflicts with camel version higher than 2.9.0, due to which we cannot upgrade. But let me try the suggestion and get back with the results. Thank you, Regards vkarkhanis -- View this message in context: http://cam

Re: onException in camel

2013-06-28 Thread Tarun Kumar
Yes, i have looked all unit tests. In my case, abc method throws IOException. when i surround this bean class with .doTry and .doCatch(IOException.class) blocks, it never goes inside .doCatch(). Is exception from "abc" method is not being propagated to camel route? Why does it not go inside doCatc