Re: WebSocket Jetty on the same port at the same time?

2014-08-27 Thread Charles Moulliard
Hi Deven, As we are using 2 different camel components to expose the websocket and jetty servers, then you can't use the same port between the 2 components. But you can imagine to share also your web code with the websocket component like I have done here :

Re: Camel Netty component bind failure

2014-08-27 Thread edmondo1984
I am extending the BaseNettyTest. I forked the git repo and checked out the 2.13.2 tag public class NettyCustomLocalPortProducerTest extends BaseNettyTest { @Test public void routeFails() throws Exception{ template.sendBody(direct:testEndpoint, Hello world); } protected

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)

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,

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 https://issues.apache.org/jira/browse/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

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: 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 elihusma...@gmail.com 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

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 claus.ib...@gmail.com 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

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

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

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:

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 peter.hi...@poggs.co.uk wrote: Hi Mark On 27/08/14 16:12, Mark Webb wrote: I would like to pull data from a webserver has an unknown

RE: camel-cxfrs and AsyncResponse

2014-08-27 Thread Michael Bannii
Tried with synchronous=true, no change in behavior, hangs as earlier: camel:camelContext id=camel camel:route camel:from uri=cxfrs://bean://testRsServer?bindingStyle=SimpleConsumer / .. /camel:route . /camel:camelContext

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,

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.

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:

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

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 == 'full')