How to monitor number of open files in camel?

2013-12-18 Thread Bharath
Hi, Is there any way to monitor the number of open files in camel. My camel applications are running in fuse fabric container 7.1.0. I know this is possible using Hawtio but it supports fabric option only from Jboss Fuse 6.1 Cheers!!! Bharath.R -- View this message in context: http:/

RE: Annoying warning (SftpOperations - JSCH -> Permanently added XXX to the list of known hosts)

2013-12-18 Thread Siano, Stephan
Hi, Well, the best way to get rid of this warning is to provide the host key as a known hosts to the sftp endpoint. Essentially the warning means that the endpoint does not know the public key of the SFTP server, so it cannot verify that the server it is communicating with is really the server

passing exchange and other value as parameters

2013-12-18 Thread Claire
Hi, I'm trying to pass exchange as a parameter and one more value using following code but still not working. Is it possible to pass exchange as a parameter when I call bean in my route xml? If so, how should I call it? thanks * * The function inside bean is below: *public void getHeaders(Excha

Re: Camel FTP consumer + socketFactory not work correctly

2013-12-18 Thread Willem Jiang
Thanks for pointing that out. I just updated the code of FtpsEndpoint. -- Willem Jiang Red Hat, Inc. Web: http://www.redhat.com Blog: http://willemjiang.blogspot.com(http://willemjiang.blogspot.com/) (English) http://jnn.iteye.com(http://jnn.javaeye.com/) (Chinese) Twitter: willemjiang Weibo

Re: Polling consumer in camel

2013-12-18 Thread Tarun Kumar
Thanks Richard. This helps. I am using Exchange exchange = consumer .receive( "catalogJms:queue:queueName?mapJmsMessage=false&acknowledgementModeName=CLIENT_ACKNOWLEDGE" ); even though i am not sending acknowledgement for received message, each time it is polling different message. Any idea w

Annoying warning (SftpOperations - JSCH -> Permanently added XXX to the list of known hosts)

2013-12-18 Thread geppo
Hi, I have a Camel route that requires SFTP. Everything works perfectly fine, but I get this annoying warning every minute in the logs and I don't know how to get rid of it. Any suggestion? WARN SftpOperations - JSCH -> Permanently added XXX to the list of known hosts -- View this message in co

Aggregator, beyond the simple string example

2013-12-18 Thread fliot33
Hi, I really enjoy the pattern It's straight forward and really very reusable, really great. Btw, beyond the StringInAggregatingStrategy documented example, does anybody have a real life XML Aggregating Strategy example ? Indeed, since, depending your endpoints, you do not control obviously the

Re: contextScan in CamelConfiguration

2013-12-18 Thread edhansen42
Thanks Richard - that's actually the route (no pun intended) that I was heading down. I just want to make sure I'm not missing something, because it sure looks easy to do in XML. -- View this message in context: http://camel.465427.n5.nabble.com/contextScan-in-CamelConfiguration-tp5745004p57

Re: Polling consumer in camel

2013-12-18 Thread Richard Kettelerij
Set the mapJmsMessage=false option on the jms component to get the actual javax.jms.TextMessage. See http://camel.apache.org/jms.html for details (paragraph "Disabling auto-mapping of JMS messages"). On Wed, Dec 18, 2013 at 7:59 PM, Tarun Kumar wrote: > Hi, > > I am creating a polling consumer u

Re: contextScan in CamelConfiguration

2013-12-18 Thread Richard Kettelerij
Interesting case. AFAIK there's currently no out-of-the-box solution in the camel-spring-javaconfig component for this. It would be a nice contribution though (http://camel.apache.org/contributing.html). If you want to give it a shot your self I perhaps you can take a look at using the Spring @Com

Polling consumer in camel

