Re: Camel-CXF doesn't add soap:Header to Request when run inside Apache Karaf

2016-07-12 Thread Claus Ibsen
Hi Ah maybe we should add that to the camel-cxf feature. You are welcome to log a JIRA and work on a patch / PR http://camel.apache.org/contributing On Tue, Jul 12, 2016 at 1:42 PM, Oliver Koch wrote: > *Fixed it!* > > Seems to be a missing or buggy dependency in the camel-cxf feature! For more

Re: Rest DSL and "no matching path found"

2016-07-12 Thread Claus Ibsen
And btw I think you may have hit a bug in camel-undertow. You are welcome to log a JIRA so we wont forget about this. On Tue, Jul 12, 2016 at 12:03 PM, Claus Ibsen wrote: > Ah yeah you may need to use a different port than what swarm/undertow > uses. Otherwise it should be a matter of changing th

Re: Camel SFTP with Publickey

2016-07-12 Thread Sashika
Found the answer. Actually the documentation says it clearly. The understanding should be as follows 1. The SFTP server is configured for password less authentication *2. The SFTP server has the Public Key* 3. Camel route specifies the private key file location and no need to specify the passphras

Camel SFTP with Publickey

2016-07-12 Thread Sashika
Hi, The camel documentation is not clear enough on how to use public key authentication with SFTP. Can anyone have a working example on how to do this. My requirement is as follows 1. The SFTP server is configured for password less authentication 2. The SFTP server has the private key 3. Camel ro

Re: Camel 2.16.3: camel-jetty9 sendServerVersion=false doesn't work

2016-07-12 Thread Allan C.
Hi Claus, I did a bit of tweaking here and there and unfortunately can't get it to work. However, although I'd completely taken out jetty stuffs in my blueprint, when I do a post to my CXF JAXRS server, the header "Server" still is returned, with the value "Jetty(9.2.15.v20160210)". When I list t

Re: camel-sql IN query number of parameters mismatch

2016-07-12 Thread Tadayoshi Sato
Hi, Looks like the same issue was discussed in this ML a month ago :-) http://camel.465427.n5.nabble.com/camel-sql-SQL-IN-Query-issue-2-17-1-td5783264.html Isn't it the same as yours? For convenience, Claus suggested the following solution in that thread: > I wonder if its the Oracle JDBC drive

Re: Camel XML DSL route custom bean for testing Weblogic Availiability helper hangs on startup

2016-07-12 Thread souciance
Not sure if it is a good thing that it runs only with jdk 1.6. Isn't that out of support? On Tue, Jul 12, 2016 at 10:04 PM, jlidholm [via Camel] < ml-node+s465427n5785056...@n5.nabble.com> wrote: > Success! > > For any future readers stumbling upon this. > Tried other JDK and it works as a charm.

Re: Camel XML DSL route custom bean for testing Weblogic Availiability helper hangs on startup

2016-07-12 Thread jlidholm
Success! For any future readers stumbling upon this. Tried other JDK and it works as a charm. Didn't get it working using *java version "1.7.0_101" OpenJDK Runtime Environment (IcedTea 2.6.6) (7u101-2.6.6-2~deb8u1) OpenJDK 64-Bit Server VM (build 24.95-b01, mixed mode) * But it works when runnin

Re: Camel/Karaf Resource - XSLT File Not Found

2016-07-12 Thread Vince Iglehart
I figured out the problem. I was using a class that implements BundleActivator to initialize the Camel context. However, I needed to use a blueprint.xml file to setup the Camel Context. I read on another post that using Blueprint sets up additional configuration necessary for resources to be fou

camel-sql IN query number of parameters mismatch

2016-07-12 Thread juliaaano
I'm running Camel 2.17.2. I've been experiencing a problem when using IN query in a SQL statement where there is more than one parameter, besides the one declared within the IN clause. For example: .to("SELECT * FROM projects WHERE license = :#${body} AND project IN (:#in:names)") Caused by: jav

Camel/Karaf Resource for XSLT

2016-07-12 Thread Vince Iglehart
Hello, I am deploying a Camel 2.17.1 integration to Karaf 4.0.5. I run into the following error when attempting to perform a bundle:install - Caused by: org.apache.camel.ResolveEndpointFailedException: Failed to resolve endpoint: xslt://xslt/speed.xslt?saxon=true due to: java.io.FileNotFoundExc

Re: Camel XML DSL route custom bean for testing Weblogic Availiability helper hangs on startup

2016-07-12 Thread jlidholm
Ok, no luck separating the logic and using init-method. However - this is the same stack trace I get, and this also relates to my suspicion that it is somehow thread/concurrency related (as I am not sure how Camel/Spring handles these static bean references). The last part of the first answer in

Re: How to retain exchange headers through RecipientList destination

2016-07-12 Thread David Hoffer
As I look into this more, I think I see what the problem is. I haven't seen any good docs on the exchange lifecycle but from the perspective of the original RecipientList (or RoutingSlip) since it delivered the file to the destination its job is done and it's a new exchange that handles it from th

Re: Camel-CXF doesn't add soap:Header to Request when run inside Apache Karaf

2016-07-12 Thread Oliver Koch
*Fixed it!* Seems to be a missing or buggy dependency in the camel-cxf feature! For more details see Stackoverflow . I have to install /cxf-ws-addr/ manually in apache karaf. -- View this message in context: http://camel.465427.n5.nabble.com/Cam

Re: Camel XML DSL route custom bean for testing Weblogic Availiability helper hangs on startup

2016-07-12 Thread Claus Ibsen
You can also try to create the POJO up front if you say you can get that working. Then from Camel you can call this instance. Also if its in the ctr there is an issue, you can try move that logic to an init method, and have that called. If you use spring xml, you can do that init-method thingy.

