Handling ConnectException at route startup

2014-01-08 Thread bijoy
Hi, I'm planning to design an application which can receive files from multiple transports like JMS, FTP, FILE, REST etc. I'm having trouble to handle the ConnectException thrown at route startup if any endpoint(JMS,FTP etc.) is down. I have designed a global exception handler using onException w

Re: Measuring time to make call to custom endpoint

2014-01-08 Thread Christian Posta
I would take a look at the Debug and breakpoint API: https://camel.apache.org/camel-2x-debugger-api.html On Wed, Jan 8, 2014 at 2:50 PM, gilboy wrote: > Hi > > I have a simple route defined in the Spring DSL. > > > > > > > .. > > > Basically, I would like to output

Re: File component and include option

2014-01-08 Thread Christian Posta
See here: http://camel.apache.org/file2.html you should use antInclude option... I put together a quick test here: https://github.com/christian-posta/camel-sandbox/blob/master/camel-2.12.1-issues/src/test/java/posta/FileAntPathTest.java#L42 On Wed, Jan 8, 2014 at 4:17 AM, geppo wrote: > Hi, > I

Re: Spring AMQP Apache Camel Component Released

2014-01-08 Thread deckerego
Thanks for following up. I'm hoping to have this and one other bug fixed & committed prior to February. I appreciate you submitting the route and the steps to reproduce! -- View this message in context: http://camel.465427.n5.nabble.com/Spring-AMQP-Apache-Camel-Component-Released-tp5027785p5745

Re: camel jms polling

2014-01-08 Thread Tarun Kumar
Thanks. That works! On Thu, Jan 9, 2014 at 1:28 AM, Christian Posta wrote: > give your timer name something unique for each route: > > http://camel.apache.org/timer.html > > On Wed, Jan 8, 2014 at 9:11 AM, Tarun Kumar > wrote: > > Here problem is both routes are running sequentially. I tried wi

Re: Unable to deploy a camel route in WebSphere application server 8.5

2014-01-08 Thread Christian Müller
What's your issue? 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/642 On Wed, Jan 8, 2014 at 3:11 PM, wrote

Measuring time to make call to custom endpoint

2014-01-08 Thread gilboy
Hi I have a simple route defined in the Spring DSL. .. Basically, I would like to output the time taken to call the custom endpoint. Hence, I was thinking of adding the current time as a header before the call to the custom endpoint and then comparing this date w

Re: Camel Security Framework - ActiveMQ Store error

2014-01-08 Thread Christian Müller
Taariq is right, java.lang.NoSuchMethodError indicate this most of the time.. 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-

Re: Multicast EIP - Camel Blueprint

2014-01-08 Thread Christian Müller
Why do you think you have to use multicast [1]? Didn't you want a pipeline [2]? [1] http://camel.apache.org/multicast.html [2] http://camel.apache.org/pipes-and-filters.html Best, Christian - Software Integration Specialist Apache Member V.P. Apache Camel | Apache Camel PMC Mem

Re: Appending value to XML - Camel Blueprint

2014-01-08 Thread Christian Müller
Did you checked [1] or [2]? ${bodyAs(String)}${property[empName]} or $body$property['empName'] or ... [1] http://camel.apache.org/simple.html [2] http://camel.apache.org/scripting-languages.html Best, Christian - Software Integration Specialist Apache Member V.P. Apache Camel

Re: CXF : Camel 2.12.2 : Karaf 3.0.0 : Soap-Timeout

2014-01-08 Thread Achim Nierbeck
I'm not sure this is a "bug" in PaxWeb, it might be in Jetty, but I think I've seen this once with a Karaf 2.x version. But I can't remember how I solved it. Something from the back of my head tells me it's something in the webservice. Somehting more like the payload might be to big ... regards, A

Re: ActiveMQ processing

2014-01-08 Thread Henryk Konsek
> I know that I will get the result when the request is solved in queue, but > for example, when I am processing big amount of data, I don't want to wait > 20 seconds. You won't wait. :) You will submit task to the queue and immediately return control to the "response" bean at the end of the route

Re: Holding a value in camel blueprint

2014-01-08 Thread Henryk Konsek
> You can always store values as properties on the exchange which will > be available there for the lifecycle of the exchange. And if the value need to be accessible between multiple external interactions with the router, you can temporary store it in a cache [1] component. [1] http://camel.apach

