Re: Camel-maven-plugin 2.12.1 Problem

2013-12-12 Thread atiato
Kind reminder ... -- View this message in context: http://camel.465427.n5.nabble.com/Camel-maven-plugin-2-12-1-Problem-tp5744328p5744713.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: JPA when is @Consumed called - timing of it

2013-12-12 Thread Claus Ibsen
On Thu, Dec 12, 2013 at 10:30 PM, richie.rivi...@gmail.com wrote: > Actually I think I know the issue here. I'm guessing is probably related to > the timing that the @consume method is called. > > In my route I don't set the workingProcessedIndicator on the ItemEntity > until the very end of the r

RE: Unknown Host Exception when using Twitter Endpoint

2013-12-12 Thread Goyal, Arpit
Raised Minor bug https://issues.apache.org/jira/browse/CAMEL-7066 to support specifying proxy details in endpoint URI. Alternative is to use the solution as provided by Willem Jiang --- You can either to use system properties(-Dtwitter4j.http.proxyHost, -Dtwitter4j.htt

Re: building camel : disable camel-manual

2013-12-12 Thread Willem Jiang
I just filled a JIRA[1] for it. I think we could skip that by using the profile fastinstall. [1]https://issues.apache.org/jira/browse/CAMEL-7065  -- Willem Jiang Red Hat, Inc. Web: http://www.redhat.com Blog: http://willemjiang.blogspot.com(http://willemjiang.blogspot.com/) (English) http://

Re: Unknown Host Exception when using Twitter Endpoint

2013-12-12 Thread Willem Jiang
I just have a quick look at the Twitter4j[1] which is used by camel-twitter.  You can either to use system properties(-Dtwitter4j.http.proxyHost, -Dtwitter4j.http.proxyPort) or twitter4j.properties. http.proxyHost=your.proxy.host http.proxyPort=8080 [1]http://twitter4j.org/en/faq.html -- Will

Re: building camel : disable camel-manual

2013-12-12 Thread Willem Jiang
FYI, I figured a way[1] to disable generate manual call when using fastinstall profile. Please check out the latest master code for verification :) [1]https://issues.apache.org/jira/browse/CAMEL-7065  -- Willem Jiang Red Hat, Inc. Web: http://www.redhat.com Blog: http://willemjiang.blogspot.

Re: problems with route cxf -> netty ( netty as tcp socket server)

2013-12-12 Thread Willem.Jiang
Here is a thread[1] in the stackoverflow which calls about it. [1]http://stackoverflow.com/questions/20421767/problems-with-mina-netty-tcp-endpoint-in-camel-tcp-socket-server-endpoint/ -- View this message in context: http://camel.465427.n5.nabble.com/problems-with-route-cxf-netty-netty-as-tcp

Re: First CamelSpringTestSupport unit test - AdviceWith - No consumers available on endpoint

2013-12-12 Thread Willem Jiang
You need to make sure the original route is started before using the template to send the request. -- 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)

Re: JPA when is @Consumed called - timing of it

2013-12-12 Thread richie.rivi...@gmail.com
Actually I think I know the issue here. I'm guessing is probably related to the timing that the @consume method is called. In my route I don't set the workingProcessedIndicator on the ItemEntity until the very end of the route using my Bean createSimpleItem method. Perhaps when the @consume method

Re: Unknown Host Exception when using Twitter Endpoint

2013-12-12 Thread Claus Ibsen
Hi You are welcome to log a JIRA ticket for an enhancement for making it easier to configure the http options in the endpoint uri, such as in your example. http://camel.apache.org/support On Thu, Dec 12, 2013 at 1:02 PM, Goyal, Arpit wrote: > This isn't working either. I checked the > org.apach

Re: Email Alerts Upon FTP Failure

2013-12-12 Thread funkymonk
Sounds good. I will pick up "Camel in Action" and read up. Thanks! -- View this message in context: http://camel.465427.n5.nabble.com/Email-Alerts-Upon-FTP-Failure-tp5744376p5744687.html Sent from the Camel - Users mailing list archive at Nabble.com.

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

