Re: Support for CXF dispatch api in the latest release of camel

2014-11-11 Thread Willem Jiang
]http://camel.apache.org/processor.html -- Willem Jiang Red Hat, Inc. Web: http://www.redhat.com Blog: http://willemjiang.blogspot.com (English) http://jnn.iteye.com (Chinese) Twitter: willemjiang Weibo: 姜宁willem On November 11, 2014 at 5:41:52 PM, santoshdas1984 (santoshdas1...@gmail.com

Re: xmlsecurity endpoint output not lasting!?!?!?

2014-11-11 Thread Willem Jiang
Hi  Which version of Camel are you using? I cannot reproduce the error with Apache Camel master branch (Camel 2.15-SNAPSHOT). Regards, -- Willem Jiang Red Hat, Inc. Web: http://www.redhat.com Blog: http://willemjiang.blogspot.com (English) http://jnn.iteye.com (Chinese) Twitter: willemjiang

Re: Rest DSL - how to configure SSL/Basic Auth for jetty component?

2014-11-11 Thread Willem Jiang
It’s a bug of camel-jetty which introduce the security handler to the server more than once. I just create a JIRA[1] for it and will commit a quick fix for it shortly. [1]https://issues.apache.org/jira/browse/CAMEL-8036 -- Willem Jiang Red Hat, Inc. Web: http://www.redhat.com Blog: http

Re: Support for CXF dispatch api in the latest release of camel

2014-11-11 Thread Willem Jiang
to send the request in camel-cxf model. [1]http://camel.465427.n5.nabble.com/Preferring-bean-or-processor-invocations-on-a-route-td5756652.html -- Willem Jiang Red Hat, Inc. Web: http://www.redhat.com Blog: http://willemjiang.blogspot.com (English) http://jnn.iteye.com (Chinese) Twitter: willemjiang

Re: How to configure proxy settings for cxf endpoint used in recipientList

2014-11-11 Thread Willem Jiang
-including-ssl-support.html#ClientHTTPTransport(includingSSLsupport)-UsingWSDL -- Willem Jiang Red Hat, Inc. Web: http://www.redhat.com Blog: http://willemjiang.blogspot.com (English) http://jnn.iteye.com (Chinese) Twitter: willemjiang Weibo: 姜宁willem On November 12, 2014 at 1:58:04 PM

Re: Camel Template solution for JSON

2014-11-10 Thread Willem Jiang
+1 for adding this new component. I just have a quick look at the JOLT[1] license, it uses ASLv2, which means we can use it within Apache Camel without any issue. [1]https://github.com/bazaarvoice/jolt -- Willem Jiang Red Hat, Inc. Web: http://www.redhat.com Blog: http

Re: Twitter + Aggregation: Out of Memory errors

2014-11-06 Thread Willem Jiang
We just added the multiPartUpload option in camel-aws-s3 component, it can some memory consumption. Please check out the latest Camel 2.15-SNAPSHOT for verification. -- Willem Jiang Red Hat, Inc. Web: http://www.redhat.com Blog: http://willemjiang.blogspot.com (English) http://jnn.iteye.com

Re: Camel 2.15-SNAPSHOT dependency missing sources in repo

2014-11-05 Thread Willem Jiang
I just kicked the CI build of Camel trunk, the deployment[1] is OK now. [1]https://builds.apache.org/job/Camel.trunk.notest/2212/ -- Willem Jiang Red Hat, Inc. Web: http://www.redhat.com Blog: http://willemjiang.blogspot.com (English) http://jnn.iteye.com (Chinese) Twitter: willemjiang

Re: Camel Mina or Netty to read NMEA 0183 buffer

2014-11-05 Thread Willem Jiang
Can you share the camel route with us? I didn’t find anything wrong by going through the log you pasted. -- Willem Jiang Red Hat, Inc. Web: http://www.redhat.com Blog: http://willemjiang.blogspot.com (English) http://jnn.iteye.com (Chinese) Twitter: willemjiang Weibo: 姜宁willem On November

Re: Camel 2.15-SNAPSHOT dependency missing sources in repo

2014-11-05 Thread Willem Jiang
It looks the Jenkins deploy the projects twice.  I just did some change on the Camel.trunk.notest job of the Jenkins, now I just kicked another build, to see if the change works.   -- Willem Jiang Red Hat, Inc. Web: http://www.redhat.com Blog: http://willemjiang.blogspot.com (English) http

Re: EIP Icons for Cacoo

2014-11-04 Thread Willem Jiang
Thanks for sharing it with us :) -- Willem Jiang Red Hat, Inc. Web: http://www.redhat.com Blog: http://willemjiang.blogspot.com (English) http://jnn.iteye.com (Chinese) Twitter: willemjiang Weibo: 姜宁willem On November 4, 2014 at 7:18:10 PM, sothach (phillips@gmail.com) wrote

Re: There is a problem with the dataFormat MESSAGE and an XSLT transformation?

2014-11-04 Thread Willem Jiang
Hi, You cannot turn a MESSAGE data format message into a PAYLOAD as the first one is a stream which has the SOAP Envelop and last one doesn’t has any SOAP Envelop. Regards, -- Willem Jiang Red Hat, Inc. Web: http://www.redhat.com Blog: http://willemjiang.blogspot.com (English) http

