Re: Namespace list - blueprint - xpath

2013-11-04 Thread Aki Yoshida
I don't know what you are trying to do actually after reading your response. If what you want to do is to pick up the node /ns0:userResponse/User/id where prefix ns0 is mapped to a certain namespace uri which you know, say urn:whichiknow you can just set it in the map using an arbitrary prefix lik

Re: Apache Camel multithread processing

2013-11-04 Thread astorath
I've been missing for some time... Yeah, I've read the documentation and tried some workarounds with no luck. The goal is as follows: 1. We have some DB Stored Procedure (GetMessage); 2. The proc works similar to JMS: it listens for for the incoming messages for some time and returns the message o

Re: Load balancing using Mina example with Java DSL

2013-11-04 Thread pmp.martins
I already modifed the example and it now works a little bit like the request made HERE . However, I still don't understand how the loadbalancer is getting the replies. Yes, it does send the repor

Re: Load balancing using Mina example with Java DSL

2013-11-04 Thread Claus Ibsen
The load balancer example is doing request/reply messaging (aka MessageExchangePattern (MEP) = InOut) http://camel.apache.org/request-reply.html The mina endpoint on the "other side" is configured with sync=true, which tells the Mina consumer that a reply message should be sent back, which is the

Re: How to Deploy new Camel Context with Hawtio

2013-11-04 Thread Klaus777
Thanks a lot. Let's say I want to go the spring watcher way. I am quite confuse as to how to use this library: https://github.com/hawtio/hawtio/tree/master/hawtio-watcher-spring-context I was expecting it to be a war file that I would drop in my web container. Instead, the POM does not actually h

Re: How to Deploy new Camel Context with Hawtio

2013-11-04 Thread James Strachan
Just create your own WAR inheriting from the hawtio-base or hawtio-default wars: https://github.com/hawtio/hawtio/blob/master/sample/pom.xml#L17 then add the jar dependency like this (its currently commented out in the sample project) https://github.com/hawtio/hawtio/blob/master/sample/pom.xml#L60

Sending Body

2013-11-04 Thread bilalalp
Hi everyone, i'm new at camel. I wonder why there is no such method sendBodyAndHeadersAndProperties for ProducerTemplate ? When i looked at its methods, there are sendBodyAndHeaders and sendBodyAndProperty but there is no sendBodyAndHeadersAndProperties. Is there any reasons that it wasn't added?

Re: Sending Body

2013-11-04 Thread Claus Ibsen
Yes using properties is very seldom used. Only body + header is part of the actual message content. properties is not part of that but for any arbitrary data / internal for Camel / or some meta-data from the EIPs such as the splitter setting information about current index + total number of entries

bug in DefaultStreamCachingStrategy

2013-11-04 Thread pmcneil
G'day all, Just cam across a problem when getting CMIS content via cmis: endpoint. When I try to get pdf files I get a file not found error from file io. I tracked it down to Create temp file having a directory of /tmpcamel-blahblah . The parent directory is set in the StreamCachingStrategy set o

Re: bug in DefaultStreamCachingStrategy

2013-11-04 Thread Claus Ibsen
Yes I think its fixed in 2.12.1. If not just configure the directory yourself to include that / separator. On Mon, Nov 4, 2013 at 1:31 PM, pmcneil wrote: > G'day all, > > Just cam across a problem when getting CMIS content via cmis: endpoint. When > I try to get pdf files I get a file not found e

Re: Dead Letter Channel problem

2013-11-04 Thread contactreji
Hi Look at the error org.apache.camel.ExchangeTimedOutException: The OUT message was not received within: 2 millis due reply message with correlationID: Looks like its connected with MEP Could you try putting before putting the message into Q. It should solve the problem By default, the ME

Re: cxf bus

2013-11-04 Thread Willem jiang
Hi, Which version of Camel are you using? If you don’t specify the bus option, camel-cxf will create a new bus per endpoint, if you stop the route1, it should not affect the route2. Can you show me the Spring configuration file that you were using? -- Willem Jiang Red Hat, Inc. Web: http://w

Re: Camel transacted route

