Re: Problems with jsonpath???

2014-08-27 Thread Charles Moulliard
Your expressions does not look correct jsonpath("$(@.kind == 'full'). I think that it should be .jsonpath("$.@.kind == 'full'") On Thu, Aug 28, 2014 at 5:03 AM, Deven Phillips wrote: > Hi all, > >As an example, I was using a simple JSON document: > > { > "kind": "full", > "type": "c

Problems with jsonpath???

2014-08-27 Thread Deven Phillips
Hi all, As an example, I was using a simple JSON document: { "kind": "full", "type": "customer" } I wanted to use a jsonpath predictate in a choice route as shown below: from("websocket://0.0.0.0:8080/replication") .choice() .when() .jsonpath("$(@.kind == 'fu

Re: No web.xml CamelHttpTransportServlet configuration with Spring Java Config

2014-08-27 Thread Willem Jiang
Hi, I don’t think you need to call the camelHttpTransportServlet.init(new ServletConfig() {…} there. The init method can be called by the spring framework finally. -- Willem Jiang Red Hat, Inc. Web: http://www.redhat.com Blog: http://willemjiang.blogspot.com (English) http://jnn.iteye.com (Ch

Re: Camel Netty component bind failure

2014-08-27 Thread Willem Jiang
It’s not make sense to start a TCP connection and send to web server without a validate HTTP request. You may consider to use netty-http[1] component to send that kind of request.  [1]http://camel.apache.org/netty-http -- Willem Jiang Red Hat, Inc. Web: http://www.redhat.com Blog: http://wil

Load capacity of Apache camel

2014-08-27 Thread ciril
Hi, is there any limit on capacity of apache camel?? -- View this message in context: http://camel.465427.n5.nabble.com/Load-capacity-of-Apache-camel-tp5755792.html Sent from the Camel - Users mailing list archive at Nabble.com.

Camel 2.13.1 multicast stream to endpoints

2014-08-27 Thread sandp
I have a scenario where I : 1) Receive a zipfile as byte[] from Restlet service 2) Save the zip file 3) Unmarshall the zip file I receive the zipfile from the service successfully, then, I try to multicast the message to endpoints 2) and 3) above. 2) succeeds, the zip file is saved, bu

RE: camel-cxfrs and AsyncResponse

2014-08-27 Thread Michael Bannii
Tried with synchronous=true, no change in behavior, hangs as earlier: .. . PS. BTW I made a small issue-reproducing

Re: HTTP Unspecified length

2014-08-27 Thread Mark Webb
As a bandaid approach, I'm using wget along with netcat to a Camel Netty endpoint. It's working for now :) On Wed, Aug 27, 2014 at 1:50 PM, Peter Hicks wrote: > Hi Mark > > > On 27/08/14 16:12, Mark Webb wrote: > >> I would like to pull data from a webserver has an unknown length. I send >> t

Re: Camel Netty component bind failure

2014-08-27 Thread edmondo1984
Thanks, how stupid. Now that I am trying a tcp connection on port 80, I get the following: 2014-08-27 21:26:41,968 [el Thread #1 - NettyClientTCPWorker] ERROR DefaultErrorHandler- Failed delivery for (MessageId: ID-mbp-di-edmondo-54810-1409171153699-0-1 on ExchangeId: ID-mbp-di-edmondo

No web.xml CamelHttpTransportServlet configuration with Spring Java Config

2014-08-27 Thread nickwong
Hey guys, Tomcat 7 Java 7 Camel 2.13.2 Spring 4.0.6 Spring Java Config enthusiast here. I am just starting out with Camel and I'd like to keep my projects as XML free as possible. I'm planning on doing an HTTP endpoint in the project and I've got a web.xml setting up the CamelHttpTransportServlet

Re: HTTP Unspecified length

2014-08-27 Thread Peter Hicks
Hi Mark On 27/08/14 16:12, Mark Webb wrote: I would like to pull data from a webserver has an unknown length. I send the server a GET command and it sends data continuously, each record on a separate line. I would like each record in a separate Camel exchange. Not sure if this is allowed in t

Re: HTTP Unspecified length

2014-08-27 Thread Mark Webb
It will go on forever. You connect, send a "GET" and it streams data to you. There are no headers sent. On Wed, Aug 27, 2014 at 11:22 AM, Claus Ibsen wrote: > How much data are we talking about, as you can get the data and then > use the splitter. > > On Wed, Aug 27, 2014 at 5:12 PM, Mark W

Re: HTTP Unspecified length

2014-08-27 Thread Claus Ibsen
How much data are we talking about, as you can get the data and then use the splitter. On Wed, Aug 27, 2014 at 5:12 PM, Mark Webb wrote: > I would like to pull data from a webserver has an unknown length. I send > the server a GET command and it sends data continuously, each record on a > separa

HTTP Unspecified length

2014-08-27 Thread Mark Webb
I would like to pull data from a webserver has an unknown length. I send the server a GET command and it sends data continuously, each record on a separate line. I would like each record in a separate Camel exchange. Not sure if this is allowed in the HTTP spec, but the server does this. Is the

Re: Came 2.13.1 Reading ZipInputStream EOFException

2014-08-27 Thread sage . es
Enviado desde mi smartphone BlackBerry 10.   Mensaje original   De: sandp Enviado: miércoles, 27 de agosto de 2014 14:42 Para: users@camel.apache.org Responder a: users@camel.apache.org Asunto: Re: Came 2.13.1 Reading ZipInputStream EOFException Hi Ibsen, I created a ticket and attached path at

Re: Came 2.13.1 Reading ZipInputStream EOFException

2014-08-27 Thread sandp
Hi Ibsen, I created a ticket and attached path at CAMEL-7757 -- View this message in context: http://camel.465427.n5.nabble.com/Came-2-13-1-Reading-ZipInputStream-EOFException-tp5755726p5755779.html Sent from the Camel - Users mailing list a

Request-reply concurrency with jms in older Camel versions

2014-08-27 Thread Pointless
Hello, I have a problem with concurrently sending messages to InOut jms destination and processing replies using Camel 2.6.0. I cannot upgrade because of java 1.5. As I undestand, in such case there is only 1 consumer listening for the replies. I tried using thread dsl, but it didn't help, probabl

Re: Camel Netty component bind failure

2014-08-27 Thread Willem Jiang
You used different direct endpoint name. The first one is “direct:testEndpoint” and the second one is “direct:testEndPoint”. You should use the same direct endpoint name here.  -- Willem Jiang Red Hat, Inc. Web: http://www.redhat.com Blog: http://willemjiang.blogspot.com (English) http://jnn.i