camel-rest component not compatible with REST-DSL

2016-02-01 Thread sogabe
Hi, I'm testing camel-rest with the folowing spring xml. // <--- (1) it can't work correctly with Accept header. $ curl -H 'Accept:application/json' http://lo

Re: camel-rest component not compatible with REST-DSL

2016-02-01 Thread sogabe
Hi, Thanks, I'll use rest-dsl. >You should use the rest-dsl which provides the rest functionality > with {} and get/post and so on. >The rest is not really intended to be used in regular routes, the > rest-dsl is the syntax sugar on top that uses the rest component under > the covers. -- Vi

Invalid "Content-Type" Header is configured

2016-02-04 Thread sogabe
lication/xml breadcrumbId: ID-lily-50699-1454646457713-0-8 User-Agent: curl/7.41.0 Transfer-Encoding: chunked Server: Jetty(9.3.5.v20151012) 300 Camel {code} I can get a response as XML, but Content-Type of response (1) is "application/json&q

Unexpected behaviour of splitter using stopOnException

2014-12-13 Thread Seiji Sogabe
ption occurred*. If disable, then Camel continue splitting and process the sub-messages regardless if one of them failed. " But, it stops processing the sub-messages even if no exception occurred. Is this a bug or not? Regards, Seiji Sogabe [1] http://camel.apache.org/splitter.html -- s

Re: Unexpected behaviour of splitter using stopOnException

2014-12-14 Thread Seiji Sogabe
://bookDataSet] [INFO] 1 does not throw an exception, but it acts like an exception is thrown. 2014-12-14 17:46 GMT+09:00 Taariq Levack : > Hi Seiji > Try without the > > Taariq > > >> On 14 Dec 2014, at 07:27, Seiji Sogabe wrote: >> >> H