Re: [2.9.5] body=null after onException(_).handled(false)

2013-02-06 Thread Alex Anderson
On 5 February 2013 18:39, Henryk Konsek wrote: > Hi Alex, > >> When myBean.slip() throws SpecificException, If I print in.body in >> handleSpecificException(), I can see that it is not null. >> >> If I print it again in handleFailed() it is now null. > > Actually I can't reproduce this problem nei

Re: [2.9.5] body=null after onException(_).handled(false)

2013-02-06 Thread Alex Anderson
Henryk, Sorry for the confusion - my error handler is written in Groovy, and the definition of the exception handler is as follows: // N.B. This method implicitly returns null def exception(Exchange exchange) { System.out.println("Exception: " + exchange.getIn()); } In Java this is eff

Re: Exception in restful web service

2013-02-06 Thread Sergey Beryozkin
On 06/02/13 05:12, Richa wrote: Hi, I have a restful webservice that I am invoking using camel-cxf. I want to call a particular function on the server. I can call the server but I am getting the following exception while processing: org.apache.cxf.jaxrs.client.ClientWebApplicationException: .No

Re: Configuring SSL for CXF-RS consumers in Camel

2013-02-06 Thread Sergey Beryozkin
On 05/02/13 22:19, Martin Stiborský wrote: Hello guys, just a quick question, because, I'm a little bit lost… What is the preffered way to configure SSL for REST interface in Camel project? I'm using CXF-RS and so far, sending requests via http was good enough, but now it gets more serious and I

Re: Error handling - Want to send emails on errors

2013-02-06 Thread Henryk Konsek
Hi Manglu, > As part of this i want to send emails to admin with the error information. Have you considered sending error messages to the SEDA queue and reading them asynchronously afterwards? errorHandler(deadLetterChannel("seda:errors")); from("seda:errors").to(some slow and unreliable notific

Re: using Camel behind proxy

2013-02-06 Thread Willem jiang
camel-twitter is leveraging the twitter4j. Here the instruction of setting the proxy from twitter4j FAQ[1]. You can either to use system properties(-Dtwitter4j.http.proxyHost, -Dtwitter4j.http.proxyPort) or twitter4j.properties. http.proxyHost=your.proxy.host http.proxyPort=8080 twitter4j.prop

[Camel-Json] Json unmarshalling have some problem with different object on the same context

2013-02-06 Thread Tcharl
Hi, I've some problem unmarshalling different objects in multiple routes with camel-json (same camelContext). Example: from("direct:jsonToUser") .unmarshal() .json(JsonLibrary.Jackson, MUser.class) and: from("direct:jsonToPlayer")

Re: Camel JPA - Parameterized Queries?

2013-02-06 Thread Babak Vahdat
Hi In case of a Bean method that comes out-of-the-box through the Camel Parameter binding: http://camel.apache.org/bean-binding.html#BeanBinding-Parameterbinding And in case of a Camel Processor: theExchangeParameterOfTheProcessMethod.getContext(); Babak -- View this message in context:

Re: XML Validation fails with 2.10.3. Used to work in 2.9.2

2013-02-06 Thread vishal1981
Well I had an xerces jar coming from openejb. If I removed that it works. This was on 2.10.3. What I dont understand is why would the the jre try and use a parser in an external jar when it has the same one available as part of the java library. Havent tried with 2.10.2 and that jar in the classpat

Re: Transforming large mainframe file

2013-02-06 Thread Christian Müller
Also check out my comment in this block post... Sent from a mobile device Am 06.02.2013 01:53 schrieb "Gvvenkat" : > Thanks a lot. It helped lot. I found a help on how to improve the speed > also. > http://www.catify.com/2012/07/09/parsing-large-files-with-apache-camel/ > > But, I am unable to co

Re: sftp - NoSuchMethodError ...SftpConsumer.isValidFile

2013-02-06 Thread Christian Müller
Can you try Camel 2.10.2 and/or 2.10.4-SNAPSHOT? 2.10.3 has a known issue... Sent from a mobile device Am 06.02.2013 01:54 schrieb "guillermo.flores" < guillermo.flo...@mx.unisys.com>: > Hi, i'm testing the SFTP/FTP over multiple operting systems, when I test it > on a Linux RH 5.0 i'm getting an

Re: Quickfix component as initiator - How do I insert user and password to logon

2013-02-06 Thread vcheruvu
Hi, We have used login in our application. Example listed below using JAVA DSL. You will have to create another route that consumes Admin messages from quickfix engine and set credential injector. After that you can use "to("quickfix:receptor.cfg")" in any route to publish your fix message

Re: Quickfix component as initiator - How do I insert user and password to logon

2013-02-06 Thread Christian Müller
I think if you use QuickFix without Camel, the solution is described here [1]. At present, Camel doesn't support it. Feel free to log a JIRA [2] so we don't forget it. And if you can provide a unit test and fix for that, this would be great. We love contributions [3]. [1] http://quickfix-j.364392

Re: Quickfix component as initiator - How do I insert user and password to logon

2013-02-06 Thread Christian Müller
Thanks for sharing! I'm wondering whether it should be done in a much simpler way. Setting a user and password on the quickfix endpoint or so... Best, Christian On Wed, Feb 6, 2013 at 11:00 PM, vcheruvu wrote: > Hi, > > We have used login in our application. Example listed below using JAVA DSL.

Re: Error handling - Want to send emails on errors

2013-02-06 Thread manglu
Hi Henryk, Thanks. Good idea. I will explore this path. Cheers Manglu -- View this message in context: http://camel.465427.n5.nabble.com/Error-handling-Want-to-send-emails-on-errors-tp5727021p5727061.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: XML Validation fails with 2.10.3. Used to work in 2.9.2

2013-02-06 Thread Willem jiang
I'm not sure if the openejb did some work to load the xerces jar it ships. -- Willem Jiang Red Hat, Inc. FuseSource is now part of Red Hat Web: http://www.fusesource.com | http://www.redhat.com Blog: http://willemjiang.blogspot.com (http://willemjiang.blogspot.com/) (English) http

File transfer using ftp failed

2013-02-06 Thread AMARNATH, Balachandar
Hi, Can someone in the list give me a clue on this issue below to fix ? With thanks and regards Balachandar -Original Message- From: AMARNATH, Balachandar [mailto:balachandar.amarn...@airbus.com] Sent: 05 February 2013 14:09 To: users@camel.apache.org Subject: RE: File transfer using f

Re: File transfer using ftp failed

2013-02-06 Thread Christian Müller
Can you try 2.10.2 or 2.10.4-SNAPSHOT? 2.10.3 has known issue. Sent from a mobile device Am 07.02.2013 05:09 schrieb "AMARNATH, Balachandar" < balachandar.amarn...@airbus.com>: > Hi, > > Can someone in the list give me a clue on this issue below to fix ? > > > With thanks and regards > Balachanda

How to consume axis web service with user authentication in camel route

2013-02-06 Thread sarfaraj
We have axis web service with user authentication. Could some one tell me how to consume that web service in camel route ? and How to authenticate using camel route ? Any example would greatly help me. /Sarfaraj -- View this message in context: http://camel.465427.n5.nabble.com/How-to-consum