Re: Configuring a servlet with camel-jetty

2014-10-30 Thread Willem Jiang
Can you explain why you need a setup a servlet for the camel-jetty component? As camel-jetty setup the ServletContextHandler by itself, it doesn’t support you to do it that way. -- Willem Jiang Red Hat, Inc. Web: http://www.redhat.com Blog: http://willemjiang.blogspot.com (English) http

Re: Adding jaas authentication to a cxf endpoint in karaf

2014-10-30 Thread Willem Jiang
the pax web instead the Jetty engine which is embedded to CXF endpoint to publish the service. You just need to change the address to “http://localhost:9000/externalWarehouse” and update the httpj:engine port=“9000” , then your jetty configuration should work now. -- Willem Jiang Red Hat

Re: Bundle using camel-spring-ws failes to deploy in Karaf

2014-10-30 Thread Willem Jiang
I’m afraid Spring-DM cannot work with Spring4.x, you need to use Karaf 2.4.x which still use spring 3.2.x to deploy the camel-spring-ws feature. -- Willem Jiang Red Hat, Inc. Web: http://www.redhat.com Blog: http://willemjiang.blogspot.com (English) http://jnn.iteye.com (Chinese) Twitter

Re: AutoMocking not working with Blueprint?

2014-10-30 Thread Willem Jiang
Can you try the latest release Camel 2.14.0 ? -- Willem Jiang Red Hat, Inc. Web: http://www.redhat.com Blog: http://willemjiang.blogspot.com (English) http://jnn.iteye.com (Chinese) Twitter: willemjiang Weibo: 姜宁willem On October 31, 2014 at 1:05:11 AM, wjmcdonald (william.mcdon

Re: CXF Inteceptor Error handling with Camel-CXF, JMS and ActiveMQ

2014-10-30 Thread Willem Jiang
I think you can try to use camel transport of CXF[1], in this way the camel error handler can be use to help you the exception handler there. [1]http://camel.apache.org/camel-transport-for-cxf.html -- Willem Jiang Red Hat, Inc. Web: http://www.redhat.com Blog: http://willemjiang.blogspot.com

Re: SMPP component and problem with valid period (relative) and data message

2014-10-30 Thread Willem Jiang
-on-exchange.html [2]http://issues.apache.org/jira/browse/CAMEL -- Willem Jiang Red Hat, Inc. Web: http://www.redhat.com Blog: http://willemjiang.blogspot.com (English) http://jnn.iteye.com (Chinese) Twitter: willemjiang Weibo: 姜宁willem On October 28, 2014 at 9:09:32 PM, hanusto (hanu...@gmail.com

Re: AutoMocking not working with Blueprint?

2014-10-29 Thread Willem Jiang
Which version of Camel are you using? I just run the test in camel master branch, all the tests passed. -- Willem Jiang Red Hat, Inc. Web: http://www.redhat.com Blog: http://willemjiang.blogspot.com (English) http://jnn.iteye.com (Chinese) Twitter: willemjiang Weibo: 姜宁willem On October

Re: HTTP Basic Authentication

2014-10-29 Thread Willem Jiang
Please setup the option of httpClient.authenticationPreemptive to be true. You can find more information here[1] by searching authenticationPreemptive. [1]https://camel.apache.org/http -- Willem Jiang Red Hat, Inc. Web: http://www.redhat.com Blog: http://willemjiang.blogspot.com (English

RE: Jsch issue with compression algorithm

2014-10-28 Thread Willem Jiang
Hi  Thanks for trying that out. I just fill a JIRA[1] for it and will submit quick patch for it. [1]https://issues.apache.org/jira/browse/CAMEL-7977 Regards, Willem -- Willem Jiang Red Hat, Inc. Web: http://www.redhat.com Blog: http://willemjiang.blogspot.com (English) http

Re: Quartz job data deletion in clustered quartz2

2014-10-28 Thread Willem Jiang
We need to do some addition work to let clustered quartz endpoint share the same camel context id. I just created a JIRA[1] for it. [1]https://issues.apache.org/jira/browse/CAMEL-7947 -- Willem Jiang Red Hat, Inc. Web: http://www.redhat.com Blog: http://willemjiang.blogspot.com (English

Re: Change property in unit test

2014-10-28 Thread Willem Jiang
-- Willem Jiang Red Hat, Inc. Web: http://www.redhat.com Blog: http://willemjiang.blogspot.com (English) http://jnn.iteye.com (Chinese) Twitter: willemjiang Weibo: 姜宁willem On October 29, 2014 at 12:24:50 AM, ychawla (premiergenerat...@gmail.com) wrote: Hi, I gave this a try but since I am

Re: [VOTE] Release Apache Camel 2.13.3

2014-10-28 Thread Willem Jiang
+1. I created a 2.13.x branch in camelinaction repo[1], I didn’t get the the test error that Christian hit. I guess it could relates to the scala version miss march.  [1]https://github.com/camelinaction/camelinaction/tree/2.13.x -- Willem Jiang Red Hat, Inc. Web: http://www.redhat.com Blog

Re: Camel Mail CC and BCC headers