2013-12-12 Thread kraythe .
I would try to create a unit test using CamelTestSupport and see if i could reproduce the issue before going further. *Robert Simmons Jr. MSc. - Lead Java Architect @ EA* *Author of: Hardcore Java (2003) and Maintainable Java (2012)* *LinkedIn: **http://www.linkedin.com/pub/robert-simmons/40/852/a

Re: Throttling by client ID?

2013-12-12 Thread James Carman
I have implemented a version of this logic here: https://github.com/jwcarman/camel-sandbox/blob/master/src/main/java/com/carmanconsulting/sandbox/camel/throttle/ClientThrottler.java There's a unit test here: https://github.com/jwcarman/camel-sandbox/blob/master/src/test/java/com/carmanconsulting

Re: Email Alerts Upon FTP Failure

2013-12-12 Thread kraythe .
There is an email component in camel. SMTP specifically. You just have to add a to() line and the appropriate configuration. A CBR is a Content Based Router which is one of the well known Enterprise Integration Patterns. I would advise you to get Camel in Action and read the first 2 chapters befor

Re: loggingErrorHandler formatting

2013-12-12 Thread Marco Crivellaro
I have tried the suggested approach but it doesn't seem to work like having a DefaultErrorHandler; in my route there is an aggregator and once an exchange runs in error the routing does not proceed to the step after the aggregation if this runs in timeout. -- View this message in context: http:

Re: building camel : disable camel-manual

2013-12-12 Thread lb
I forgot to mention that the proxy need authentication so http.proxyHost and http.proxyPort are not enough :-( -- View this message in context: http://camel.465427.n5.nabble.com/building-camel-disable-camel-manual-tp5744596p5744681.html Sent from the Camel - Users mailing list archive at Nab

Re: Archive files using apache camel

2013-12-12 Thread Dharmendra Patel
Hi There, In camel there is a camel-zipfile component. But i think it works for single file only. http://camel.apache.org/zip-file-dataformat.html I am not sure but i think camel-exec component may work in your case. http://camel.apache.org/exec.html

Camel smpp to smpp

2013-12-12 Thread rameshbabu
Hello, I would like to establish a camel route for SMPP to SMPP routing. I have sample route like as follows I am facing the following issue . Exhausted after delivery attempt: 1 caught: org.jsmpp.extra.NegativeResponseException: Negative response 000b found. Processed by failure p

RE: Unknown Host Exception when using Twitter Endpoint

2013-12-12 Thread Goyal, Arpit
This isn't working either. I checked the org.apache.camel.component.twitter.TwitterConfiguration and it has no @UriParam for proxy and host. When I execute it in OSGi environment I get the following error: Caused by: org.apache.camel.ResolveEndpointFailedException: Failed to resolve endpoint:

Re: DefaultCxfRsBinding only uses Exchange.getOut()

2013-12-12 Thread Dominik Amon
Hello Willem, Willem.Jiang wrote > I will take care of it. > > -- > 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: willemjian

Re: Unknown Host Exception when using Twitter Endpoint

2013-12-12 Thread Walzer, Thomas
Maybe those properties are available somehow? http://twitter4j.org/en/configuration.html Am 12.12.2013 um 12:14 schrieb Goyal, Arpit : > Hi, > > Is there a way to set Proxy Host & Proxy Port in Twitter Endpoint. I am > getting Unknown Host Exception when trying to access in landscape which has

Unknown Host Exception when using Twitter Endpoint

2013-12-12 Thread Goyal, Arpit
Hi, Is there a way to set Proxy Host & Proxy Port in Twitter Endpoint. I am getting Unknown Host Exception when trying to access in landscape which has proxy server configured. Is this known issue? Regards, Arpit Error Log: Endpoint[twitter://timeline/mentions?accessToken=[s]&accessTokenSecre

Re: LocalWorkDirectory is not working when used with multicast

2013-12-12 Thread Claus Ibsen
Just try with from ftp to file a to file b On Thu, Dec 12, 2013 at 11:59 AM, Bharath wrote: > Thanks Claus for your quick response!! > > It is one of the use case in my application > > Just now i tried with parallelProcessing=true option in multicast it worked > :) > > I could able to see

Re: LocalWorkDirectory is not working when used with multicast

2013-12-12 Thread Bharath
Thanks Claus for your quick response!! It is one of the use case in my application Just now i tried with parallelProcessing=true option in multicast it worked :) I could able to see the files in both /mnt/input and also /mnt/output Even though the files are transferred successfully I am getting

