Re: JMS Request/Reply

2013-04-19 Thread Claus Ibsen
Hi Can you show details of the route with the request/reply? And is there many messages being routed or few? And before the 20h when re-creating the producer. Has the route been idle for a while? On Thu, Apr 18, 2013 at 4:16 PM, f.pascal wrote: > Hello Claus, > > We have put stacktrace when ca

CamelOne 2013

2013-04-19 Thread Robert Davies
CamelOne 2013 is happening in Boston June 9th - 11th. There's going to be some great speakers (many Camel Committers have volunteered to present talks): website: camelone.org Lanyrd event: http://lanyrd.com/2013/camelone/ twitter: @camelone2013 Please follow! :)

Activemq consumer is closing

2013-04-19 Thread kiranreddykasa
Hi Consumer closes with the exception below ,could someone explain me what's causing this error? WARN Camel (camelcontext) thread #35 - TemporaryQueueReplyManager[connect.test] org.apache.camel.component.jms.reply.TemporaryQueueReplyManager - Exception inside the DMLC for Temporary ReplyTo Queu

CXF LoggingInInterceptor logs ID: incrementally

2013-04-19 Thread dkum003
Hello, I am facing a problem when it comes to how CXF LoggingInInterceptor is logging every webservice call in my camel route. For each webservice call i do, the reply received from the webservice is logged in my console like this *10:38:04,877 | SAMPLE | BLRMSADASHIVA | INFO | 1-133 | o.a.c.s.

RE: JMS Request/Reply

2013-04-19 Thread f.pascal
Hi, The route : // -- from("direct:Stecard-client.requests").routeId(this.getRouteId()) // to STECARD .choice().when(_isAuditMode).to("direct:Stecard-client.auditRequest")

Camel dont set ID for ToDefinition object

2013-04-19 Thread horyna
Me route: from(uri) .routeId(ROUTE_ID) .validate(body().isInstanceOf(SomeClass.class)) .beanRef(bean, "someMethod") .marshal(jaxbIn) .to(uri).id("meID"); Studying Camel source (2.10.4) code i find, that method id("meID

Re: Camel dont set ID for ToDefinition object

2013-04-19 Thread Claus Ibsen
Hi This sounds like a bug. Feel free to log a JIRA ticket. The id is supposed to assign the id, of the previous node in the route. On Fri, Apr 19, 2013 at 2:38 PM, horyna wrote: > Me route: > from(uri) > .routeId(ROUTE_ID) > .validate(body().isInstanceOf(SomeClas

Re: Activemq consumer is closing

2013-04-19 Thread kiranreddykasa
Never mind, autoStart was set to false. - Regards kiran Reddy -- View this message in context: http://camel.465427.n5.nabble.com/Activemq-consumer-is-closing-tp5731140p5731146.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: JMS Request/Reply

2013-04-19 Thread Claus Ibsen
Hi That route seems to only have direct endpoints. Where is the JMS endpoints? And so you are saying that it has been idle for 20 hours, and then a new messages is being processed. And when that happens, a new producer is created? On Fri, Apr 19, 2013 at 2:07 PM, f.pascal wrote: > Hi, > > The

RE: JMS Request/Reply

2013-04-19 Thread f.pascal
Hi, The JMS endpoints is .to(this.getStecardUri()) True, after ~= 20 hours idle , we send a new message that create a new producer De : Claus Ibsen-2 [via Camel] [mailto:ml-node+s465427n5731147...@n5.nabble.com] Envoyé : vendredi 19 avril 2013 15:39 À : François Pascal Objet : Re: JMS Reque

use of expression in file name

2013-04-19 Thread javamonkey79
This is from the documentation of the file2 component: Use Expression such as File Language to dynamically set the filename. For consumers, it's used as a filename filter. For producers, it's used to evaluate the filename to write. If an expression is set, it take precedence over the CamelFileName

Re: use of expression in file name

2013-04-19 Thread Claus Ibsen
There is a setter method that accepts an org.apache.camel.Expression. So you can use that to use a GroovyExpression. Though if you want to do that from XML then that is not so easy. But from Java code its easier as its just to call set setter method, on the FileEndpoint instance. On Fri, Apr 1

Re: use of expression in file name

2013-04-19 Thread javamonkey79
Is there any way to do this with a hybrid approach? e.g. Somehow set the filename as a property in the java code and then use that in the Spring DSL? If not, how would I get started on doing this in Spring DSL alone? Sorry so many questions, the documentation on this feature is hard to decipher and

Re: Create a Simple CXF - Http Route

2013-04-19 Thread Chubutin
I have my Bridge CXF - HTTP working. This is my configuration for all who has the same problems http://www.osgi.org/xmlns/blueprint/v1.0.0"; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; xmlns:cm="http://aries.apache.org/blueprint/xmlns/blueprint-cm/v1.1.0"; xmlns:cxf="ht

Re: String to byte array TypeConverter uses hbase.util.Bytes?

2013-04-19 Thread ekeeton
Thanks Willem for your prompt response. That solved the issue. On Thu, Apr 18, 2013 at 9:12 PM, Willem.Jiang [via Camel] < ml-node+s465427n5731118...@n5.nabble.com> wrote: > Did you have camel-hbase in your class path? > Please remove it from your class path if it is there. > > > -- > Willem Ji

Re: Is the result of this builder reusable? XQueryBuilder.xquery("//foo");

2013-04-19 Thread Chris Wolf
Thanks Willem - that worked. On Tue, Apr 2, 2013 at 10:33 PM, Willem jiang wrote: > I think you can use the XQueryBuilder in the Processor just like you showed. > If you want to call the evaluateAsString multiple times, you need to make > sure the message body is reread able. > You can convert t

Re: consumer.bridgeErrorHandler=true on netty uri

2013-04-19 Thread fbarbat
Hi Claus, It's 2.10.4. In case it does not work, how can I set a custom exception handler to the netty consumer? Thanks. -- View this message in context: http://camel.465427.n5.nabble.com/consumer-bridgeErrorHandler-true-on-netty-uri-tp5731038p5731163.html Sent from the Camel - Users mailin

Log sent messages

2013-04-19 Thread fbarbat
In a Request-Reply context, I want to log an outgoing message after it is sent. I could do something like: from("direct:start").to("netty:tcp:...).to("log:logSent?showAll=true&multiline=true") But I would be logging the response. On the other hand, if the route is like this: from("direct:start")