Re: No language could be found for: js

2012-07-20 Thread Claus Ibsen
Hi What JDK, OS are you using? And what container do you use, tomcat, jetty, jboss, karaf, servicemix etc? Or in other words a bit more about your runtime environment. On Fri, Jul 20, 2012 at 6:49 PM, RobertO wrote: > I'm trying to use javascript in my routes but keep getting the "No language

Re: Forced "termination" of the current exchange and returning appropriate response code

2012-07-20 Thread helander
Hi Claus, thanks for the suggestions. This will help a lot. /Lars -- View this message in context: http://camel.465427.n5.nabble.com/Forced-termination-of-the-current-exchange-and-returning-appropriate-response-code-tp5716235p5716306.html Sent from the Camel - Users mailing list archive at Na

Re: Camel ActiveMQ consumers do not consume after restart

2012-07-20 Thread Christian Müller
Which version of Camel and ActiveMQ do you use? Which MEP do you use? Best, Christian Sent from a mobile device Am 20.07.2012 16:26 schrieb "Marco Zapletal" : > Hi folks, > > We have an application where we have two Camel contexts (C1, C2) which > exchange messages via two queues (Q1, Q2). These

Re: Custom component query

2012-07-20 Thread Doug Douglass
Camel Proxy[1] describes several ways of wiring things up (and links to others) depending our your needs. [1] http://camel.apache.org/using-camelproxy.html On Fri, Jul 20, 2012 at 4:09 PM, gilboy wrote: > Hi > > I need to create an event driven custom component. > > The sender which invokes the

Custom component query

2012-07-20 Thread gilboy
Hi I need to create an event driven custom component. The sender which invokes the event driven consumer is a spring managed bean. My custom component consumer is not spring managed as this is obviously created from my endpoint which acts as a factory for my producers and consumers. Hence, I a

Re: cxfEndpoints and different transports (http, https) using PAX Web

2012-07-20 Thread Scott England-Sullivan
Lars, I created an example project that can be reviewed here: https://github.com/sully6768/camel-sandbox/tree/trunk/examples. It uses the latest Fuse ESB 4.4.1 if you want to try it out. There is a small write up under the proxy project. Both projects are required though if you want to actually

Re: How to invoke CXF webservice from processor bean

2012-07-20 Thread jeyaseelan78
Hi, I hope you are asking for the wsdl, here is my wsdl... http://schemas.xmlsoap.org/soap/http"; xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"; xmlns:tns="http://pas.adapter.service.xyz.abc.XX/"; xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"; xmlns:xsd="http://www.w3.org/2001

No language could be found for: js

2012-07-20 Thread RobertO
I'm trying to use javascript in my routes but keep getting the "No language could be found for: js" error in my unit tests when I load the camelcontext via spring. I've found other references to this error on the mailing list but have so far been unable to resolve this. Camel v2.9.2 I've added t

Re: Converting CSV to XML

