java.util.zip.ZipException: error in opening zip file

2015-02-25 Thread Gonzalo Vásquez Sáez
Hi everybody, I’m using Camel 2.14.1, mainly to use a timer and an http consumer (URL_FLEET_HISTORY), as shown on the following Java code: @Override public void configure() throws Exception { from(timer:ws?period= + period) .process(new Processor() {

Re: java.util.zip.ZipException: error in opening zip file

2015-02-25 Thread Gonzalo Vásquez Sáez
Thanks Claus for such a fast answer! Regarding Java versions, we'll try to install a Java 7 or 8 in that Linux box, but as an alternate approach, which Camel version DOES support Java 6 so we could try that approach too? Atentamente / Regards, Gonzalo Vásquez Sáez gvasq...@waypoint.cl +56

Re: camel-blueprint.xsd is not updated

2015-02-25 Thread yogu13
anyone? -- View this message in context: http://camel.465427.n5.nabble.com/camel-blueprint-xsd-is-not-updated-tp5763118p5763156.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: java.util.zip.ZipException: error in opening zip file

2015-02-25 Thread Claus Ibsen
Camel 2.14.x does not support Java 6. You must use Java 7 or 8. On Wed, Feb 25, 2015 at 3:02 PM, Gonzalo Vásquez Sáez gvasq...@waypoint.cl wrote: Hi everybody, I’m using Camel 2.14.1, mainly to use a timer and an http consumer (URL_FLEET_HISTORY), as shown on the following Java code:

Re: Upgrading to Camel 2.14.1 and CompositeRegistry issue

2015-02-25 Thread Claus Ibsen
Hi This sounds like a mixed versions of Camel on the classpath. So double check that you use the same Camel version for all your camel jars. On Wed, Feb 25, 2015 at 1:18 PM, geppo geppore...@gmail.com wrote: Hi, I'm trying to upgrade some legacy code to use Camel 2.14.1, but I'm getting an

Re: Failover with Camel CXF

2015-02-25 Thread sayed_india
Hi, I followed the instructions provided but unable to implement shows the error: [LoadBalanceType[ref:null... because of ref or loadBalancer must be specified. Please find below code snippet and correct me where I go wrong with this. WSDL -- wsdl:service name=OrderEndpointService

Upgrading to Camel 2.14.1 and CompositeRegistry issue

2015-02-25 Thread geppo
Hi, I'm trying to upgrade some legacy code to use Camel 2.14.1, but I'm getting an AbstractMethodError when the method lookupByNameAndType is called. Any idea what this means and/or how I can fix it? Many thanks! Caused by: org.apache.camel.NoSuchBeanException: Cannot lookup: properties from

Camel Netty Http: HttpHeaders case sensitive

2015-02-25 Thread cgiera
Hello, we are implementing a http camel route for receiving data from SAP. The route consumes from a netty-http endpoint(from(netty-http...)). Our tests with SoapUi worked fine, but when we tried sending data from the SAP system the test failed with http 400 bad request. After some research I

Re: java.util.zip.ZipException: error in opening zip file

2015-02-25 Thread Claus Ibsen
Hi Check the bottom of the release notes and you can find which version that dropped java 6. Which is indeed 2.14.x http://camel.apache.org/camel-2140-release.html So try with 2.13.x On Wed, Feb 25, 2015 at 3:14 PM, Gonzalo Vásquez Sáez gvasq...@waypoint.cl wrote: Thanks Claus for such a fast

Re: java.util.zip.ZipException: error in opening zip file

2015-02-25 Thread Gonzalo Vásquez Sáez
Thanks, we'll try downgrading to Camel 2.13.3 (just pom.xml fixing needed) Atentamente / Regards, Gonzalo Vásquez Sáez gvasq...@waypoint.cl +56 (2) 29634180 Director I+D / RD Director Waypoint Telecomunicaciones S.A. Alfredo Barros Errázuriz 1953 Of. 1004 7500550 Providencia, Santiago, Chile

Re: How to trap most specific exceptions?

2015-02-25 Thread Claus Ibsen
Hi If you have a copy of Camel in Action its explained in much detail in chapter 5. You may find some information on the Camel doc website as well, but not as deep as in the book. On Mon, Feb 23, 2015 at 5:15 PM, toomanyedwards toomanyedwa...@gmail.com wrote: Thanks for the pointer. Can you

Re: Camel Netty Http: HttpHeaders case sensitive

2015-02-25 Thread Claus Ibsen
Hi Well spotted. Yeah you are welcome to log a ticket. And also we love contributions so a patch with a fix is also welcome. http://camel.apache.org/contributing.html On Wed, Feb 25, 2015 at 1:57 PM, cgiera christoph.gi...@mic-cust.com wrote: Hello, we are implementing a http camel route for

Re: Camel File outputType as StreamList

2015-02-25 Thread Claus Ibsen
Hi You can use the max messages per poll to limit the number of files which could allow the consumer to process files sooner. On Tue, Feb 24, 2015 at 12:32 PM, Dewitte P-Alban dewitte...@gmail.com wrote: Hi everybody Is it possible to read recursively a directory and output file names

Getting HTTP status code as 202 always and want to override with the 200.

2015-02-25 Thread Sag21
New to camel.I have existing spring application which has soap endpoints. The return type of soap endpoint is jdom Element. When the processing of endpoint completes I am calling the camel processors in routes - one for Acknowledgement and other for putting in JMS. Once its done returning me

how to Mock camel EL ?

2015-02-25 Thread student.cologne
hi at all. i am new in camel. i need a support in the thema junit test for camel.so, i have this configuration: FetchPreprocessingResultFromMarklogicRoute.java http://camel.465427.n5.nabble.com/file/n5763174/FetchPreprocessingResultFromMarklogicRoute.java to get it run i have created a junit

Re: camel blueprint support multiple mail boxes ???

2015-02-25 Thread Gary
Hi Yogu13, thanks!!! ok, I think I get it, if I use the Java DSL I have more scalability because the config files or the xml's do not support multiple configuration entries??? Sorry if I am a bit behind, learning on overload, arg! thanks again, Gary -- View this message in context:

Invoking existing spring jms listener through camel routes.

2015-02-25 Thread Sag21
Spring exposes the jmsListener part like below jms:listener-container connection-factory=myConnectionFactory task-executor=myTaskExecutor destination-resolver=myDestinationResolver transaction-manager=myTransactionManager concurrency=10 jms:listener

Async IdempotentRepository

2015-02-25 Thread Behrad
Does camel support of any IdempotentRepository SPI that has async methods unlike https://github.com/apache/camel/blob/master/camel-core/src/main/java/org/apache/camel/spi/IdempotentRepository.java ? I have implemented above interface on top of Couchbase API however I am using `Await` to block

RE: SFTP file process order

2015-02-25 Thread shreyas
But that has null as default option. So, what is the default behavior? And what about SFTP concurrent file download if there are multiple files? Thanks Shreyas From: dewitte...@gmail.com Date: Wed, 25 Feb 2015 08:20:45 + Subject: Re: SFTP file

Re: Failover with Camel CXF

2015-02-25 Thread Willem Jiang
Hi, You need to specify the LoadBalanceType such as Failover or roundRobin. You can find more information here[1] [1]https://camel.apache.org/load-balancer.html -- Willem Jiang Red Hat, Inc. Web: http://www.redhat.com Blog: http://willemjiang.blogspot.com (English) http://jnn.iteye.com

RE: camel-metrics Component

2015-02-25 Thread vivekt
Hello Claus, I tested Jim's orginal Java class with 2.14.1, but still could not get the metrics from MetricsRegistryService. When I invoke dumpStatisticsAsJson() , all the metrics are empty. Here is the output version : 3.0.0, gauges : { }, counters : { }, histograms : { }, meters : { },

Re: camel-blueprint.xsd is not updated

2015-02-25 Thread Willem Jiang
We need to do it manually, I will take care of it today. -- Willem Jiang Red Hat, Inc. Web: http://www.redhat.com Blog: http://willemjiang.blogspot.com (English) http://jnn.iteye.com (Chinese) Twitter: willemjiang Weibo: 姜宁willem On February 24, 2015 at 9:53:43 PM, yogu13

Rest DSL with Jetty and multipart/form-data POST

2015-02-25 Thread francesco.boscarino
Hi, I'm trying to POST a file, along with some parameters, towards a RestDSL endpoint: restConfiguration component=jetty host=localhost port=8080 / rest post uri=/upload/{id} to uri=direct:upload / /post /rest route from uri=direct:upload / to

Re: camel blueprint support multiple mail boxes ???

2015-02-25 Thread yogu13
Hello Gary, From what i understand about your problem creating / configuring dynamic routes using RouteBuilder (Java DSL) should simplfy things for you, Assuming that you list of mailboxes is only configured in the configuration file can vary over a period of time. example @

Re: IBM MQ Issue because of Spring JMS Listener

2015-02-25 Thread Gnana
I have used *inOnly* instead of to in route. it is working fine. to is getting response and camel is trying to update response in default queue.default queue doesn't have access. so I am getting warning. now inOnly won't expect response. -- View this message in context:

Re: SFTP file process order

2015-02-25 Thread Dewitte P-Alban
Hi, I think sorter and sortBy are the options you are looking for. http://camel.apache.org/file2.html Best regards Pierre-Alban Le Tue Feb 24 2015 at 20:38:23, shreyas shreyas.puro...@hotmail.com a écrit : Hello, Is anyone aware of default file process order in SFTP component? I am