2013-11-04 Thread Claus Ibsen
Hi I suggest to make a simpler use-case to see if you can get that working, eg something that just do a couple of JDBC inserts to see if you can have it commit and rollback as expected with TX in a Camel route. eg is often to setup all that JDBC / DataSource / Spring TX stuff that can be a bit t

Error in ActiveMQ documentation

2013-11-04 Thread Knut-Håvard Aksnes
In the documentation for org.apache.activemq.jms.pool.PooledConnectionFactory there are some references to *maxActive* and *maxActiveSessionPerConnection*. This should according to source be *maximumActive* and *maximumActiveSessionPerConnection* -- View this message in context: http://camel.46

GenericFileOperationFailedException at FTP2 route with local work directory

2013-11-04 Thread Jakub Bubin
Hi All, I've problem with the FTP2-based route with used localWorkDirectory parameter. I'm using Camel 2.12 and JavaSE 1.7. There are two scenarios: 1) I want to download file from remote FTP server to two different locations (pure downloading). 2) I want to download file from FTP server to one

Adding end point details to Camel logs

2013-11-04 Thread deepak_a
All, My camel logs look like this INFO Route: route_simulatorMICS started and consuming from: Endpoint[file:///opt/share/EventFileInput?move=.event-done] INFO Route: SendToSDR started and consuming from: Endpoint[jms://queue:queue.SendToSDR] INFO Route: route_DTCCToReform started and consum

Camel http4 adds request headers to response headers by default

2013-11-04 Thread orchid
Hi, We are using Camel 2.12.1 and noticed the http4 components always copies what's in the request headers to the response headers in HttpProducer.java, line 211. Why? Would it be possible to make this configurable? Thanks! -- View this message in context: http://camel.465427.n5.nabble.com/C

Re: any way to turn off a timer?

2013-11-04 Thread Keith Freeman
For anybody who finds this thread, here's how I got it working: 1) get a reference to the TimerEndpoint for the timer -- you can get this from the first Exchange (e.g. ex.getFromEndpoint().getEndpointUri().startsWith("timer")), or from the RouteDefinition (rd.getInputs(), find the FromDefiniti

Default value for a timer?

2013-11-04 Thread John D. Ament
I'm using Camel 2.10.7. We just noticed in our code we have a timer with no values set. How often will this timer fire? John

Re: Camel http4 adds request headers to response headers by default

2013-11-04 Thread Taariq Levack
Hi You can remove or filter the headers, see this FAQ http://camel.apache.org/how-to-avoid-sending-some-or-all-message-headers.html Taariq > On 04 Nov 2013, at 19:54, orchid wrote: > > Hi, > > We are using Camel 2.12.1 and noticed the http4 components always copies > what's in the request head

Re: Camel http4 adds request headers to response headers by default

2013-11-04 Thread orchid
Hi, The headers we do not want are our custom headers. Why are they copied from request to response always in the first place? It would be ideal to have a conf param so we can skip this line of code. -- View this message in context: http://camel.465427.n5.nabble.com/Camel-http4-adds-request-

Problem with exception handler (onException) on Camel 2.12.X routes.

2013-11-04 Thread jguerra
Hi, I've just upgraded from Camel 2.7.0 (ActiveMQ 5.5.0) to 2.12.1 (ActiveMQ 5.9.0) and it seems the exception handler is broken in somehow. This DSL route works nicely on 2.7.0 but it doesn't work on 2.12.X. I also posted the ActiveMQ 5.9 exception. I've also noticed that other routes using excep

AW: Sending Body

2013-11-04 Thread jhm
vote for https://issues.apache.org/jira/browse/CAMEL-6648 ;) Jan > -Ursprüngliche Nachricht- > Von: Claus Ibsen [mailto:claus.ib...@gmail.com] > Gesendet: Montag, 4. November 2013 13:29 > An: users@camel.apache.org > Betreff: Re: Sending Body > > Yes using properties is very seldom used.

Re: Error in ActiveMQ documentation

2013-11-04 Thread Christian Müller
I have forwarded the mail to the Apache ActiveMQ users list. Best, Christian - Software Integration Specialist Apache Member V.P. Apache Camel | Apache Camel PMC Member | Apache Camel committer Apache Incubator PMC Member https://www.linkedin.com/pub/christian-mueller/11/551/64

Camel 2.12.1, Spring Framework 3.2.3, Jboss 6.0.0 Deployment Problem

2013-11-04 Thread rtmacphail
I have two web applications which communicate with each other using JMS messaging. The JMS queues are managed by a single ActiveMQ broker and the applications will use Apache Camel to send and receive messages to the queues. One application uses Camel 2.7.0 and Spring Framework 3.0.5. This app dep

inProgressRepository Not clearing for items in idempotentRepository

2013-11-04 Thread skelly
I'm attempting to consume messages from an FTP server using an idempotent repository to ensure that I do not re-download a file unless it has been modified. Here is my (quite simple) camel configuration: http://camel.apa

Re: Error in ActiveMQ documentation

2013-11-04 Thread Christian Posta
Knut-Havard, can you please let us know what links this affects? On Mon, Nov 4, 2013 at 2:29 PM, Christian Müller wrote: > I have forwarded the mail to the Apache ActiveMQ users list. > > Best, > > Christian > - > > Software Integration Specialist > > Apache Member > V.P. Apache C

Re: Error in ActiveMQ documentation

2013-11-04 Thread Babak Vahdat
Hi I assume this is the documentation being mentioned: http://camel.apache.org/activemq.html Which is now corrected: http://camel.465427.n5.nabble.com/CONF-Apache-Camel-gt-ActiveMQ-td5742617.html Though it will take a while to be updated on the site itself. Babak ceposta wrote > Knut-Havard,

Re: Problem with exception handler (onException) on Camel 2.12.X routes.

2013-11-04 Thread Christian Posta
May be related to https://issues.apache.org/jira/browse/CAMEL-6918 ? Can you double check on the next snapshot and see if it's any better? On Mon, Nov 4, 2013 at 12:38 PM, jguerra wrote: > Hi, > > I've just upgraded from Camel 2.7.0 (ActiveMQ 5.5.0) to 2.12.1 (ActiveMQ > 5.9.0) and it seems the e

Re: bug in DefaultStreamCachingStrategy

2013-11-04 Thread pmcneil
Nope, this is in 1.12.1 :-) and yes I can configure it, but what if something else expects sans / ;-) Cheers, Peter. -- View this message in context: http://camel.465427.n5.nabble.com/bug-in-DefaultStreamCachingStrategy-tp5742591p5742620.html Sent from the Camel - Users mailing list archive