2014-10-27 Thread Willem Jiang
Hi, I just create a JIRA[1] and submitted a quick fix for it. Please feel free to verify it by using latest Camel 2.15-SNAPSHOT. [1]https://issues.apache.org/jira/browse/CAMEL-7966 -- Willem Jiang Red Hat, Inc. Web: http://www.redhat.com Blog: http://willemjiang.blogspot.com (English) http

Re: Difference between bean(MyObject.class) and bean(new MyObject())

2014-10-27 Thread Willem Jiang
directly. -- Willem Jiang Red Hat, Inc. Web: http://www.redhat.com Blog: http://willemjiang.blogspot.com (English) http://jnn.iteye.com (Chinese) Twitter: willemjiang Weibo: 姜宁willem On October 28, 2014 at 1:17:24 AM, Jonathan Vila Lopez (jonathan.v...@gmail.com) wrote: Hello I have

Re: LoadBalance for pollenrich

2014-10-22 Thread Willem Jiang
How about use “direct” endpoint to connect those route? .loadBalance().failover().to(“direct:jpa”)  … from(“direct:jpa”).pollEnrich(“jpa:xxx”); -- Willem Jiang Red Hat, Inc. Web: http://www.redhat.com Blog: http://willemjiang.blogspot.com (English) http://jnn.iteye.com (Chinese) Twitter

Re: REST DSL setup - Failed because of multiple consumers

2014-10-21 Thread Willem Jiang
It’s a known issue[1]. Can you try the latest Camel 2.14.1-SNAPSHOT?  It should have the fix of this issue. [1]https://issues.apache.org/jira/browse/CAMEL-7899 -- Willem Jiang Red Hat, Inc. Web: http://www.redhat.com Blog: http://willemjiang.blogspot.com (English) http://jnn.iteye.com

Re: camel-jclouds: StackOverflowError if body is FileInputStreamCache

2014-10-21 Thread Willem Jiang
It’s a bug of Camel, I just created a JIRA[1] for it. [1]https://issues.apache.org/jira/browse/CAMEL-7935 -- Willem Jiang Red Hat, Inc. Web: http://www.redhat.com Blog: http://willemjiang.blogspot.com (English) http://jnn.iteye.com (Chinese) Twitter: willemjiang Weibo: 姜宁willem

Re: Query paramteres in the REST DSL - Camel 2.14

2014-10-21 Thread Willem Jiang
I’m afraid we don’t support that, do you mind create a JIRA for it? -- Willem Jiang Red Hat, Inc. Web: http://www.redhat.com Blog: http://willemjiang.blogspot.com (English) http://jnn.iteye.com (Chinese) Twitter: willemjiang Weibo: 姜宁willem On October 17, 2014 at 7:54:30 PM, panzerhans

RE: Jsch issue with compression algorithm

2014-10-20 Thread Willem Jiang
for the data stream   from sshd to jsch.  If zlib,none is given and the remote sshd does   not allow the packet compression, compression will not be done. Did you try to set the compression option to 0 ? BTW, you can change the code to see if it works any way :) -- Willem Jiang Red Hat, Inc. Web: http

Re: The PayLoad elements cannot fit with the message parts of the BindingOperation.

2014-10-20 Thread Willem Jiang
You need to set the “operationName” header with “unsubscribe”. CamelCxf doesn’t take the header “javax.xml.ws.wsdl.operation” into consideration. -- Willem Jiang Red Hat, Inc. Web: http://www.redhat.com Blog: http://willemjiang.blogspot.com (English) http://jnn.iteye.com (Chinese) Twitter

Re: Camel-Restlet 2.14.0 Client Address from Request

2014-10-20 Thread Willem Jiang
of useForwardedForHeader there. -- Willem Jiang Red Hat, Inc. Web: http://www.redhat.com Blog: http://willemjiang.blogspot.com (English) http://jnn.iteye.com (Chinese) Twitter: willemjiang Weibo: 姜宁willem On October 18, 2014 at 1:08:15 PM, sandp (sandeepred...@gmail.com) wrote: Hi, I'm trying to log

Re: Quartz job data deletion in clustered quartz2

2014-10-20 Thread Willem Jiang
Hi, Can you specify the camel context name in your cluster environment? -- Willem Jiang Red Hat, Inc. Web: http://www.redhat.com Blog: http://willemjiang.blogspot.com (English) http://jnn.iteye.com (Chinese) Twitter: willemjiang Weibo: 姜宁willem On October 20, 2014 at 12:01:04 PM

Re: custom converter to string (json, xml, csv)

2014-10-20 Thread Willem Jiang
Please take a look at this DataFormat page[1] you can use those marshal DSL to turn the object to the String with the formate you want. [1]http://camel.apache.org/data-format.html -- Willem Jiang Red Hat, Inc. Web: http://www.redhat.com Blog: http://willemjiang.blogspot.com (English) http

Re: Unable to send the POST parameters value for REST Service

2014-10-19 Thread Willem Jiang
You need to map the post Body into the message header, as the SimpleConsumer[1] just put the request body into the message body. [1]https://camel.apache.org/cxfrs#CXFRS-ConsumingaRESTRequest-SimpleBindingStyle -- Willem Jiang Red Hat, Inc. Web: http://www.redhat.com Blog: http

Re: Not all processors are listed in JMX, preventing detailed route statistics/profiling

