Re: camel-freemarker FileNotFoundException

2011-08-13 Thread Claus Ibsen
Camel 2.9 has been improved in terms of resource endpoints such as freemarker, velocity to not use spring to load the resources. This didn't work to well with osgi blueprint etc. On Thu, Aug 11, 2011 at 4:16 PM, sipe16 wrote: > I'm trying to use the camel-freemarker component in Windows 7 x64 w

Re: Sending Nagios Passive Checks from Spring - HowTo ?

2011-08-13 Thread Claus Ibsen
On Fri, Aug 12, 2011 at 10:25 PM, Tereza Nedelescu wrote: > Hi, > > I tried sending Nagios passive checks from Spring using the following code, > and Nagios didn't receive them: > >                 >                         >                         /> >                 > > Then I looked up on the

Re: Consistenty Hashing Support

2011-08-13 Thread Claus Ibsen
Hi You can implement a custom load balancer with Camel. You may peek in the source of some of the existing to reuse parts, such as the sticky, and failover. http://camel.apache.org/load-balancer.html On Sat, Aug 13, 2011 at 12:10 AM, anucekay wrote: > Hai > >  I am trying to get some inputs on

Re: Camel-freemarker

2011-08-13 Thread bvahdat
Claus, >>>Well frankly it is the other way around. End users should be able to specify exactly which log4j version they want to use. If camel users (2.8.0) instrucht camel to use log4j through slf4j by declaring a DIRECT dependency to the slf4j-log4j12, then indeed they will get stucked to log4j

Re: Camel-freemarker

2011-08-13 Thread Claus Ibsen
On Sat, Aug 13, 2011 at 1:17 PM, bvahdat wrote: > Claus, > Well frankly it is the other way around. End users should be able to > specify exactly which log4j version they want to use. > > If camel users (2.8.0) instrucht camel to use log4j through slf4j by > declaring a DIRECT dependency to th

Re: slow reply for jms component when url contains replyTo

2011-08-13 Thread Claus Ibsen
On Sun, Jul 17, 2011 at 7:38 PM, David Karlsen wrote: > Maybe better to provide a replyto resolver strategyinterface with a few > implementations for vinning cases? That could be a good idea, lets see how this goes. > Den 12. juli 2011 07:26 skrev "Claus Ibsen" > følgende: >> >> On Mon, Jul 11

Re: slow reply for jms component when url contains replyTo

2011-08-13 Thread Claus Ibsen
Hi Jim, others I got some code for supporting exclusive replyTo queues. I just want to know if you run in a clustered environment. As the replyTo queue would be exclusive to each CamelContext (eg each node). So if you have 2 nodes running with Camel then each node would have to use an unique reply

Re: Camel-freemarker

2011-08-13 Thread bvahdat
Hi Claus, I created a ticket and provided the patch. Please see also my comment on the ticket: https://issues.apache.org/jira/browse/CAMEL-4331 Regards, Babak -- View this message in context: http://camel.465427.n5.nabble.com/Camel-freemarker-tp4693216p4696497.html Sent from the Camel - Users

Re: slow reply for jms component when url contains replyTo

2011-08-13 Thread David Karlsen
Hi - I would be very interested in this (and willing to test). We had to back out from using camel for our req/res jms (we now use jmstemplate directly) - especially because the persistentrelyqueuemanager (or something like that) seemed to use the same connection - so eventually the fw closed that

Re: Sending Nagios Passive Checks from Spring - HowTo ?

2011-08-13 Thread Tereza Nedelescu
Thank you, that started things going. Now I have another error: Exhausted after delivery attempt: 1 caught: java.net.SocketTimeoutException: connect timed out java.net.SocketTimeoutException: connect timed out at java.net.PlainSocketImpl.socketConnect(Native Method) at java.net.Pl

Re: Sending Nagios Passive Checks from Spring - HowTo ?

2011-08-13 Thread David Karlsen
Yes, while attempting to connect it timed out. You can debug by issing "telnet hostname port" or "telnet host:port" on the command line. 2011/8/13 Tereza Nedelescu > Thank you, that started things going. Now I have another error: > > Exhausted after delivery attempt: 1 caught: > java.net.SocketT

[ANN] TumbleJ Tumblr Blog API Client Camel Component (work in progress)

2011-08-13 Thread Hendy Irawan
Hi all, I'm currently working on TumbleJ 2.0 : https://github.com/soluvas/tumblej TumbleJ is Tumblr Blog API Client Library for Java. It's updated from original TumbleJ 1.1 by Danesh Zaki. I've implemented all post types on Tumblr (including new type: photo) and using OAuth. I've also added a

Re: Sending Nagios Passive Checks from Spring - HowTo ?

2011-08-13 Thread Tereza Nedelescu
Thank you, now I see that it's an external problem: it cannot connect to Nagios. -- View this message in context: http://camel.465427.n5.nabble.com/Sending-Nagios-Passive-Checks-from-Spring-HowTo-tp4694564p4697035.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: Split large file into small files

2011-08-13 Thread jeevan.koteshwara
Hi Christian, to be give you better picture, my requirement goes like this. I need to transfer a fixed length record file to a destination Meanwhile, my route is responsible for transforming into required format (say to CSV or to XML). Now, the input file may be too big. It may co

how to process sync exchange mode?

2011-08-13 Thread xiangqiuzhao
my route like from("direct://test").process("convertOut").to("mycompomnent").process("convertIn") i need to send local message to mycompomnent, but i need to convert message to the format before send and mycompomnent is sync mode, so i need to convert the response message to my format after get re

Re: how to process sync exchange mode?

2011-08-13 Thread Claus Ibsen
On Sun, Aug 14, 2011 at 5:21 AM, xiangqiuzhao wrote: > my route like > from("direct://test").process("convertOut").to("mycompomnent").process("convertIn") > > i need to send local message to mycompomnent, but i need to convert message > to the format before send and mycompomnent is sync mode, so i

Re: [ANN] TumbleJ Tumblr Blog API Client Camel Component (work in progress)

2011-08-13 Thread Claus Ibsen
Hi Henry Cool and good luck with the component. I have added a link to it from the user stories page on the Apache Camel web site. On Sat, Aug 13, 2011 at 10:23 PM, Hendy Irawan wrote: > Hi all, > > I'm currently working on TumbleJ 2.0 : > > https://github.com/soluvas/tumblej > > TumbleJ is Tum

Re: Sending Nagios Passive Checks from Spring - HowTo ?

2011-08-13 Thread Claus Ibsen
Hi I have logged a ticket to improve this in camel-nagios in the future https://issues.apache.org/jira/browse/CAMEL-4332 If you want you are welcome to submit a patch to fix this. This way you will learn a bit about the nagios code in Camel. You can read more about contributing here http://camel.

Re: Split large file into small files

2011-08-13 Thread Claus Ibsen
On Sun, Aug 14, 2011 at 12:57 AM, jeevan.koteshwara wrote: > Hi Christian, >                to be give you better picture, my requirement goes like > this. > > I need to transfer a fixed length record file to a destination Meanwhile, my > route is responsible for transforming into required format