Re: Rest DSL and "no matching path found"

2016-07-12 Thread Charles Moulliard
FYI: We can't use a different port number when using undertow with wildfly-swarm unfortunately On Tue, Jul 12, 2016 at 1:03 PM, Claus Ibsen wrote: > Ah yeah you may need to use a different port than what swarm/undertow > uses. Otherwise it should be a matter of changing the component name > and

Re: Rest DSL and "no matching path found"

2016-07-12 Thread Claus Ibsen
Ah yeah you may need to use a different port than what swarm/undertow uses. Otherwise it should be a matter of changing the component name and add the dependency. But then in swarm you got that fraction stuff so its maybe not so easy. You can get in touch with the wildfly-camel guys as they can h

Re: Camel XML DSL route custom bean for testing Weblogic Availiability helper hangs on startup

2016-07-12 Thread jlidholm
Ok, I'll try that. Just thought since the POJO instantiates fine when not defined as a bean in a camel route that there was a generic pitfall involved that someone might recognize. Thanks for the swift response! /Johnny -- View this message in context: http://camel.465427.n5.nabble.com/Camel-

Re: Rest DSL and "no matching path found"

2016-07-12 Thread Steve973
Thanks, Claus. I am trying this in Wildfly Swarm, so I am not sure how difficult it would be to use something like camel-netty4-http instead of undertow, but I will look into it and I will let you know if the behavior is improved. On Tue, Jul 12, 2016 at 6:20 AM, Claus Ibsen wrote: > The rest-d

Camel-CXF doesn't add soap:Header to Request when run inside Apache Karaf

2016-07-12 Thread Oliver Koch
Hi, I have some problems by calling a Webservice with camel-cxf running in Apache Karaf! I've posted my question already on Stackoverflow, so her is the link http://stackoverflow.com/questions/38308084/camel-cxf-doesnt-add-soapheader-to-request-when-run-inside-apache-karaf

Re: Camel 2.16.3: camel-jetty9 sendServerVersion=false doesn't work

2016-07-12 Thread Allan C.
Hi Claus, Thanks for your reply. Yes, I basically switched from using Fuse 6.2.1 (Karaf 2.4.0 I think) to Karaf 4.0.5, thus providing the opportunity to upgrade some of the other features such as camel, jetty and hibernate. I will try it out and let you know soon. Regards, Allan C. On Tue, Jul

Re: Rest DSL and "no matching path found"

2016-07-12 Thread Claus Ibsen
The rest-dsl is syntax sugar. Its what the underlying component you use to handle what it can support. In this case you use undertow. So in camel-undertow its creating 2 routes, where one is for GET and the other is for PUT. So ideally it should be able from undertow to route to the one that matc

Re: Camel 2.16.3: camel-jetty9 sendServerVersion=false doesn't work

2016-07-12 Thread Claus Ibsen
Hi You can also configure the sendServerVersion on the component level, you can try that If using blueprint its something like this On Tue, Jul 12, 2016 at 11:11 AM, Claus Ibsen wrote: > Hi > > Is the only thing you have upgraded is Camel? Or did you also upgrade Karaf ? > > On Mon, Jul

Re: Camel 2.16.3: camel-jetty9 sendServerVersion=false doesn't work

2016-07-12 Thread Claus Ibsen
Hi Is the only thing you have upgraded is Camel? Or did you also upgrade Karaf ? On Mon, Jul 11, 2016 at 4:31 AM, Allan C. wrote: > Hi, > > I have recently upgraded camel from 2.15.1 to 2.16.3, and from using > camel-jetty8 to camel-jetty9. In my jetty route I have > sendServerVersion=false. > >

Re: Camel XML DSL route custom bean for testing Weblogic Availiability helper hangs on startup

2016-07-12 Thread Claus Ibsen
Hi Its usually harder for us to help when using commercial products like WebLogic as its not something we can get hands on to reproduce the issue. And your problem seems more related to using WebLogic and not as much about Apache Camel. Maybe you need to ask on at Oracle WL user forum / report ti

Re: Camel TarAggregationStrategy

2016-07-12 Thread Claus Ibsen
What version of Camel are you using? And is the extension of all those temp file .temp, and what file name do they have? Have you checked the source code to see what may go on / wrong? On Tue, Jul 12, 2016 at 8:03 AM, contactreji wrote: > Hi guys > > I am using TarAggregationStrategy in my camel

Re: RSS component entries issue

2016-07-12 Thread Claus Ibsen
The component split the entries by default. See the documentation at http://camel.apache.org/rss On Mon, Jul 11, 2016 at 1:08 PM, Paul Blakeley wrote: > I am currently trying to use the camel RSS component to take feeds from > google news. I have included the route and the code below. What I am

Re: RSS component entries issue

2016-07-12 Thread pbToe
Further reading on the camel component revealed that it was the ROME library it used. I substituted the existing route code and found that when I make the call(See below) in the bean I actually get 10 entries and not 1, like before! Is it me driving the camel component incorrectly, is there a bug

Re: Rest DSL and "no matching path found"

2016-07-12 Thread Steve973
The error (if it is truly an error and not some mistake or misconfiguration on my part) seems to happen when the same verb with the same path is used in the Camel DSL. The last verb specified in the chain seems to override the verb before it. For instance, if I change the line to have the "put" b

Camel TarAggregationStrategy

2016-07-12 Thread contactreji
Hi guys I am using TarAggregationStrategy in my camel application. I am using this component to aggregate few jpg images which are coming in every second. I tried to run this on the test servers and found that after a point, the server crashes. On inspection I found that the disk got full as this