Re: camel jms polling

2014-01-08 Thread Christian Posta
give your timer name something unique for each route: http://camel.apache.org/timer.html On Wed, Jan 8, 2014 at 9:11 AM, Tarun Kumar wrote: > Here problem is both routes are running sequentially. I tried with > > > defaultProfile="true" poolSize="10" maxPoolSize="20" maxQueueSize="1000" > > r

Re: Distributed AggregationRepository

2014-01-08 Thread Henryk Konsek
Hi Tom, > Since we're going to run our system distributed (multiple containers in > Fuse Fabric) we need an alternative to the default > MemoryAggregationRepository. As Raul said, JDBC is the only real distributed option for a while. Keep in mind however that even if SQL performance might not be

Re: camel jms polling

2014-01-08 Thread Tarun Kumar
Here problem is both routes are running sequentially. I tried with as well, doesn't help. On Wed, Jan 8, 2014 at 10:08 PM, Tarun Kumar wrote: > Hi, > > I have two routes > > > > > > > > > > > > > > > > > > > > in bean1 and bean2, i poll messages from different JMS queues. When i > s

Re: Distributed AggregationRepository

2014-01-08 Thread Raul Kripalani
Careful, HawtDB is deprecated, as advertised in the camel-hawtdb component page. Unfortunately, the warning doesn't render in a shaded box any longer (due to some recent Confluence migration), so it's easy to miss it. Sorry about that. LevelDB is recommended instead, but the technology has two lim

camel jms polling

2014-01-08 Thread Tarun Kumar
Hi, I have two routes in bean1 and bean2, i poll messages from different JMS queues. When i start the server, polling consumer in bean1 waits (and blocks) for messages to be available in jms queue. Is there any way i can run both routes in parallel?

Distributed AggregationRepository

2014-01-08 Thread Tom Fornoville
Hi camel-users, Since we're going to run our system distributed (multiple containers in Fuse Fabric) we need an alternative to the default MemoryAggregationRepository. Although we found it awkward that the Hazelcast component only offers an IdempotentRepository and no AggregationRepository we fou

Re: Spring AMQP Apache Camel Component Released

2014-01-08 Thread muthukumara...@gmail.com
Hi, Just wanted to check with you and see if you were able to re-produce this issue. Let me know if you either need more information or if you want me to try some thing out. Thanks, Muthu -- View this message in context: http://camel.465427.n5.nabble.com/Spring-AMQP-Apache-Camel-Component-Rel

Re: Unable to deploy a camel route in WebSphere application server 8.5

2014-01-08 Thread Anupama_Pradhan
Hi Sriramen, Were you finally able to use camel namespace in Websphere 8.5? can you please let me know how? We are trying to use WAS 8.5 for our osgi POC where we are using CXF and Camel. Thanks --- Anu Pradhan EAS Common Services Phone: (312) 653 - 4812 Mobile: (312) 823

File component and include option

2014-01-08 Thread geppo
Hi, I have a File Consumer that reads files (something.txt) from the following folders: file://base/something/2013/12/30/specific/even/more file://base/something/2013/12/31/specific/even/more file://base/something/2014/01/01/specific/even/more etc. so the middle part of the folder name is variabl

Is there a clean way to default route transaction mode at the route builder level

2014-01-08 Thread baudoust
Hello, in our current implementation, in camel 2.11, transaction mode is set globally inside a class which extend routebuilder, inside the interceptFrom() method. Since camel 2.12 onwards, this seems not to be tolerated anymore due to the fact that when switching the transaction mode the route is

Re: StackTraceElement using heap.

2014-01-08 Thread tkvarenes
...update If we stop sending messages through the cxf endpoint, the heap growth is stopped, but it never decreases tp the "normal" level again, leaving a lot of StackTraceElement instances left in the heap. Funny thing is that when we do a heapdump from jvisualvm the garbage collection removes t

Re: Camel Security Framework - ActiveMQ Store error

2014-01-08 Thread Taariq Levack
You have a version mismatch, camel-core-2.12.2 is being used with camel-jms-2.9.2 Taariq On Wed, Jan 8, 2014 at 8:47 AM, contactreji wrote: > Hi > > I was trying to do some encryption exercises. Once the message is > decrypted, > I am unable to store the result into a ActiveMQ Queue. > > Would