2012-07-20 Thread ambarish.d
Hello Claus, Thanks for the help. Bindy was really helpful. I am still using xstream though, its lot more easier (I feel). Giving the working solution of this problem if anybody needs one. /DataFormat bindy = new BindyCsvDataFormat("com.your.package.dto"); from("file:/

Re: NPE in CamelNamespaceHandler with JDK7

2012-07-20 Thread Willem Jiang
I'll take a look at this issue next week. On Fri Jul 20 15:50:16 2012, hschoeneberg wrote: Yes, of course - done! Kind regards, Hendrik Schöneberg -- View this message in context: http://camel.465427.n5.nabble.com/NPE-in-CamelNamespaceHandler-with-JDK7-tp5716241p5716284.html Sent from the C

Camel ActiveMQ consumers do not consume after restart

2012-07-20 Thread Marco Zapletal
Hi folks, We have an application where we have two Camel contexts (C1, C2) which exchange messages via two queues (Q1, Q2). These queues are located on the same ActiveMQ broker. Thereby, the message flow goes as follows: C1 -> Q1 -> C2 C2 -> Q2 -> C1 C2 uses furthermore some "internal" queue

Re: Forced "termination" of the current exchange and returning appropriate response code

2012-07-20 Thread Claus Ibsen
Hi You can do a content based router, and if the certificate is invalid, then return a response. http://camel.apache.org/content-based-router.html There is also a stop EIP to stop further processing. You can put that on the exchange as a property from java code, eg so you can just use a bean to c

Re: Multiple JPA Consumers

2012-07-20 Thread MSE
hi, i am new in camel and i have a problem to create a mutli processing JPA route on a table: my configuration is seems to be correct but no multiprocessing occur on my bean AcquisitionMvibsComponent ... any suggestion would be appreciate here is my configuration

Re: testing pollEnrich via mock

2012-07-20 Thread Claus Ibsen
Hi See advice with where you can replace the uri of pollEnrich in the unit test http://camel.apache.org/advicewith.html Or you can use property placeholders for the uris, and then use a different .properties file for unit testing http://camel.apache.org/using-propertyplaceholder.html On Thu, Jul

Re: Question on Camel WireTap EIP custom thread pool creation

2012-07-20 Thread Claus Ibsen
On Thu, Jul 19, 2012 at 6:05 PM, Edwin wrote: > Thanks for your response Claus, I have removed the threads() however I still > get the same behavior. > > I am using Camel version 2.9.2 > Can you try with 2.10, I think there was a bug in wire tap custom thread pool, but it may only be when using X

Re: setting http soTimeout via setHeader() is not working

2012-07-20 Thread Claus Ibsen
On Thu, Jul 19, 2012 at 5:25 PM, khuss wrote: > Just to clarify more: We need to build the URI based on a parameter that is > passed in the request. This means we need to access the Exchange object to > get the request parameter and append that to the URI. > > I do not see how we can do this witho

Re: soap over jms

2012-07-20 Thread Christian Schneider
I think your problem is related to IBM MQ. Can you try to run the exmple with activemq first? Maybe you need to use a fixed reply queue with the IBM broker. Christian Am 20.07.2012 07:15, schrieb bhushand: Hello Willem As I am trying to run example shared by Christian, all configu

Re: camel+quartz schedulers

2012-07-20 Thread Sudhakar.kaithepalli
SimpleTrigger means, my camel route like this... from("quartz://schedulerJob?trigger.repeatInterval=6&trigger.repeatCount="+SimpleTrigger.REPEAT_INDEFINITELY).to("some bean method" ).end() This is wht my camel route using quartz scheduler - Sudhakar Kaithepalli -- View this message i

Re: camel+quartz schedulers

2012-07-20 Thread Sudhakar.kaithepalli
Hi Thanks for your quick response... and 1.) can u tell me how to stop camel route after it hit the FTP server. one more thing is 2.) how can i find out the size of files in FTP server? Thanks and regards.. - Sudhakar Kaithepalli -- View this message in cont

Re: Question on Camel WireTap EIP custom thread pool creation

2012-07-20 Thread Edwin
Thanks for your response Claus, I have removed the threads() however I still get the same behavior. I am using Camel version 2.9.2 Thanks, Edwin -- View this message in context: http://camel.465427.n5.nabble.com/Question-on-Camel-WireTap-EIP-custom-thread-pool-creation-tp5716239p5716259.html Se

Re: setting http soTimeout via setHeader() is not working

2012-07-20 Thread khuss
Just to clarify more: We need to build the URI based on a parameter that is passed in the request. This means we need to access the Exchange object to get the request parameter and append that to the URI. I do not see how we can do this without using the setHeader() method. Unfortunately, the tim

Re: setting http soTimeout via setHeader() is not working

2012-07-20 Thread khuss
Thanks for the pointer. However, this doesn't help. The way the code is structured, we have another class called RequestProcessor to frame the request and dynamically change the URI using setHeader(). -- View this message in context: http://camel.465427.n5.nabble.com/setting-http-soTimeout-via-s

Re: camel+quartz schedulers

2012-07-20 Thread Sudhakar.kaithepalli
can you tell me how to stop camel routes please. Its urgent to me. - Sudhakar Kaithepalli -- View this message in context: http://camel.465427.n5.nabble.com/camel-quartz-schedulers-tp5715992p5716245.html Sent from the Camel - Users mailing list archive at Nabble.com.