2014-10-19 Thread Willem Jiang
What kind of processors are missing in the JMX? Can you give us an example (Camel route and processors) for it? -- Willem Jiang Red Hat, Inc. Web: http://www.redhat.com Blog: http://willemjiang.blogspot.com (English) http://jnn.iteye.com (Chinese) Twitter: willemjiang Weibo: 姜宁willem

Re: Camel Endpoint / Consumer startup

2014-10-17 Thread Willem Jiang
We can force camel to start the connection when the consumer is stared, it can fix the issue that you hit. BTW, the patch is on the way, please keep an eye on the JIRA comments :) -- Willem Jiang Red Hat, Inc. Web: http://www.redhat.com Blog: http://willemjiang.blogspot.com (English) http

Re: Camel Endpoint / Consumer startup

2014-10-17 Thread Willem Jiang
Yeah, I cannot agree with you more.  Please keep testing and polishing the code if you like, that is how the open source community work :) BTW, I just commit a quick patch for it, you can try it with latest 2.15-SNAPSHOT or check out the master branch code and build it yourself. -- Willem

Re: Query paramteres in the REST DSL - Camel 2.14

2014-10-17 Thread Willem Jiang
{                                 String username = exchange.getIn().getHeader(username, String.class);                                 String password = exchange.getIn().getHeader(password, String.class);                                 ...                             }                         }); -- Willem Jiang Red Hat

Re: Camel Endpoint / Consumer startup

2014-10-17 Thread Willem Jiang
In my patch MQTTEndpoint doesn’t start the connection until the first Customer or the first Producer is started. We just share the connection throw the MQTTEndpoint. -- Willem Jiang Red Hat, Inc. Web: http://www.redhat.com Blog: http://willemjiang.blogspot.com (English) http://jnn.iteye.com

Re: Question about the message group

2014-10-16 Thread Willem Jiang
If your one thread process is no-blocked, you won’t hit the performance issue. -- Willem Jiang Red Hat, Inc. Web: http://www.redhat.com Blog: http://willemjiang.blogspot.com (English) http://jnn.iteye.com (Chinese) Twitter: willemjiang Weibo: 姜宁willem On October 16, 2014 at 9:21:44 PM

Re: Twitter + Aggregation: Out of Memory errors

2014-10-14 Thread Willem Jiang
Can you show us how did you do the aggregation? Just some code snippet is OK. BTW, you can always using write the stream into to file to avoid load the whole message into memory. -- Willem Jiang Red Hat, Inc. Web: http://www.redhat.com Blog: http://willemjiang.blogspot.com (English) http

Re: SpringCamelContext suspend default behaviour

2014-10-14 Thread Willem Jiang
information. -- Willem Jiang Red Hat, Inc. Web: http://www.redhat.com Blog: http://willemjiang.blogspot.com (English) http://jnn.iteye.com (Chinese) Twitter: willemjiang Weibo: 姜宁willem On October 14, 2014 at 9:26:23 AM, rrajen2 (rrajend...@capario.com) wrote: Hi I am using

Re: Camel exec component and return codes from Windows batch files