2013-12-18 Thread Tarun Kumar
Hi, I am creating a polling consumer using: from("timer://foo?period=5000").bean(cool, "someBusinessLogic"); public static class MyCoolBean { private int count; private ConsumerTemplate consumer; private ProducerTemplate producer; public void setConsumer(ConsumerTemplate consum

Re: error when invoking service in camel (java.lang.NoSuchMethodError: org.apache.cxf.message.Exchange.getBindingOperationInfo()Lorg/apache/cxf/service/model/BindingOperationInfo) through soap ui)

2013-12-18 Thread Aki Yoshida
it looks like you have some very old cxf library on your tomcat, which is picked up instead of the one intended. Can you verify which jars are deployed and make sure the deployed cxf jars are consistent? regards, aki 2013/12/18 reena upadhyay : > I have a web application deployed on Tomcat co

Re: Camel FTP consumer + socketFactory not work correctly

2013-12-18 Thread alexey-s
Hi, Willem Thanks for the correction of an error. Exactly the same error there FtpsEndpoint. Aleksey -- View this message in context: http://camel.465427.n5.nabble.com/Camel-FTP-consumer-socketFactory-not-work-correctly-tp5744716p5745005.html Sent from the Camel - Users mailing list archive

contextScan in CamelConfiguration

2013-12-18 Thread edhansen42
I would like to use the java equivalent of the tag to have my camel context discover my @Component annotated SpringRouteBuilder instances. I am creating my camel context via Spring by extending the CamelConfiguration class and annotating the class with @Configuration. My question - what do I nee

Re: Camel FTP consumer + socketFactory not work correctly

2013-12-18 Thread Willem Jiang
I just filled a JIRA[1] for it and committed a quick fix for it. [1] https://issues.apache.org/jira/browse/CAMEL-7077 -- Willem Jiang Red Hat, Inc. Web: http://www.redhat.com Blog: http://willemjiang.blogspot.com(http://willemjiang.blogspot.com/) (English) http://jnn.iteye.com(http://jnn.java

error when invoking service in camel (java.lang.NoSuchMethodError: org.apache.cxf.message.Exchange.getBindingOperationInfo()Lorg/apache/cxf/service/model/BindingOperationInfo) through soap ui)

2013-12-18 Thread reena upadhyay
I have a web application deployed on Tomcat container. I have created a route in camel. When I am trying to invoke the webservice through soap UI. I get following error: http://schemas.xmlsoap.org/soap/envelope/";> soap:Server org.apache.cxf.message.Exchange.getBin

Re: Camel Cxf Failover causes leak memory on periodic http requests

2013-12-18 Thread Sergey Beryozkin
The CXF fail-over target selector appears to be cleaning up its state properly, which also implies the actual clients properly complete the exchanges, I've tried WS & RS failover tests on the trunk. Indeed, try upgrading somehow and see if it persists Sergey On 18/12/13 09:43, LORENZA Adnan w

Wait for writing to a file if another one existe

2013-12-18 Thread Greg Henry
Hello Riders My problem is the following I have to write (append mode) to a file (let's name it file1.csv) wich can possibly be processedat the same time by another process (not camel enabled ...) . I know that when processing the other process create a file (named file1.csv.tmp) , what i need

Re: Problem using salesforce component in Fuse IDE

2013-12-18 Thread Claus Ibsen
You need to have camel-salesforce on the classpath. If you use Maven, then add it to the pom.xml as dependency. On Wed, Dec 18, 2013 at 1:18 PM, shmahajan wrote: > Hi, > > I am creating XML based camel route in Fuse IDE. But i am getting error: > "Cannot auto create component: salesforce". > > C

Problem using salesforce component in Fuse IDE

2013-12-18 Thread shmahajan
Hi, I am creating XML based camel route in Fuse IDE. But i am getting error: "Cannot auto create component: salesforce". Can you please let me know what additional configuration i have to do here. Below is the camelcontext.xml: http://www.springframework.org/schema/beans"; xmlns:camel="ht

Re: building camel : disable camel-manual

2013-12-18 Thread lb
Fixed, thx -- View this message in context: http://camel.465427.n5.nabble.com/building-camel-disable-camel-manual-tp5744596p5744989.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: Camel Cxf Failover causes leak memory on periodic http requests

2013-12-18 Thread LORENZA Adnan
Hi, In my point of view, the problem is not in camel : a dump of JVM memory shows that created objects (org.apache.cxf.phase. PhaseInterceptor*) are retained by the ConcurrentHashMap that is instanciated by a class in CXF code (org.apache.cxf.clustering.FailoverTargetSelector). Those objects are no

Re: different context

2013-12-18 Thread Claus Ibsen
No there is no performance issues. Its intra-jvm communication which is as fast as possible. Though for some high end cases the disruptor implementation of the queues has proven faster. http://camel.apache.org/disruptor.html You can find link to the disruptor project from that link above and find

Re: different context

2013-12-18 Thread Matteo Cusmai
Hi all, Could you please tell me if there are performance issues using vm component to connect 2 camel context? Is there any specific documentation about it. Thanks in advance, Matteo. On 15 Dec 2013 01:07, "Matteo Cusmai" wrote: > Hi Robert, > I know that article, it is part of camel in action

Re: Soap Fault Unmarshal

2013-12-18 Thread bilalalp
Yes sure, I've changed the original names. When cxf:bean:myServiceEndpoint is called for some conditions, it returns soap:fault message. I handle this with checking whether the message contains faultstring or not. It's not a good solution for me. How can i find out whether it has soap:fault or not

Re: Acknowledgement to JMS Topic on activemq

2013-12-18 Thread Claus Ibsen
You can use transacted acknowledge mode with the camel-jms component. Just set transacted=true, and setup the TX stuff. http://camel.apache.org/jms http://camel.apache.org/transactional-client.html Mind that camel-jms only supports one message at a time, eg consume one message in a TX. The other