Re: bean with method parameters in camel

2013-05-31 Thread Claus Ibsen
You cannot do this. On Thu, May 30, 2013 at 11:48 AM, Tarun Kumar wrote: > If i try .bean(className, methodName('a', 'b')) : it calls method > methodName of class className with method parameters 'a' and 'b'. However, > if i want value of method variables to come from class variables, how can i >

Re: Using ActiveMQ with Camel

2013-05-31 Thread Claus Ibsen
Hi Yes you can embed and use AMQ in the same JVM as your Camel application. There is a vm transport in ActiveMQ for communication in the JVM. See for example this example http://camel.apache.org/activemq-camel-tomcat.html On Wed, May 29, 2013 at 3:04 PM, VineetKK wrote: > Hello,I am using Ca

Re: Camel Component Integrating with R Code Statistics Environment

2013-05-31 Thread Claus Ibsen
Hi Christoph Great work so far. Keep it up. Yeah Apache loves contributions. So I suggest to keep hacking on your component. And when its ready, you can donate it to Apache or camel-extra, depending on licensing compliance etc. There is a little guide here about building new components http://ca

Re: Camel Weblogic 12c

2013-05-31 Thread Preben.Asmussen
Hi Jose Seems that Oracle has a distribution of the override ready in wls see http://docs.oracle.com/cd/E24329_01/web.1211/e24964/data_types.htm#CIHBHDGI I guess you can add this jar to your war file and set wls to load your classes and libs first. true I'm not on wls 12c now -

Camel 2.9.2 - Error parsing custom CXF response - org.apache.cxf.interceptor.Fault: Unexpected element {http://....CcdaXdrService}ccdaResponse found. Expected {http://camel.apache.org/cxf/jaxws/disp

2013-05-31 Thread Monga, Sunita (GE Healthcare)
Let me know if you would like change/add something that will attract responses. Hello all, I am using Camel 2.9.2 & CXF 2.6.2 versions and trying to send a MTOM attachment to a webservice using CXF endpoint. Deploying as a war on Tomcat 7.0.40 I followed sample code for Payload mode

Re: No component found with scheme: XY

2013-05-31 Thread Smith-John
Raul Kripalani wrote > Hi, > > I've seen this before too, but I never had the time to drill into it. > > It generally works fine, but in 1 out of 50 cases, most of my bundles fail > to start claiming that X component was not found. Route start levels are > higher than camel-core and component bun

RE: Camel Error - even when everything seems to be working fine, but log shows errors

2013-05-31 Thread Vegi, Vamsi (MAN-Corporate-CON)
Its 2.11.0 Here is the email I sent later, with the cause and how I fixed it. = I found the cause, but it's so surprising, may be someone give some explanation or may be it's a bug I have a route like //REJECT block fro

Re: Camel Error - even when everything seems to be working fine, but log shows errors

2013-05-31 Thread Christian Müller
Will have a look at it. Which version of Camel do you use? Best, Christian Sent from a mobile device Am 31.05.2013 06:43 schrieb "Vegi, Vamsi (MAN-Corporate-CON)" < vamsi.v...@manheim.com>: > Hello > > The routes are doing their job and the msg sits in the reject q, > However the logs show the f

File 'markerFile' strategy race condition

2013-05-31 Thread vss123
Hi,We use camel 2.11 version on Linux.We run two instances of camel which watch on the a directory to pick, process and move files to processed directory on successful completion. On error it gets moved to error directory. We use 'markerFile' as a strategy for read lock.What we observe is that som

Re: regarding status code 302

2013-05-31 Thread Claus Ibsen
You can try with adding this option httpClient.followRedirects=true to the http endpoint uri Then it could possible do the redirect handling itself. But you can google the internet about http client 3.x and how to deal with redirects. On Fri, May 31, 2013 at 12:33 PM, indrayani wrote: > Hi, > t

Re: [Best Practise Question] Seda + WireTap + Exchange ID : How to keep it all together?!

2013-05-31 Thread Claus Ibsen
Hi When you use wire tap then the tapped exchange has its own unique exchange id. But the wire tap will store the exchange id from its parent as a "correlated exchange id". You can get this id using java code: String corId = exchange.getProperty(Exchange.CORRELATION_ID, String.class); An alter

Re: regarding status code 302

2013-05-31 Thread indrayani
Hi, thank you so much for the quick reply. after adding throwExceptionOnFailure=false , I am not getting any exception now. but the url that i have mentioned in To, i think that is not getting the request. also, in the reply you have mentioned : " your client should then call again with the re

Re: regarding status code 302

2013-05-31 Thread Claus Ibsen
Hi See this page http://camel.apache.org/how-to-use-camel-as-a-http-proxy-between-a-client-and-server.html You need to set throwExceptionOnFailure=false And error code 3xx is redirect error codes. So your client should then call again with the redirected url. The redirect url should be returned

regarding status code 302

2013-05-31 Thread indrayani
Hi All, I have defined a following route in my camel config xml http://localhost:8085/testagent?bridgeEndpoint=true"; /> I am sending a request through following code from a web application : String servletURL ="http://localhost:8085/camel-example-servlet-tomcat-no-spring-2.11.0/

Re: Camel Weblogic 12c

2013-05-31 Thread Jose
Hi Christian, I am using Java 7 update 17. Thank you. -- View this message in context: http://camel.465427.n5.nabble.com/Camel-Weblogic-12c-tp5733473p5733543.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: Camel Spring 2.11 + JDK 1.7_u17

2013-05-31 Thread Jose
Hi David, Thank you for your reply. I am using jaxb-impl 2.2.6, which I think is the latest version. How can I update my jdk patch level? Regards, Jose -- View this message in context: http://camel.465427.n5.nabble.com/Camel-Spring-2-11-JDK-1-7-u17-tp5733517p5733542.html Sent from the Camel

Re: Camel Spring 2.11 + JDK 1.7_u17

2013-05-31 Thread David Karlsen
Do you have an old jaxb-impl in your application? You could also update your jdk patch level. Den 31. mai 2013 08:37 skrev "Jose" følgende: > Hi, > > I am using camel-spring with JKD 1.7.0_17 and I am getting a > NullPointerException when the applicationContext is parsed. This is the > trace: > >