2014-10-14 Thread Willem Jiang
If you cannot get the result form commons exec, we cannot do anything in camel :( -- Willem Jiang Red Hat, Inc. Web: http://www.redhat.com Blog: http://willemjiang.blogspot.com (English) http://jnn.iteye.com (Chinese) Twitter: willemjiang Weibo: 姜宁willem On October 13, 2014 at 6:50:33 PM

Re: Twitter + Aggregation: Out of Memory errors

2014-10-14 Thread Willem Jiang
I just found the code.   class JsonBodyAppender {     def append(existing: String, next: String) = existing + \n + next   } There are too many String there, maybe you can just append the message into a file. -- Willem Jiang Red Hat, Inc. Web: http://www.redhat.com Blog: http

Re: Twitter + Aggregation: Out of Memory errors

2014-10-14 Thread Willem Jiang
You can just store the file into the message body, just as you did with the String objects. -- Willem Jiang Red Hat, Inc. Web: http://www.redhat.com Blog: http://willemjiang.blogspot.com (English) http://jnn.iteye.com (Chinese) Twitter: willemjiang Weibo: 姜宁willem On October 14, 2014

Re: Twitter + Aggregation: Out of Memory errors

2014-10-14 Thread Willem Jiang
Hi Andreas, Don’t worry,Please fill a JIRA and submit your patch.  I will take a look at it today. -- Willem Jiang Red Hat, Inc. Web: http://www.redhat.com Blog: http://willemjiang.blogspot.com (English) http://jnn.iteye.com (Chinese) Twitter: willemjiang Weibo: 姜宁willem On October 14

Re: Set concurrentConsumers of SEDA

2014-10-13 Thread Willem Jiang
I saw the best number is about 2 * CPU cores if you don’t block the thread. If you camel route has some blocking calling, you can add more thread about it, but is not good choice to start hundred consumers for a single SEDA endpoint. -- Willem Jiang Red Hat, Inc. Web: http://www.redhat.com

Re: XSLT Thread Safety Issue

2014-10-13 Thread Willem Jiang
Can I have a look at you XSLT endpoint uri? Did you use the options of transformerCacheSize or contentCache? -- Willem Jiang Red Hat, Inc. Web: http://www.redhat.com Blog: http://willemjiang.blogspot.com (English) http://jnn.iteye.com (Chinese) Twitter: willemjiang Weibo: 姜宁willem

Re: Default values for property placeholders

2014-10-11 Thread Willem Jiang
I’m afraid we don’t provide that kind of feature when using {{}}. -- Willem Jiang Red Hat, Inc. Web: http://www.redhat.com Blog: http://willemjiang.blogspot.com (English) http://jnn.iteye.com (Chinese) Twitter: willemjiang Weibo: 姜宁willem On October 8, 2014 at 5:29:14 PM, Knut-Håvard

Re: Set concurrentConsumers of SEDA

2014-10-11 Thread Willem Jiang
No, the big number of concurrentConsumers can spend lot of CPU time when switching the thread context.   -- Willem Jiang Red Hat, Inc. Web: http://www.redhat.com Blog: http://willemjiang.blogspot.com (English) http://jnn.iteye.com (Chinese) Twitter: willemjiang Weibo: 姜宁willem On October

Re: Camel exec component and return codes from Windows batch files

2014-10-10 Thread Willem Jiang
camel exec is based on common-exec.  Can you just try the your script just as the tutorial does? [1]http://commons.apache.org/proper/commons-exec/tutorial.html -- Willem Jiang Red Hat, Inc. Web: http://www.redhat.com Blog: http://willemjiang.blogspot.com (English) http://jnn.iteye.com (Chinese

Re: Netty blueprint example

2014-10-10 Thread Willem Jiang
/ca_blueprint_object.html   -- Willem Jiang Red Hat, Inc. Web: http://www.redhat.com Blog: http://willemjiang.blogspot.com (English) http://jnn.iteye.com (Chinese) Twitter: willemjiang Weibo: 姜宁willem On October 10, 2014 at 9:56:10 PM, Mark Webb (elihusma...@gmail.com) wrote: I am working

Re: File operation failed: Broken pipe. Code: 215

2014-10-10 Thread Willem Jiang
Can you check the firewall setting of the box which cannot start the ftp connection? -- Willem Jiang Red Hat, Inc. Web: http://www.redhat.com Blog: http://willemjiang.blogspot.com (English) http://jnn.iteye.com (Chinese) Twitter: willemjiang Weibo: 姜宁willem On October 10, 2014 at 1:59

Re: Camel-Spring, JavaConfig and Constructor-Based Injection

2014-10-10 Thread Willem Jiang
You just leverage the feature which is provided by spring. I think it’s OK to do it that way. -- Willem Jiang Red Hat, Inc. Web: http://www.redhat.com Blog: http://willemjiang.blogspot.com (English) http://jnn.iteye.com (Chinese) Twitter: willemjiang Weibo: 姜宁willem On October 10, 2014

Re: Rest DSL with Jetty

2014-10-10 Thread Willem Jiang
FYI I already committed a patch into master and camel-2.14.x branch. Please feel free to try the last version of 2.14.1-SNAPSHOT. -- Willem Jiang Red Hat, Inc. Web: http://www.redhat.com Blog: http://willemjiang.blogspot.com (English) http://jnn.iteye.com (Chinese) Twitter: willemjiang Weibo

Re: restlet config doesnt work

2014-10-10 Thread Willem Jiang
Hi, If your route cannot hold the request for enough time, your last request may not be blocked. Please take a look at this question[1] in stack overflow.  [1]http://stackoverflow.com/questions/20632706/apache-restlet-connector-overload -- Willem Jiang Red Hat, Inc. Web: http

Re: Camel - 2.14 - Junit test cases failed - Could not create object of extension class org.apache.cxf.transport.jms.JMSTransportFactory

2014-10-09 Thread Willem Jiang
You are using different version version CXF in you class path. Please update the cxf-bundle and dxf-bundle-jaxrs version to 3.0.1 when you use camel 2.14.0. -- Willem Jiang Red Hat, Inc. Web: http://www.redhat.com Blog: http://willemjiang.blogspot.com (English) http://jnn.iteye.com (Chinese

Re: Apache Mina getting response from remote tcp server

2014-10-09 Thread Willem Jiang
Can you using ProducerTemplate to send the message instead of using Producer directly? BTW, you need start the camel context before staring the Producer. -- Willem Jiang Red Hat, Inc. Web: http://www.redhat.com Blog: http://willemjiang.blogspot.com (English) http://jnn.iteye.com (Chinese

Re: decoder problem in netty4

2014-10-08 Thread Willem Jiang
It’s a bug of netty4-http, I just assigned the JIRA[1] you created to me. [1] https://issues.apache.org/jira/browse/CAMEL-7894  -- Willem Jiang Red Hat, Inc. Web: http://www.redhat.com Blog: http://willemjiang.blogspot.com (English) http://jnn.iteye.com (Chinese) Twitter: willemjiang Weibo

Re: Camel Spring HTTP Consumer using remote Rest web service

2014-10-08 Thread Willem Jiang
Hi, I think Charles already show you how to do it by using setBody DSL. BTW, if you using direct:start, you need to use producer template to send the message to the direct:start endpoint to kick the route. -- Willem Jiang Red Hat, Inc. Web: http://www.redhat.com Blog: http

Re: Rest DSL with Jetty

2014-10-08 Thread Willem Jiang
It’s bug of camel-jetty, I just created a JIRA[1] for it. The hot fix is on the way. [1]https://issues.apache.org/jira/browse/CAMEL-7899 -- Willem Jiang Red Hat, Inc. Web: http://www.redhat.com Blog: http://willemjiang.blogspot.com (English) http://jnn.iteye.com (Chinese) Twitter: willemjiang

Re: Can't find the BindingOperationInfo with operation name

2014-10-08 Thread Willem Jiang
  -- Willem Jiang Red Hat, Inc. Web: http://www.redhat.com Blog: http://willemjiang.blogspot.com (English) http://jnn.iteye.com (Chinese) Twitter: willemjiang Weibo: 姜宁willem On October 9, 2014 at 9:57:10 AM, vs_mahesh (vsmahesh...@yahoo.co.in) wrote: Hi , I am getting *Can't find

Re: Camel 2.14.0 XSD

2014-09-29 Thread Willem Jiang
Hi, You can find the camel-2.14.0 xsd here[1], there some new added REST DSL definitions. [1]http://camel.apache.org/schema/spring/camel-spring-2.14.0.xsd -- Willem Jiang Red Hat, Inc. Web: http://www.redhat.com Blog: http://willemjiang.blogspot.com (English) http://jnn.iteye.com (Chinese

Re: Confusing cxf log messages after upgrading to 2.14.0

2014-09-25 Thread Willem Jiang
The info log is try to tell the user that the CxfProducer is looking up the operation name. I’m OK to change the log level to DEBUG, I will update the Java doc and Wiki page for operation name look up processing. -- Willem Jiang Red Hat, Inc. Web: http://www.redhat.com Blog: http

Re: Programmatic CXF Endpoint

2014-09-24 Thread Willem Jiang
://github.com/apache/camel/blob/master/components/camel-cxf/src/test/resources/org/apache/camel/component/cxf/cxfConduitTimeOutContext.xml [3]https://issues.apache.org/jira/browse/CAMEL-7845 -- Willem Jiang Red Hat, Inc. Web: http://www.redhat.com Blog: http://willemjiang.blogspot.com (English) http

Re: 2.14.0 build fails on camel-web (javadocs)

2014-09-24 Thread Willem Jiang
You can fix it by changing the line 372 of the pom.xml in camel-web -                      ${project.build.outputDirectory}/resourcedoc.xml +                       ${project.build.outputDirectory}${file.separator}resourcedoc.xml -- Willem Jiang Red Hat, Inc. Web: http://www.redhat.com Blog

Re: 2.14.0 build fails on camel-web (javadocs)

2014-09-23 Thread Willem Jiang
Hi The error has nothing to do with Spring4. Can you try to use jdk1.8.0_20 to build the kit? -- Willem Jiang Red Hat, Inc. Web: http://www.redhat.com Blog: http://willemjiang.blogspot.com (English) http://jnn.iteye.com (Chinese) Twitter: willemjiang Weibo: 姜宁willem On September 23

Re: Overrule default http4 component

2014-09-23 Thread Willem Jiang
It should be OK to share the components across the camel contexts which is inside of the same spring application context. As camel context look up the component from the registry which delegates to the spring application to look up the beans by using name. -- Willem Jiang Red Hat, Inc. Web

Re: Corrupt pdf from classpath

2014-09-23 Thread Willem Jiang
Can you post the whole camel route? Maybe you need to setup the content-type header to avoid camel do the encoding work for you. -- Willem Jiang Red Hat, Inc. Web: http://www.redhat.com Blog: http://willemjiang.blogspot.com (English) http://jnn.iteye.com (Chinese) Twitter: willemjiang

Re: Camel 2.14.0 Restlet: NoClassDefFoundError

2014-09-20 Thread Willem Jiang
Hi, Can you check if you camel-core jar is the latest one. -- Willem Jiang Red Hat, Inc. Web: http://www.redhat.com Blog: http://willemjiang.blogspot.com (English) http://jnn.iteye.com (Chinese) Twitter: willemjiang Weibo: 姜宁willem On September 20, 2014 at 2:08:34 PM, Camel Guy (ca

Re: Camel 2.14.0 Restlet: NoClassDefFoundError

2014-09-20 Thread Willem Jiang
Hi, I just checked the camel-core.jar of Apache Camel 2.14.0, there is a class of  RestConsumerFactory. -- Willem Jiang Red Hat, Inc. Web: http://www.redhat.com Blog: http://willemjiang.blogspot.com (English) http://jnn.iteye.com (Chinese) Twitter: willemjiang Weibo: 姜宁willem

Re: please help with transformation of a response by xslt

2014-09-20 Thread Willem Jiang
If you invoke the backend service with PAYLOAD data formate message you need to setup the BindingOperation for it. My suggestion if you want to use xslt to the transformation, you can just use MESSAGE data formate  to invoke the back end service.  -- Willem Jiang Red Hat, Inc. Web: http

Apache Camel 2.14.0 released

2014-09-18 Thread Willem Jiang
://issues.apache.org/jira/secure/ReleaseNote.jspa?version=12326054styleName=projectId=12311211 On behalf of the Camel PMC,  Willem Jiang  Red Hat, Inc.  Web: http://www.redhat.com  Blog: http://willemjiang.blogspot.com (English)  http://jnn.iteye.com (Chinese)  Twitter: willemjiang  Weibo: 姜宁willem 

Re: [CXF RS] CXF producers using HttpApi and URI substitutions

2014-09-18 Thread Willem Jiang
Sure, I will do it once I finished the release work of Camel 2.14.0. -- Willem Jiang Red Hat, Inc. Web: http://www.redhat.com Blog: http://willemjiang.blogspot.com (English) http://jnn.iteye.com (Chinese) Twitter: willemjiang Weibo: 姜宁willem On September 18, 2014 at 7:05:14 PM, Sergey

Re: @Consumed

2014-09-18 Thread Willem Jiang
FYI, I commit a quick fix for it. Now the @Consumed annotated method can add a parameter of exchange. You can verify the patch by using latest Camel 2.15-SNAPSHOT. -- Willem Jiang Red Hat, Inc. Web: http://www.redhat.com Blog: http://willemjiang.blogspot.com (English) http://jnn.iteye.com

RE: Issue with camel restlet route: response from solr URI isn't passed back to route

2014-09-17 Thread Willem Jiang
Yeah, the JIRA is to help us to drop the line of removing header. -- Willem Jiang Red Hat, Inc. Web: http://www.redhat.com Blog: http://willemjiang.blogspot.com (English) http://jnn.iteye.com (Chinese) Twitter: willemjiang Weibo: 姜宁willem On September 17, 2014 at 4:43:13 PM, BURN, James

Re: Camel router stops reading messages from rabbitMQ

2014-09-17 Thread Willem Jiang
Did your RabbitMQ server reboot? Which version of Camel are you using? We did some enhancement on the lasted version of Camel(2.13.2) to reconnect the rabbitMQ server if the connection is broken. -- Willem Jiang Red Hat, Inc. Web: http://www.redhat.com Blog: http://willemjiang.blogspot.com

Re: Preferring bean or processor invocations on a route

2014-09-17 Thread Willem Jiang
. The only short coming is you bean method cannot change the exchange directly.   [1]http://camel.apache.org/bean-binding.html -- Willem Jiang Red Hat, Inc. Web: http://www.redhat.com Blog: http://willemjiang.blogspot.com (English) http://jnn.iteye.com (Chinese) Twitter: willemjiang Weibo: 姜

Re: [CXF RS] CXF producers using HttpApi and URI substitutions

2014-09-16 Thread Willem Jiang
You can fill a JIRA[1] and add the JIRA number into PR comments. In this way, Apache JIRA can link the PR recode from github automatically. [1]https://issues.apache.org/jira/browse/CAMEL -- Willem Jiang Red Hat, Inc. Web: http://www.redhat.com Blog: http://willemjiang.blogspot.com (English

Re: @Consumed

2014-09-16 Thread Willem Jiang
Hi,   I checked the code of JpaConsumer, it doesn’t support access the exchange from @consumed method. So I created JIRA[1] for it. [1]https://issues.apache.org/jira/browse/CAMEL-7828 -- Willem Jiang Red Hat, Inc. Web: http://www.redhat.com Blog: http://willemjiang.blogspot.com (English

Re: continuationTimeout doesn't work with jetty and ssl

2014-09-16 Thread Willem Jiang
Hi,  I just check the code of camel-jetty, the continuationTimeout setting has nothing to do with SSL configuration setting.  Can you show us more detail about your camel route and the SSL configuration? BTW, it is import for us to know which version of Camel that you are using. -- Willem

Re: Issue with camel restlet route: response from solr URI isn't passed back to route

2014-09-16 Thread Willem Jiang
]https://issues.apache.org/jira/browse/CAMEL-7830 -- Willem Jiang Red Hat, Inc. Web: http://www.redhat.com Blog: http://willemjiang.blogspot.com (English) http://jnn.iteye.com (Chinese) Twitter: willemjiang Weibo: 姜宁willem On September 16, 2014 at 9:58:34 PM, BURN, James (james.b...@oup.com

