[camle-http4] Posting data to IIS give me a 400 The request is badly formed.

2016-04-20 Thread Charlee Chitsuk
Hi, I'm using the Apache Camel 2.17.0, the "camel-jetty" and "camel-http4" as a proxy[1] to post a data to the dot NET / IIS7.0, It gives me a "HTTP Status 400 The request is badly formed". After investigating by enabling the trace for "http-client", I've found that the "camel-http4" put the requ

Re: [CAMEL-JETTY] How to manage filter-mapping?

2016-03-28 Thread Charlee Chitsuk
point like this > from(“jetty:http://0.0.0.0:8080/myweb/foo” + ...) > > -- > Willem Jiang > > > Blog: http://willemjiang.blogspot.com (English) > http://jnn.iteye.com (Chinese) > Twitter: willemjiang > Weibo: 姜宁willem > > > > On March 28, 2016 at 9:39:55 AM, Cha

[CAMEL-JETTY] How to manage filter-mapping?

2016-03-27 Thread Charlee Chitsuk
Hi, I'm trying to put the "servlet-filter" to the "camel-jetty" (version 2.17.0). At the moment I config the route as the following: - from("jetty:http://0.0.0.0:8080/myweb"; + "?matchOnUriPrefix=true&" + "filtersRef=my-filter&" + "filterInit.key1=value1") Everything work gr

Re: [CAMEL-CDI] What's is the CDI scope for the RouteBuilder?

2016-03-24 Thread Charlee Chitsuk
use dynamic URIs instead. > > http://camel.apache.org/how-do-i-use-dynamic-uri-in-to.html > > John > > On Thu, Mar 24, 2016 at 9:26 PM Charlee Chitsuk > wrote: > > > Hi Antonin and John, > > > > As you have mentioned, both of RouteBuilder readability a

Re: [CAMEL-CDI] What's is the CDI scope for the RouteBuilder?

2016-03-24 Thread Charlee Chitsuk
2016-03-24 19:59 GMT+07:00 Antonin Stefanutti : > > > On 24 Mar 2016, at 12:47, Charlee Chitsuk wrote: > > > > My project is based on CDI and Camel-CDI. I've tried to reduce the some > of > > "similar" RouteBuilder concrete classes by making it to r

Re: [CAMEL-CDI] What's is the CDI scope for the RouteBuilder?

2016-03-24 Thread Charlee Chitsuk
My project is based on CDI and Camel-CDI. I've tried to reduce the some of "similar" RouteBuilder concrete classes by making it to receive the different parameter, e.g source and destination. I'm not sure if registering manually is a suitable way or not. -- Best Regards,

Re: [CAMEL-CDI] What's is the CDI scope for the RouteBuilder?

2016-03-24 Thread Charlee Chitsuk
w, then it needs to be @ApplicationScoped. > > I’ll mention that to the documentation if that answers your question. > > Antonin > > > On 24 Mar 2016, at 06:49, Charlee Chitsuk wrote: > > > > Hi, > > > > Regarding to the Camel CDI [1] which mentions t

[CAMEL-CDI] What's is the CDI scope for the RouteBuilder?

2016-03-23 Thread Charlee Chitsuk
Hi, Regarding to the Camel CDI [1] which mentions that it provides the Auto-detecting Camel routes. I would like to know what the CDI scope of that RouteBuilder is. Is it @ApplicationScoped? [1] http://camel.apache.org/cdi.html -- Best Regards, Charlee Ch.

Re: [camel-jcr] The trouble about the JCR multi-valued property when using JCR_GET_BY_ID

2014-09-28 Thread Charlee Chitsuk
the best place. > > On Sun, Sep 28, 2014 at 2:32 PM, Charlee Chitsuk > wrote: > >Hi Claus, > > > > Thank you very much for your reply. I've forked the Apache Camel > from > > GitHub and started to remove this limitation. Anyhow I would like your > he

Re: [camel-jcr] The trouble about the JCR multi-valued property when using JCR_GET_BY_ID

2014-09-28 Thread Charlee Chitsuk
t; code, and provide a patch or PR > http://camel.apache.org/contributing.html > > On Fri, Sep 26, 2014 at 5:51 AM, Charlee Chitsuk > wrote: > > Hi, > > > > I'm using the Apache Camle version 2.14.0 and have found some > trouble > > about the camel-j

Re: [camel-jcr] The trouble about the JCR multi-valued property when using JCR_GET_BY_ID

2014-09-25 Thread Charlee Chitsuk
Hi, Here is a StackOverflow question [1]. Best Regards, Charlee Ch. [1] http://stackoverflow.com/questions/26051930/the-trouble-about-the-jcr-multi-valued-property-when-using-jcr-get-by-id -- 2014-09-26 10:51 GMT+07:00 Charlee Chitsuk : > Hi, > > I'm using the Apache

[camel-jcr] The trouble about the JCR multi-valued property when using JCR_GET_BY_ID

2014-09-25 Thread Charlee Chitsuk
Hi, I'm using the Apache Camle version 2.14.0 and have found some trouble about the camel-jcr with JCR_GET_BY_ID when the node contains multi-valued property as [1]. I also have a chance to investigate to the camel-jcr source code, the org.apache.camel.component.jcr.JcrProducer, and f