Re: Camel Websocket - Connection key not set

2015-05-05 Thread Andrew Block
It sounds like the goal is to communicate with an existing websocket endpoint. The Camel websocket component will create a websocket endpoint in a Jetty server for your route to communicate. Other clients will connect to this endpoint as well. You are receiving this error because by default. you

Camel Websocket - Connection key not set

2015-05-05 Thread Harish Kumar
I have the below route in Camel from JMS --> Websocket The websocket is exposed in a node js appliation running separately. and this is my route specification /from("test-jms:queue:test.queue").convertBodyTo(String.class, "UTF-8").to("websocket://localhost");/ When I run the code, i get the fo

Re: @BeanInject ignored in Groovy when called as a script

2015-05-05 Thread Claus Ibsen
Hi Its likely because he creates the instance himself using the new constructor. That does not do any IoC def GroovyProc4 mybean = new GroovyProc4() You would need to do the IoC yourself or let Camel create it using its injector def GroovyProc4 mybean = camelContext.getInjector().newInstance(Gr

Re: @BeanInject ignored in Groovy when called as a script

2015-05-05 Thread Henryk Konsek
Hi, This is Spring? Can you send us the Maven example reproducing the issue? Cheers! wt., 5.05.2015 o 15:01 użytkownik bocamel napisał: > Because groovy script called by Camel cannot be debugged under IDE, I > created > my script as a hybrid so I can easily switch it between the bean mode and

websocket with jetty 9

2015-05-05 Thread Amit
I am trying to run websocket component with jetty 9 and i am getting java.lang.ClassNotFoundException: org.eclipse.jetty.http.ssl.SslContextFactory. When i look at the dependency jetty 9 does not have org.eclipse.jetty.http.ssl.SslContextFactory class. Does the Apache camel component run with the

Re: How can I limit upload speed in Camel ftp ?

2015-05-05 Thread arvind
Thanks much Claus. -- View this message in context: http://camel.465427.n5.nabble.com/How-can-I-limit-upload-speed-in-Camel-ftp-tp5766707p5766711.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: How can I limit upload speed in Camel ftp ?

2015-05-05 Thread Claus Ibsen
Hi I dont think this is possible. But Camel uses Apache Commons Net (FTP) as the ftp client. So if that library has support for it, then we should be able to do this with camel-ftp too. I suggest to search that library what it can do. On Tue, May 5, 2015 at 2:33 PM, arvind wrote: > How can I li

Content-Disposition error when downloading xlsx - UNIX

2015-05-05 Thread jarod
I am using apache-poi and poi-ooxml together with camel to create and http transfer an xlsx file. I create the file using XSSFWorkbook. When testing locally (running a main which start the routes) or when I deploy to the local tomcat7 everything is working fine, the download of the xlsx is done an

@BeanInject ignored in Groovy when called as a script

2015-05-05 Thread bocamel
Because groovy script called by Camel cannot be debugged under IDE, I created my script as a hybrid so I can easily switch it between the bean mode and script mode: //== class GroovyProc4 { @BeanInject('myConfig') MyConfig myConfig public void proces

How can I limit upload speed in Camel ftp ?

2015-05-05 Thread arvind
How can I limit upload speed in Camel FTP . Camel FTP is consuming all the bandwidth over the network. I am transferring the files using Camel FTP 2.9.2 but I need to limit the rate they upload at so I don't want to take all the bandwidth . IE I need to limit uploads to 150kbps. Is there any UR

Re: Interrupt MultiCast waiting

2015-05-05 Thread Claus Ibsen
Hi Not programmatically but you can setup a timeout. Though we could consider having some apis for breaking out from the aggregation strategy. But if doing so it further complicates the code as then multicast has to deal with late replies that comes back later but they should be discarded as "you

RE: Camel headers not visible in xslt when blueprint deployed to Fuse

2015-05-05 Thread Vanshul . Chawla
Yes it works, Thanks a ton. Thanks and Regards, Vanshul Chawla -Original Message- From: Sandra Taylor [mailto:jtt77...@gmail.com] Sent: Tuesday, May 05, 2015 2:59 PM To: users@camel.apache.org Subject: Re: Camel headers not visible in xslt when blueprint deployed to Fuse I think you ne

Re: Camel headers not visible in xslt when blueprint deployed to Fuse

2015-05-05 Thread Sandra Taylor
I think you need to make those xsl params global, so put them under the transform. . Regards, -John On Tue, May 5, 2015 at 4:52 AM, Vanshul.Chawla wrote: > I have a blueprint.xml deployed to fuse. > > Section of that blueprint is: > > > >

Camel headers not visible in xslt when blueprint deployed to Fuse

2015-05-05 Thread Vanshul . Chawla
I have a blueprint.xml deployed to fuse. Section of that blueprint is: ${header.CamelHttpResponseCode} ${body} 22