Re: Programmatic CXF Endpoint

2014-09-16 Thread Willem Jiang
can extends the CXFEndpoint to override the createClient() method and setup the conduit there. -- Willem Jiang Red Hat, Inc. Web: http://www.redhat.com Blog: http://willemjiang.blogspot.com (English) http://jnn.iteye.com (Chinese) Twitter: willemjiang Weibo: 姜宁willem On September 12, 2014

Re: HTTP Basic Authentication

2014-09-12 Thread Willem Jiang
Which version of Camel are you using? Can you try the latest release Camel 2.13.2?  If I remember right, there is an issue of setting up the camel-cxfrs endpoint interceptors which was fixed recently. -- Willem Jiang Red Hat, Inc. Web: http://www.redhat.com Blog: http

Re: Camel VM Component

2014-09-12 Thread Willem Jiang
What’s the error did you get? When you put the camel-core into the container lib, you don’t suppose to include the camel-core into your war lib. -- Willem Jiang Red Hat, Inc. Web: http://www.redhat.com Blog: http://willemjiang.blogspot.com (English) http://jnn.iteye.com (Chinese) Twitter

Re: How to access SAN or NAS using camel

2014-09-11 Thread Willem Jiang
I don’t think you need to any camel code except the file location, as OS already take care of it. -- Willem Jiang Red Hat, Inc. Web: http://www.redhat.com Blog: http://willemjiang.blogspot.com (English) http://jnn.iteye.com (Chinese) Twitter: willemjiang Weibo: 姜宁willem On September 11