Re: Passing parameters to a direct / seda / vm endpoint

2013-11-04 Thread alapaka
right now we have access to the CamelToEndpoint exchange property, immediately following the direct/seda/vm consumer. The URI value of exchange.CamelToEndpoint can be preserved in a header and accessed later in the route to retrieve the custom/dynamic parameters from the querystring. It is not too

Re: cxf bus

2013-11-04 Thread Ernest Lu
Hi, *I'm using Camel 2.10.7* *My Spring configuration file like this as follow* http://www.springframework.org/schema/beans"; xmlns:jaxws="http://cxf.apache.org/jaxws"; xmlns:camel="http://camel.apache.org/schema/spring"; xmlns:xsi="http://www.w3.org/2001/XMLSchema-

Re: cxf bus

2013-11-04 Thread Ernest Lu
Hi, *I'm using Camel 2.10.7* *My Spring configuration file like this as follow* http://www.springframework.org/schema/beans"; xmlns:jaxws="http://cxf.apache.org/jaxws"; xmlns:camel="http://camel.apache.org/schema/spring"; xmlns:xsi="http://www.w3.org/2001/XMLSc

Re: cxf bus

2013-11-04 Thread Ernest Lu
Hi, *I'm using Camel 2.10.7* *My Spring configuration file like this as follow* http://www.springframework.org/schema/beans"; xmlns:jaxws="http://cxf.apache.org/jaxws"; xmlns:camel="http://camel.apache.org/schema/spring"; xmlns:xsi="http://www.w3.org/2001/XMLSc

Re: Camel http4 adds request headers to response headers by default

2013-11-04 Thread Taariq Levack
The HttpProducer handling the Exchange doesn't know or care where the Exchange is going next, so the request headers are preserved for further routing. You may also consider using properties if you'd rather not filter the headers, or extend org.apache.camel.component.http4.HttpHeaderFilterStrategy