Re: Rest DSL and "no matching path found"

2016-07-11 Thread Charles Moulliard
Hi Steve, I suggest that first, you verify the endpoint registered by Camel when the routes have been started, curl it and that you perform the same test using Jetty component. According to the REST Defintion, you try to reach the URL http://localhost:8181/timesheet/123 where 123 is a timesheetI

Rest DSL and "no matching path found"

2016-07-11 Thread Steve973
I have my rest dsl route like this: restConfiguration().component("undertow").host("localhost").port("8181"); rest("/timesheet") .get("/{timesheetId}").produces(MediaType.TEXT_PLAIN) .to("bean:timesheetService?method=getTimesheetById") .put("/{timesheetId}").produces(MediaT

Re: How to retain exchange headers through RoutingSlip

2016-07-11 Thread David Hoffer
I'm back now trying to find a solution to this problem. First I changed the RoutingSlip to be a RecipientList, not sure that is significant but wanted to mention it. Let me try to better explain what this application does. We use Camel to route/transfer files from one location to a dynamic list

Re: Best REST (JSON) component to use

2016-07-11 Thread M.Ismail
Hi Carman, Yes I do CBR and filtering in the code. I really need to ride the camel Regards, Ismail -- View this message in context: http://camel.465427.n5.nabble.com/Best-REST-JSON-component-to-use-tp5785017p5785021.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: Best REST (JSON) component to use

2016-07-11 Thread souciance
Hi, I haved the rest dsl and restlet and I guess it depends on what you want to do and how much control you want. I found it easier to work with Restlet so it gave you the impression you had more control over the behavior whereas the rest dsl was great of a quick setup if you don't need a lot of

Re: Best REST (JSON) component to use

2016-07-11 Thread Matt Sicker
However, if you rely on heavy use of routing, then the REST DSL in Camel is pretty decent. https://camel.apache.org/rest-dsl.html On 11 July 2016 at 13:18, James Carman wrote: > Do you really need Camel? Are you needing to do any "routing" or > anything? Or, are you just looking to create a R

Re: Best REST (JSON) component to use

2016-07-11 Thread James Carman
Do you really need Camel? Are you needing to do any "routing" or anything? Or, are you just looking to create a REST web service? If you don't need Camel, CXF is pretty simple to use for just building JAX-RS web services by itself. A lot of folks get caught up in trying to use Camel for *everyt

Best REST (JSON) component to use

2016-07-11 Thread M.Ismail
Hi, I have been using CXFRS component for a while and I have noticed that it has several pending issues including the single item array which is related to the jettison provider that is used by default http://cxf.apache.org/docs/jax-rs-data-bindings.html#JAX-RSDataBindings-DealingwithJettisonarra

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

2016-07-11 Thread jlidholm
Hi, I'm trying to use a custom POJO configured as a bean in a Camel XML DSL route. This POJO in its constructor tries to call two static methods in the Oracle Weblogic Availability Helper class. But this call never returns, whether I'm stepping in debug or just running it. The calls to the helper

Cxf component doesn't propagate SOAP faults

2016-07-11 Thread Alberto
Hello, I'using cxf component as producer to access a SOAP service. In case of soap faults I need to access the reason of the fault. I'm using PAYLOAD dataformat. I tried several options butĀ SoapFault.class is never fired. I can find it in the ip packets using wireshark. The only exception fired

Jetty component + SSL client authentification

2016-07-11 Thread george.david
Hi, I use Apache Camel 2.17.1 and I have some problems in setting up the SSL client authentication on Jetty component (http://camel.apache.org/jetty.html). The first part with the server SSL runs smoothly (setting up the server keystore and access an HTTPS endpoint from the browser). Now I try to e

RSS component entries issue

2016-07-11 Thread Paul Blakeley
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 finding is that I only only get one entry for the google news feed! When I check the raw rss xml I can see that there are multiple entries. Also, I have c

[ANNOUNCEMENT] Apache Camel 2.17.2 Released

2016-07-11 Thread Gregor Zurowski
The Camel community announces the immediate availability of the new patch release Camel 2.17.2. This release contains 58 bug fixes and improvements applied in the past months by the community on the Camel 2.17.x branch. The artifacts are published and ready for you to download [1] either from the