Re: Apache Camel requestTimeout

2014-09-11 Thread Willem Jiang
requestTimeout means the timeout for waiting for a reply when using the InOut Exchange Pattern (in milliseconds). You can find more information about the requestTimeout option by looking it up in the camel-jms[1] wiki page. [1]https://camel.apache.org/jms -- Willem Jiang Red Hat, Inc. Web

Re: Camel CXF Jaxrs service implementation class's methods are not executing

2014-09-09 Thread Willem Jiang
camel-cxfrs consumer just need to route the message into camel route, if the implementation method is called, the camel route cannot process the request message any more. If you just want to call the implementation class’s method, you can use cxf-rs directly. -- Willem Jiang Red Hat, Inc

Re: HTTP Basic Authentication

2014-09-08 Thread Willem Jiang
The configuration only work for the client side, if you want to enable the HTTP Basic Authentication on the server side, you need to setup the Jetty  ServletContextHandler for it. -- Willem Jiang Red Hat, Inc. Web: http://www.redhat.com Blog: http://willemjiang.blogspot.com (English) http

Re: Apache camel and kafka integration

2014-09-03 Thread Willem Jiang
Hi, You may need to check out the code iployzos and build it yourself, as the patch[1] is not in the current Apache Camel trunk now. [1]https://issues.apache.org/jira/browse/CAMEL-7339 -- Willem Jiang Red Hat, Inc. Web: http://www.redhat.com Blog: http://willemjiang.blogspot.com (English