Re: LocalWorkDirectory is not working when used with multicast

2013-12-12 Thread Claus Ibsen
Hi This is expected. As the file component when using local work dir does a fast-copy by renaming the file. And that can only work once. So dont do the multicast. And why do you do that. Is it just for fun, or is there any real life use-case for that? On Thu, Dec 12, 2013 at 11:29 AM, Bharath

Re: BacklogTracer memory leak?

2013-12-12 Thread Claus Ibsen
Hi Thanks for reporting and testing with latest release. I have logged a ticket to fix this https://issues.apache.org/jira/browse/CAMEL-7062 On Thu, Dec 12, 2013 at 11:09 AM, zdolniacha wrote: > Ok, I found it. > Problem is related to BacklogTracer.addDefinition() method. > It saves ProcessDefi

LocalWorkDirectory is not working when used with multicast

2013-12-12 Thread Bharath
Hi, My route is ftp://hostname:22/input?username=&password=y&binary=true&localWorkDirectory=/tmp"; /> 1) I placed abc.xml in sftp location the file is being transferred only to /mnt/input 2) /mnt/output is empty 3) I am getting the following exception (Messa

ConsumerTemplate is not fetching data in insertion Order

2013-12-12 Thread Dayakar
Hi, I have some messages in the JMS Queue and if i fetch the message from Queue by using consumerTemplate.receiveBodyNoWait("jms:queue:destinationEndPoint", String.class); By i observed that consumerTemplate is not maintaining insertion order. Please let me know how can i get insertion order by

Re: BacklogTracer memory leak?

2013-12-12 Thread zdolniacha
Ok, I found it. Problem is related to BacklogTracer.addDefinition() method. It saves ProcessDefinitons associated to route. But it saves it whether tracer is enabled, disabled or (!) shutdown. In my workaround I'm shutting down and re-creating defaultBacklogTracer after end of last route. That do

Re: Archive files using apache camel

2013-12-12 Thread Claire
Hi, Thanks Willem! There are csv files I have to convert to xml files. Once I done converting to xml files, I have to place those converted xml files into a specific folder. There will be many xml files inside that folder. So I would like to do some housekeeping activities to that folder. (e.g arc

Re: First CamelSpringTestSupport unit test - AdviceWith - No consumers available on endpoint

2013-12-12 Thread richie.rivi...@gmail.com
Hi, Yes i think you may have missed the first part of the post where I describe the original route. It definitely has a from(“direct:itemExport”). So you think it can't find the route? -- View this message in context: http://camel.465427.n5.nabble.com/First-CamelSpringTestSupport-unit-test-Ad

Re: DefaultCxfRsBinding only uses Exchange.getOut()

2013-12-12 Thread Willem Jiang
I will take care of it. -- 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: 姜宁willem On December 12, 2013 at 1:36:19 A

Re: Archive files using apache camel

2013-12-12 Thread Willem Jiang
I’m not sure what you need to do to archive the files. Can you elaborate your requirement? -- 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:

Re: First CamelSpringTestSupport unit test - AdviceWith - No consumers available on endpoint

2013-12-12 Thread Willem Jiang
You need to make sure there is route which has from(“direct:itemExport”) started first. -- 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:

First CamelSpringTestSupport unit test - AdviceWith - No consumers available on endpoint

2013-12-12 Thread richie.rivi...@gmail.com
Hi guys, Thanks for the advice on a previous post asking about how to change the route of an application for the purposes of testing. Since that time I have gone and done some research into using adviceWith and given it a go. It seems to be working for me but I'm getting an error whilst executing

Re: building camel : disable camel-manual

2013-12-12 Thread Willem Jiang
It’s not maven proxy setting, you need to setup the proxy for Java Http URL connection[1] [1]http://stackoverflow.com/questions/1432961/how-do-i-make-httpurlconnection-use-a-proxy -- Willem Jiang Red Hat, Inc. Web: http://www.redhat.com Blog: http://willemjiang.blogspot.com(http://willemjiang

Re: Reading file using camel

2013-12-12 Thread Willem Jiang
What’s your com.beans.readFile look like? How do you inject it into the camel route? -- 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: wille