Re: CamelSpringJUnit4ClassRunner with Spring Boot

2014-08-30 Thread Willem Jiang
Can you create a JIRA with a simple test case attached? It is helpful for us to dig the issue. -- Willem Jiang Red Hat, Inc. Web: http://www.redhat.com Blog: http://willemjiang.blogspot.com (English) http://jnn.iteye.com (Chinese) Twitter: willemjiang Weibo: 姜宁willem On August 31, 2014

Re: Camel Netty component bind failure

2014-08-27 Thread Willem Jiang
You used different direct endpoint name. The first one is “direct:testEndpoint” and the second one is “direct:testEndPoint”. You should use the same direct endpoint name here.  -- Willem Jiang Red Hat, Inc. Web: http://www.redhat.com Blog: http://willemjiang.blogspot.com (English) http

Re: Camel Netty component bind failure

2014-08-27 Thread Willem Jiang
It’s not make sense to start a TCP connection and send to web server without a validate HTTP request. You may consider to use netty-http[1] component to send that kind of request.  [1]http://camel.apache.org/netty-http -- Willem Jiang Red Hat, Inc. Web: http://www.redhat.com Blog: http

Re: No web.xml CamelHttpTransportServlet configuration with Spring Java Config

2014-08-27 Thread Willem Jiang
Hi, I don’t think you need to call the camelHttpTransportServlet.init(new ServletConfig() {…} there. The init method can be called by the spring framework finally. -- Willem Jiang Red Hat, Inc. Web: http://www.redhat.com Blog: http://willemjiang.blogspot.com (English) http://jnn.iteye.com

Re: Camel Netty component bind failure

2014-08-26 Thread Willem Jiang
No, you cannot specify the local port when sending the request to server. -- Willem Jiang Red Hat, Inc. Web: http://www.redhat.com Blog: http://willemjiang.blogspot.com (English) http://jnn.iteye.com (Chinese) Twitter: willemjiang Weibo: 姜宁willem On August 26, 2014 at 6:25:38 PM

Re: Camel Netty component bind failure

2014-08-26 Thread Willem Jiang
It looks like you send the message to the “direct:testEndpoint” before route builder is loaded. Did your test class extends the CamelTestSupport? -- Willem Jiang Red Hat, Inc. Web: http://www.redhat.com Blog: http://willemjiang.blogspot.com (English) http://jnn.iteye.com (Chinese) Twitter

Re: Retrieving EXEC_EXIT_VALUE from exec endpoint

2014-08-14 Thread Willem Jiang
OH, you should use ${in.header.CamelExecExitValue} to look up the exit value. The simple expression doesn’t support to look up the Java constant string value as you thought :) -- Willem Jiang Red Hat, Inc. Web: http://www.redhat.com Blog: http://willemjiang.blogspot.com (English) http

Re: Retrieving EXEC_EXIT_VALUE from exec endpoint

2014-08-13 Thread Willem Jiang
Hi, Did you try to check the EXEC_EXIT_VALUE from in message?  camel:log message=Exit code: ${in.header.ExecBinding.EXEC_EXIT_VALUE} /  You can find more information about in and out message here[1]. [1]http://camel.apache.org/using-getin-or-getout-methods-on-exchange.html -- Willem Jiang

<    1   2   3   4   5   6   7   8   9   10   >